• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 531
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks,
That link you mentioned looks really useful.

j
 
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Masoud is right...Displaytag is fantastics...

Its very useful at the same time very easy to use.
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic