fergunet wrote:
Hi all! I need to paginate some things and it would be useful to have the
number of the pages like that:

[first/previous] 1,2,3,_4_, 5, 6 [next/last]

The _4_ is the actual_page.

Yeah, is like the display:table of displaytag but made by myself. I've the
stuff between the [] made, and I only need the numbers. How can I print
those numbers with an iterator? (I've the #last_page, #actual_page...
variables created)

I could do it with <% for %> but my bosses don't want. They've forbidden the
use of java code in our jsps ; )

Use the JSTL equivalent, c:forEach, maybe:

http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/c/forEach.html

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to