Revision history [back]

click to hide/show revision 1
initial version

asked 2011-12-28 08:41:09 +0800

jaan gravatar image jaan

Composite component and bind in ZK 6

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

Composite component and bind in ZK 6

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

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More