usemacro.zul
来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· ZUL 代码 · 共 43 行
ZUL
43 行
<?xml version="1.0" encoding="UTF-8"?><?init zscript="macro.zs"?><?component name="username" macro-uri="macro.zul" class="Username"?><!--usemacro.zul{{IS_NOTE Purpose: Description: History: Mon May 22 18:02:40 2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><window id="wnd"> <username id="ua"/> <username label="Account"/> <button label="Add Row" onClick="ua.addRow("ID")"/> <button label="Create Manullay"> <attribute name="onClick">{ Username ua = new Username(); ua.setParent(wnd); ua.afterCompose(); }</attribute> </button> <button label="Create Manullay by Definition"> <attribute name="onClick">{ Component ua = page.getComponentDefinition("username", false).newInstance(page); ua.setParent(wnd); ua.applyProperties(); ua.afterCompose(); }</attribute> </button> </window>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?