tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Néstor Boscán <nestor.bos...@tcs.com.ve>
Subject RE: Displaying mulitpage results
Date Sun, 20 Feb 2005 00:45:51 GMT
Hi Antony

1) Expose two more variables to access first page and last page ( like
nextUrlVar). 

You can use the pages variable and get the first and last page elements to
get the first page and the last page. But It may be interesting to put two
aditional variables.

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.

With the pages variable you can use the data anyway you like. You can show
all of them or limit the number of pages shown to a specific number. 

Any new features that you can come up is always welcomed.

Regards,

Néstor Boscán

-----Mensaje original-----
De: Antony Joseph [mailto:ajosephmi@lycos.com] 
Enviado el: Sábado, 19 de Febrero de 2005 02:37 p.m.
Para: Struts Users Mailing List
Asunto: RE: Displaying mulitpage results

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" <nestor.boscan@tcs.com.ve>
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:peter.neu@gmx.net] 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.htm
> > l
> >
> > 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" <peter.neu@gmx.net>
> > 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: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
> >
> > Antony Joseph
> > Available for consulting
> > http://www.logicden.com
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org



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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message