-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello.
I'm using ZK5. I have searched forum for this problem's solution and haven't found nothing similar.
<MyListBoxImplementation id="types" labelCode="client.type" model="@{editWindowCtrl.typesValues, converter='my.converters.MyListModelConverter'}" selectedItem="@{editWindowCtrl.editBean.type, converter='my.converters.SelectedItemConverterExt', save-when='types.onSelect', access='both'}"> <listitem self="@{each='type'}" label="@{type.name}" /> </MyListBoxImplementation>
The problem is that model converter is always called after selectedItem converter. Because of this ListBox element does never selects proper ListItem (when selectedItem converter is called ListBox item list is still empty - no call for model converter yet).
Any ideas?
Any help will be much appreciated.
Regards.
Asked: 2012-08-20 12:55:39 +0800
Seen: 108 times
Last updated: Aug 21 '12