Hi Nestor, Thanks for putting together the datagrid library. Please see if you can add these two features in a future release of the library: 1) Expose two more variables to access first page and last page ( like nextUrlVar). 2) A way to specify the maximum number of page links on the page. For example if a query returns 500 records and the page size is 10 instead of showing 50 page links, limit them to a certain number.
Currently to provide these features I am using scriplets. ----- Original Message ----- From: "Néstor Boscán" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <user@struts.apache.org> Subject: RE: Displaying mulitpage results Date: Sat, 19 Feb 2005 13:43:16 -0400 > > Hi Antony > > You can't use JSP tags inside the columns. You could use HTML buttons and > input fields with JSTL expressions. > > Regards, > > Néstor Boscán > > -----Mensaje original----- > De: Peter Neu [mailto:[EMAIL PROTECTED] > Enviado el: Sábado, 19 de Febrero de 2005 01:18 p.m. > Para: Struts Users Mailing List > Asunto: Re: Displaying mulitpage results > > Hello Antony, > > the datagrid-tags were exactly what I was looking for. The one question > which I have is how can I use Struts tags inside the columns? I really need > some buttons and input fields. > > cheers, > > Peter > > > > Antony Joseph schrieb: > > Check out the datagrid library at > > http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/intro.html > > > > If all you are looking for is pagination, sorting and ordering from the > database this is a good fit. It does not have all the bells and whistles > displaytag has, but is a simple and clean implementation. > > > > The biggest issue I have with the stock displaytag is, you have to stick > the whole query result somewhere (generally in the users session) to do > pagination. A very bad idea in my opinion. > > > > See https://workeffort.dev.java.net for an application usage > > example of datagrid library. Got tired of spamming you all with > > my company website, so I moved the application to java.net :-) > > > > > > ----- Original Message ----- > > From: "Peter Neu" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <user@struts.apache.org> > > Subject: Displaying mulitpage results > > Date: Sat, 19 Feb 2005 11:11:27 +0100 > > > > > >> Hello everybody, > >> > >> in my struts application I used to display a table of query > >> results on one page. Now the results are becoming way too much > >> to display them on one page. What is the best way to implement a > >> mulitpage result view? > >> The problem is I have multi-step workflow and I don't want to > >> confuse the user too much. > >> > >> Best Regards, > >> > >> Peter > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > Antony Joseph > > Available for consulting > > http://www.logicden.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Antony Joseph Available for consulting http://www.logicden.com -- _______________________________________________ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]