-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hi!
I needed to implement a mechanism to put defaults in dependent fields.
Based on observers we created the following ZKFiddle example:
zkfiddle.org/sample/3el48on/12-Observable-Form
The mechanism described in the example works but did not expect to be required to notify the changes made to the form since the objects are bound in zul.
Why the next code it's necessary?
@Command public void notifyChanges(){ BindUtils.postNotifyChange(null,null,this.observableForm,"value"); }
Thank you all :)
2 | No.2 Revision |
Hi!
I needed to implement a mechanism to put defaults in dependent fields.
Based on observers we created the following ZKFiddle example:
zkfiddle.org/sample/3el48on/12-Observable-Form
The mechanism described in the example works but did not expect to be required to notify the changes made to the form since the objects are bound in zul.
Why the next code it's necessary?
@Command public void notifyChanges(){ BindUtils.postNotifyChange(null,null,this.observableForm,"value"); }
Thank you all :)