paging.zul

来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· ZUL 代码 · 共 56 行

ZUL
56
字号
<?xml version="1.0" encoding="UTF-8"?><!--paging.zul{{IS_NOTE	Purpose:			Description:			History:		Mon Oct  2 21:46:35     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>Listboxes with paging control</h4>	<p>It is better to display large number of data in multiple pages by specifying	the paging mold.</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[<window>	<zscript>	List items = new org.zkoss.zkdemo.userguide.BigList(1000); //a big list of Integer	</zscript>	<listbox mold="paging">		<listitem forEach="&#36;{items}">		<listcell label="&#36;{each}-1"/>		<listcell label="&#36;{each}-2"/>		<listcell label="&#36;{each}-3"/>		<listcell label="&#36;{each}-4"/>		</listitem>	</listbox></window>				]]></attribute>			</textbox>		</groupbox>	</vbox></window>

⌨️ 快捷键说明

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