Attaching Event to components dynamically
17 Dec 2010 03:58:24 GMT
31 Dec 2010 00:57:53 GMT
31 Dec 2010 00:57:53 GMT
for every ZK Component, there is a method named "addEventListener(EventListener listener)", please use it to dynamically add your event listener.
ZK - Open Source Ajax Java Framework
Hi all,
I want to attach event to a Listbox which is being generated dynamically - on my button click.
Event is to call a function of the action page (In action class I have extended "Window" class)
commonList is my list box..
and I want to attach function "act.action(param1)" to that where "act" is the instance of action class defined with window attribute..
<z:window id="act" use="ActionPage" title="Register Physician" width="50%" >
Please help me to with the issue.
Thanks in advance