Hi,
I’m trying to use the callFunction method of a custom javascript component.
In the AbstractJavaScriptComponent javadoc it’s written that we can pass JavaBeans as parameters however this does not work for me, the function is properly called on the client’s JavaScript however the object received on the client side does not have the properties of the object provided as a parameter (it’s shown as an empty {proto: Object}).
When I provide primitive values it works properly it’s only for JavaBeans that it does not work, am I missing something here?
My JavaBean has a no args constructor as well as all the getters/setters finally it implements the Serializable interface.
I’m using the latest vaadin version 7.4.4
Thanks