You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chris Pratt <th...@gmail.com> on 2009/12/09 18:12:50 UTC
Re: How to display a table (data grid) using Struts2 - Is there a
tag?
We use DisplayTag, http://www.displaytag.org/
(*Chris*)
On Wed, Dec 9, 2009 at 7:44 AM, jvsrvcs <jv...@gmail.com> wrote:
>
> We need to pull a large amount of data from a database and display in a
> table.
>
> We would like, on click of a hyperlink for a submission to happen to go to
> the server to fetch the next set of data that has been either cached or
> to query the db.
>
> I am sure someone has done this before as it is quite a common use case.
>
> We need the following features:
> - an html table with grid (a jsp tag if there is one)
> - headers (html, different color backround) - nothing new here
> - clickable headers that will sort the list ascending, descending
> - pagination
> - 1, 2 <= Each number is a hyperlink
> - Next 10 of <total> <= is a hyperlink
> - Last <= is also a hyperlink
>
> Is there a way to do this using some built-in struts2 feature or
> tag?
>
> If not, is there another plugin to struts2 that can provide this?
> ----
> --
> View this message in context:
> http://old.nabble.com/How-to-display-a-table-%28data-grid%29-using-Struts2---Is-there-a-tag--tp26712342p26712342.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>