📄 macro.zul
字号:
<?xml version="1.0" encoding="UTF-8"?><!--macro.zul{{IS_NOTE Purpose: Description: History: Mon Apr 17 14:45:26 2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><window id="demo"> <vbox width="100%"> <html> <attribute name="content"><![CDATA[ <h4>Macro components</h4> <p>Macros component is a way to develop new components withoutprogramming.First, use <?component?> to define a component by use of another ZUML page.Then, you could use this component anywhere as if it is a regular component.</p> ]]></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[<?component name="hello" macro-uri="/userguide/misc/includedHello.zul"?><window title="Macro Demo" border="normal" width="300px"> <hello/> <hello message="Hi there!"/></window> ]]></attribute> </textbox> </groupbox> </vbox></window>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -