-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi ZK team,
I have a problem:
I have a grid with combobox in each row. Some of them share comboitems. I have cases, when certain comboitem cant be selected in two comboboxes at the same time.
Thats why I need to make a validation after combobox selectedItem being changed. But when I trying to use something like that <combobox readonly="true" model="@load(each.suitableItemsList)" selecteditem="@bind(each.selectedDart)@validator('foo.bar.Validator')> and validation doesnt pass, binded item stays unchanged(thats correct) BUT selectedItem being changed on view(thats wrong). </p> <p>Is it conceived behaviour? Could you please give me any suggestions on how can I avoid this? Or how can I rollback item selection on my view?</p> <p>Thanks. </p> ">
Asked: 2014-05-29 22:31:31 +0800
Seen: 11 times
Last updated: May 29 '14
ZK + Hibernate validation using JSR
howto change Datebox format error message
Session Timeout on Upload Button [closed]
ZK MVVM Validation Focus on First Error
how to clear validation messages
Create Crud of a User that has a collection of books
could binder.sendCommand return a result of Validation?
textbox constraint emailadress upgrade to disallow mycomp.com [closed]
duplicate post : http://forum.zkoss.org/question/92898/validator-on-combobox-how-can-i-rollback-selected-item-on-a-view/
chillworld ( 2014-05-29 22:44:15 +0800 )edit