• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Anyone done a good 'paged' datatable solution for Struts?

 
John Summers
Ranch Hand
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Subject title says it all really. Anyone done/come across a good tag(s) solution to paged datatables in Struts i.e. without using 'iterate' style tags or heinous scriptlets.

Paging adds a whole layer of complexity above a non-paged datatable tag.

john
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Sure there are some very good paging framework out there in OSS
Just for one of them i use heavely in my project :
http://displaytag.sourceforge.net
also there are more like valueList which is based on VO pattern
table tag (AFAIR)
...

hope it helps.
 
John Summers
Ranch Hand
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,
That link you mentioned looks really useful.

j
 
Grishma Dube
Ranch Hand
Posts: 275
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Masoud is right...Displaytag is fantastics...

Its very useful at the same time very easy to use.
 
sudhakar Tadepalli
Ranch Hand
Posts: 130
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I using display tag and getting the follwoing error.

Unable to instantiate the configured I18nResourceProvider due to a java.lang.NoClassDefFoundError exception: org.apache.taglibs.standard.tag.common.fmt.BundleSupport

and JSP displaying "Nothing found to display"

I have a collection in the formbean and its propert name is "collection" and the form bean is in session

<%@ taglib uri="http://displaytag.sourceforge.net" prefix="display" %>


<display:table name="test" list="collection">
<display:column property="templateid" title="ID" />
<display:column property="templatetype" />
<display:column property="detaildesc" title="DESC" />
<display:column property="ownercode" title="CODE"/>

</display:table>


Any help please ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic