-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi I opened window using <window> tag in zul file, then when I click close button I want to close this window either by using zscript or java file
Please help me to solve this issue
Just create a Close button on the your modal Window and fire a action in your Java code something like this ZUL file code:-
<button action="@('myAction')" label="Close" />
In Your ViewModel or Java call you can capture it like this
@Command
public void myAction(@ContextParam(ContextType.VIEW) Component comp){
comp.detach();
}
Another way you can check here Zk Modal Window close
Another link for same zk-detach-modalwindow-without-wiring
Asked: 2013-06-06 14:45:15 +0800
Seen: 43 times
Last updated: Jun 06 '13