webwork框架

[size=xx-small][color=gray]1.webwork标签
教材:http://dev.csdn.net/article/30/30460.shtm
-------struts2.0
网络:http://poorboy030103.blog.163.com/blog/static/54635147200922952753691/

------嵌套循环
http://q.sohu.com/forum/5/topic/3339202

<ww:iterator value="resultList" status="status">

<tr class="<ww:if test="#status.even">row-even</ww:if><ww:else>row-odd</ww:else>">

<td>

<ww:property value=""/>

</td>

</tr>

</ww:iterator>

样式表可以参考:
.row-even{background-color:#def7c2;} /*偶数行样式*/

.row-odd{background-color:#c8e7a6;} /*奇数行样式*/

除了使用#status.even判断是否偶数行外,还有其他几个属性可以使用:

#status.odd 是否奇数行

#status.count 当前行数

#status.index 当前行的序号,从0开始[#status.count=#status.index+1]

#status.first 是否第一行

#status.last 是否最后一行

#status.modules(int) 当前行数取模

---------字符串判断:
http://blog.sina.com.cn/s/blog_4a9f789a0100bnmg.html

-----树形下拉列表
http://blog.csdn.net/yiyiwyy326/archive/2007/05/10/1602971.aspx

2.display标签
加判断
http://topic.csdn.net/u/20090410/14/20426b4e-02ae-491a-99cc-37db473687db.html

3.quartz使用
http://fluagen.blog.51cto.com/146595/32215[/color][/size]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值