b30-1879389.zul
来自「ZK是一个Ajax Java Web框架」· ZUL 代码 · 共 46 行
ZUL
46 行
<?xml version="1.0" encoding="UTF-8"?><!--B30-1879389.zul{{IS_NOTE Purpose: Description: History: Fri Jan 25 15:01:50 2008, Created by tomyeh}}IS_NOTECopyright (C) 2008 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><zk> <zscript> public class Test { private Integer foo; public Test(){ foo = new Integer(123); } public Integer getFoo() { return foo; } } public class WinTest extends Window { public void onCreate() throws Exception{ AnnotateDataBinder windowBind = new AnnotateDataBinder(this); windowBind.bindBean("testBean", new Test()); windowBind.loadAll(); } } </zscript> <window use="WinTest"> You shall see the textbox containing 123 <textbox value="@{testBean.foo}"/> </window></zk>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?