b30-1510218.zul

来自「ZK是一个Ajax Java Web框架」· ZUL 代码 · 共 32 行

ZUL
32
字号
<zk>
1. if the popup window is overlapped, then it could be
click ok button of the Messagebox.
<separator/>
2. if the popup window is popup, then clicking anywhere
within the Messagebox should not make the Messagebox and the
popup window disappear.(unmark code "w.doPopup()" to test)
<separator/>
<zscript>

void popup(){
Window w=new Window();
w.setTitle("popup");
w.setSizable(true);
w.setStyle("overflow:visible;");
Include inc=new Include();
inc.setSrc("B30-1510218-2.zul");
w.appendChild(inc);
w.setPage(page);
w.doOverlapped();
//w.doPopup();
}
</zscript>

<window title="root" border="normal">

<button label="popup" onClick="popup()"/>


</window>
</zk>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?