-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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)" />
Do composite component not allow binding yet?
How can I solve this in a MVVM way?
Thanks,
jaan
hi, your composite have setDefaultCity and getDefaultCity methods?
did you try with: <textbox id="tx" value="@bind(school.city.name)"/> or something similar? (this is only for know that binding is working)
hi ; you should define binding property in lang-addon.xml for defaultCity check with this example. link text in this example check lovID bindingg property in lang-addon.xml file .
Asked: 2011-12-28 08:41:09 +0800
Seen: 503 times
Last updated: Apr 12 '13
Databinding and auto-complete on combobox
How to detach / reattach MVVM windows?
Is there a way to resolve view model properties as input to client side javascripts?
How can I synchronize data in a ListBox in MVVM ? [closed]
MVVM Validator: class not found ? [closed]
How to Call Child ViewModel Method from Parent Window? [closed]
[Solved]Aplikasi Hibernate Spring [closed]
zk mvvm > what's the best component to make LOV (list of value) of a master data [closed]