You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Danieleippoliti@libero.it" <Da...@libero.it> on 2008/04/19 13:24:55 UTC
result in different pages
Hi,
I have a tag <s:iterator value="list">...</s:iterator> but I would to show the element of the list in different page.
Infact the list's elements are the result of a search in a SearchEngine so I would have the links to page 1 2 3 4 5... and for each page I want view only x results.
For example,if I have 100 results and I want to show only 10 results for each page, so I have in the page the links page 1 2 3 4 5 6 7 8 9 10
Daniele
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: result in different pages
Posted by Martin Gainty <mg...@hotmail.com>.
you can store in session and retrieve later using
http://struts.apache.org/2.0.11.1/docs/ognl-basics.html
----- Original Message -----
From: <Da...@libero.it>
To: "struts mailing list" <us...@struts.apache.org>
Sent: Saturday, April 19, 2008 7:24 AM
Subject: result in different pages
Hi,
I have a tag <s:iterator value="list">...</s:iterator> but I would to show
the element of the list in different page.
Infact the list's elements are the result of a search in a SearchEngine so I
would have the links to page 1 2 3 4 5... and for each page I want view only
x results.
For example,if I have 100 results and I want to show only 10 results for
each page, so I have in the page the links page 1 2 3 4 5 6 7 8 9 10
Daniele
---------------------------------------------------------------------
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