You're trying to install a Function bean into a property of an object that requires a string, there's nothing that's going to make that work. Something that allows for a function will be typed that way and expect one. -- Scott