-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I need a event from zk component when the value of component is changed. i binded component value with a variable in ViewModel.
<z:textbox rows="10" id="z-RouteTextArea" class="z-RouteTextArea" width="100%" value="@bind(fx.routeDefinition)" />
I am trying to listen change event on textbox, but it's not firing.
can any one please let me know which event will fire on binding.
First of all. Does
onChange="@command('myMethod')"
not work?
Other idea: I guess "fx" means that you use form binding. You can use a subclass of the ZK form class and listen to form changes like the following:
public class MyForm extends SimpleForm {
...
@Override
public void setField(String field, Object value) {
super.setField(field, value);
// your code to handle changes to form
}
...
}
Asked: 2013-02-20 19:29:57 +0800
Seen: 36 times
Last updated: Feb 21 '13
Problem binding values to a composite component
How to access static member field of a class in zul without zscript
How can i load a constant in .zul
MVVM Validator: class not found ? [closed]
MVVM tab box - delay @load until tab pane displayed?
mvvm, load or save with after or before for seach command
how to fire an event when a variable value loaded through VM
ZK team plans to dispose of Composer EventQueues no longer in scope? [closed]
[Ugent please] connect Web service .net view in grid group ZK
what do you want to do when the value was changed?
dennis ( 2013-02-21 10:37:22 +0800 )edit