AWTaglib 介绍
AWTaglib是一个Jsp标签可用于创建网格(grid)控件.它还提供一些额外的功能可以把网格中的数据导出为XLS,PDF和CSV(利用JasperReports来实现)并能与Struts框架相结合.
使用代码行如:
< awtaglib:gridIterator id= “index” name= “gridCollection” report= “true”
dynamic= “true” styleClass= “grid” action= “/report” >
< awtaglib:gridElement name= “index” property= “name” title= “title.name”
type= “editable” / >
< awtaglib:comboGridElement name= “index” property= “age” title= “title.age”
options= “comboCollection” labelProperty= “name” labelValue= “value” / >
< awtaglib:listGridElement name= “index” property= “address” title=
“title.address” collection= “listCollection” valuecolumn= “1” / >
< awtaglib:gridElement name= “index” property= “birthDate” title=
“title.birthdate” type= “date” / >
< awtaglib:CheckBoxGridElement name= “index” property= “single” title=
“title.single” trueValue= “single” falseValue= “married” / >
< / awtaglib:gridIterator >
AWTaglib 官网
http://awtaglib.sourceforge.net/
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。