First time here? Check out the FAQ!
The radiogroup does not support the onChange event.
I thought so to trigger the event using the field (hidden) reference .... and I thought wrong ...
Any ideas?
Thanks
Tipo <hbox> <radiogroup id="chkTipoUtente" selectedItem="@{win.current.Tipo}" > <radio value = "A" label="Amministratore " /> <radio value = "U" label="Utente " /> </radiogroup> <textbox value="@{win.current.Tipo}" onChange="onChange()" visible="false"/> </hbox>
Hi Caclark, the value in the screen changes when I choose one of two radio buttons but the event are not fired.
In my program. java I do not have any control on the exchange of value. I was hoping to resolve on .zul ....
Luca
n.b. I'm new on zk
selectedItem is the way to handle it...did you see if the Tipo(...) method is fired in the win.current object? What are you really trying to accomplish when the value changes? Because the Tipo method will have the new value as its String parameter (by default).
Asked: 2010-12-12 12:10:15 +0800
Seen: 611 times
Last updated: Dec 13 '10