I have been struggling with the following the whole morning. I seem te be stuck.
I have to JComboBox beans places on my form. The first combobox is filled with groupnames of clients. When I select one group, I want the other combobox to be filled with the names of the clients within that particular group.
I have found some information about handling events in the bean Jcombobox but have no idea where to put it in the editor. I can put some script in a method but methods cannot be called from a bean.
I have seen two properties called action and actioncommand. I have no idea if I should use them or how I can use them.
That is certainly not true, otherwise my beans would be useless But you can not use js methods and events ‘out of the box’ with a standard bean. You need to make them aware of Servoy. Let the bean know about the method and listen to the event for the method to fire.
So basically you have to create a wrapper for the JComboBox.