struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paweł Badeński" <pawel.baden...@gmail.com>
Subject Re: Paging with DisplayTag and encoded table name
Date Fri, 02 May 2008 15:12:44 GMT
2008/5/2, Zoran Avtarovski <zoran@sparecreative.com>:
> You can implement the org.displaytag.pagination.PaginatedList class and use
>  any parameters you like. Also helps when dealing with large lists.
>
>  Z.
>
>
>
>  > 2008/5/1 Brad A Cupit <brad@lsu.edu>:
>  >>> > > I'm curious if there is a neat way to have the page
>  >>> >  > parameter mapped onto action or something alike
>  >> >
>  >> >  You should be able to put a setter on the Action. So, if your url
>  >> parameter is named pageNum, your action would have a setPageNum() method.
>  >
>  > Sure, that'd have worked. But DisplayTag keeps information about page
>  > Number in very specific format - "d-<encoded_table_name>-p", so it
>  > might look like "d-339584-p".
>  >
>

Thanks a lot ! Works perfectly :)

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


Mime
View raw message