-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
<window title="win" border="normal" width="200px" height="200px" closable="true">
<attribute name="onClose"><![CDATA[
if(Messagebox.show("Are you sure to close the window?", "Question",
Messagebox.OK | Messagebox.CANCEL, Messagebox.QUESTION) != Messagebox.OK){
event.stopPropagation();
System.out.println("YES");
}else
System.out.println("NO");
]]></attribute>
</window>
if click cancel button , how to back window ? mean dont wanna close window.
Thanx.
Asked: 2014-10-13 04:20:14 +0800
Seen: 25 times
Last updated: Oct 17 '14
wrong valueException come in front of modal popup [closed]
Use parameters in a conditional @command
Problems with multiple press and onCtrlKey
MVVM @save on the fly [closed]
Unable to activate destroyed desktop
org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException
How to put a image or Letter over image on a specific XY Coordinate
Whats your exact requirement?
sjoshi ( 2014-10-13 06:51:41 +0800 )editif click cancel button , how to back window ? mean dont wanna quit window.
unitcell ( 2014-10-13 23:47:10 +0800 )editlet user make sure quit window, if 'yes' close window, if not , do not anything
unitcell ( 2014-10-14 09:46:16 +0800 )edit