⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modaldialog.zul

📁 非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应用程序更漂亮更易操作。 官网:www.zkoss.org
💻 ZUL
字号:
<?xml version="1.0" encoding="UTF-8"?><!--modalDialog.zul{{IS_NOTE	Purpose:			Description:			History:		Tue Oct  4 11:31:13     2005, Created by henrichen}}IS_NOTECopyright (C) 2005 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><window id="demo">	<vbox width="100%">		<html>			<attribute name="content"><![CDATA[				<h4>Modal dialog</h4>				<p>Creating a modal dialog from a zul template file is easy.</p>				<p>Push the "Hello.doModal" button to allow system creating a modal dialog from a template file with following contents.</p>				<pre><code>&lt;window id=&quot;win&quot; title=&quot;1st window&quot; border=&quot;normal&quot; width=&quot;200px&quot;&gt;	Hello, World!	&lt;button label=&quot;OK&quot; onClick=&quot;win.detach()&quot;/&gt;&lt;/window&gt;				</code></pre>			]]></attribute>		</html>		<groupbox mold="3d" width="100%">			<caption label="View"><button label="Reload" height="18px" use="org.zkoss.zkdemo.userguide.ReloadButton"/></caption>			<window id="view">			</window>		</groupbox>		<groupbox id="tryView" mold="3d" open="false" width="100%">			<caption label="Source"><button label="Try me!" use="org.zkoss.zkdemo.userguide.TryMeButton"/></caption>			<textbox id="codeView" use="org.zkoss.zkdemo.userguide.CodeView" class="code" rows="15" width="100%">				<attribute name="value"><![CDATA[<window title="Modal Dialog demo" border="normal" closable="true">	<button label="Hello.doModal">		<attribute name="onClick">{			final Window win = (Window) Executions.createComponents(					"/userguide/modal/hello-template.zul", null, null);			win.doModal();		}</attribute>	</button></window>				]]></attribute>			</textbox>		</groupbox>	</vbox></window>

⌨️ 快捷键说明

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