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 Thu, 01 May 2008 18:10:42 GMT
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".

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


Mime
View raw message