struts1.2列表序号(index)从1开始
2011-03-24 15:52
337 查看
<logic:notEmpty name="list"> <logic:iterate id="item" name="list" indexId="index"> <tr onmouseover="this.className='over'" onmouseout="this.className='out'"> <td> <%=Integer.parseInt(index.toString()) + 1%><!--或 ${index+1}--> </td> <td> <bean:write name="item" property="productName"/> </td> <td> <bean:write name="item" property="queryTime"/> </td> <td style="word-break:break-all" mce_style="word-break:break-all"> <bean:write name="item" property="callResult"/> </td> <td> <bean:write name="item" property="ammount"/> </td> </tr> </logic:iterate> </logic:notEmpty>
相关文章推荐
- 织梦dedecms列表序号从0到1开始的办法 autoindex,itemindex标签
- 使用struts的logic:iterate标签遍历列表时得到显示序号
- 织梦文章列表序号自增长标签[field:global.autoindex/]
- java struts1.2 MappingDispatchAction 对明细列表操作时让其停留在明细列表页面
- DEDECMS自动编号(序号从1开始)[field:global.autoindex/]
- DEDE [field:global name=autoindex/] 按序号排列从0从1开始
- struts1.2 配置文件详解
- beego增加用户自定义模板函数,index从1开始
- SSH框架代码(struts1.2+spring2.0+hibernate3.2)第一部分
- 一个截取字符串函数,参数列表(源字符串,开始字符串,结束字符串)
- add(int index, E element) 在列表的指定位置插入元素
- 给DataGrid添加index序号,自动编号
- dedecms文章列表加上序号效果
- 深入浅出学习struts1框架(五)--正式进入struts1框架学习,从一个实例开始
- ASP.NET中Gridview读取数据表列表页面常用操作-序号,编辑,删除,删除确认
- apache在没有index.html时显示目录文件列表
- struts1.2验证
- struts1.2连接池配置
- 开始我的struts之旅-myeclipse开发基于struts的helloword应用-视频链接
- Container.ItemIndex 获取到行的序号