ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Composite component and bind in ZK 6

jaan
28 Dec 2011 08:41:09 GMT
28 Dec 2011 08:41:09 GMT

Hi,

I get a composite component working like in this smalltalk: Define Composite Component using Java Annotation in ZK6.
My component has tree comboboxes (country, province and city).
The tree comboboxes works perfectly as expected. But now I want to use them in a master/detail scenario.
When a user selects a record in a list, a default city must be bind to the component

<geocombobox id="gc" defaultCity="@bind(school.city)" />

The binding does not work. It never updates the defaultCity after selecting a record. All other properties work as expected.

Do composite component not allow binding yet?
How can I solve this in a MVVM way?

Thanks,
jaan