• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to make a paging

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>
 
reply
    Bookmark Topic Watch Topic
  • New Topic