AWTaglib
本文导语: AWTaglib是一个Jsp标签可用于创建网格(grid)控件.它还提供一些额外的功能可以把网格中的数据导出为XLS,PDF和CSV(利用JasperReports来实现)并能与Struts框架相结合. 使用代码行如: < awtaglib:gridIterator id= "index" name= "gridCollection" report= "tr...
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 >
您可能感兴趣的文章:
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。