📄 b30-1888911.zul
字号:
<?xml version="1.0" encoding="UTF-8"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?>
<window id="mainwin">
<html><![CDATA[
<p>You should see three rows with top auxheader "person1", "person2", and "person3".
And then the column headers of "BBB" and contents "test". If you did not
see them, it is a bug!</p>
]]></html>
<zscript><![CDATA[
public class Person {
private String _name;
public Person(String name) {
super();
_name = name;
}
public String getName() {
return _name;
}
public void setName(String name) {
_name = name;
}
}
List persons = new ArrayList();
persons.add(new Person("person 1"));
persons.add(new Person("person 2"));
persons.add(new Person("person 3"));
]]>
</zscript>
<grid model="@{persons}">
<columns>
<column label="Name"/>
</columns>
<rows>
<row self="@{each=q}">
<groupbox>
<grid>
<auxhead>
<auxheader label="@{q.name}"/>
</auxhead>
<columns>
<column label="BBB"/>
</columns>
<rows>
<row><label value="test"/></row>
</rows>
</grid>
</groupbox>
</row>
</rows>
</grid>
</window>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -