b30-1786154.zul

来自「ZK是一个Ajax Java Web框架」· ZUL 代码 · 共 39 行

ZUL
39
字号
<?xml version="1.0" encoding="UTF-8"?><!--B30-1786154.zul{{IS_NOTE	Purpose:			Description:			History:		Fri Oct 24 09:16:31     2008, Created by tomyeh}}IS_NOTECopyright (C) 2008 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><zk>	expect to get 100 ~ 104 in first row, then 105 ~ 109 for next row.	<zscript>	int[] counts = new int[2];	String[] labels = new String[] {"100", "101", "102", "103", "104", "105",	"106", "107", "108", "109", "110"};	</zscript>	<grid>	<rows>		<row forEach="${counts}">		<button forEach="${labels}"		forEachBegin="${forEachStatus.previous.index * 5}"		forEachEnd="${forEachStatus.previous.index * 5 + 4}"		label='${each} , ${forEachStatus.previous.index}'/>		</row>	</rows>	</grid></zk> 

⌨️ 快捷键说明

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