This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes How to make a paging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to make a paging" Watch "How to make a paging" New topic
Author

How to make a paging

Fierens Anouck
Greenhorn

Joined: May 20, 2010
Posts: 1
I'm new to struts and i'm making a application that needs paging

but the biggest problem is that the webservice how need to give the data is nog finished yet. Zo the data comes out of beans klasse

How can I give the id's of I need with the page url

this is the code I have all ready

<pg:pager url="/Belrai/instrument/questionGroup.do?instrumentID=${instrumentId}§ionID=${sectionId}" maxIndexPages="10" maxPageItems="3">
<c:forEach var="questionGr" items="${questionGroup}">
<pg:item>
...
</pg:item>
</c:forEach>
<pg:index>
<pg:prev>
<a href="<%= pageUrl %>">[ (<%= pageNumber %>) << Previous ]</a>
</pg:prev>
<pg:pages>
<a href="<%= pageUrl %>"><%= pageNumber %></a>
</pg:pages>
<pg:next>
<a href="<%= pageUrl %>">[ Next >> (<%= pageNumber %>) ]</a>

</pg:next>
</pg:index>

</pg:pager>
 
wood burning stoves
 
subject: How to make a paging
 
Similar Threads
[pages tags & jsp] - How can I make TOP and BOTTOM paging work?
declaration of pageNumber in "pg:pager" that is pager taglib
Paging with TagLib pg:pager
please help regarding pagination
probelm in pager tab.