• 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

Pagination in Struts2

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am displaying the searched fields in my app through ajax using display tag. When i click on the next bottom in pagination its displays the data in a saparate page ,instead of displaying on the same page. please suggest how to enable the pagination in display tag through ajax.

The code is of the display tag is as follows :
...
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
............

<display:table id="tfsRangeList" name="tfsRangeList" pagesize="10" excludedParams="*" export="false" requestURI="/searchNumber.action" class="tableFormat10">
<display:column property="customerName" title="Customer Name" ></display:column>
<display:column property="customerId" title="Customer ID" ></display:column>
<display:column property="reservationId" title="Reservation ID" ></display:column>
<display:column property="premiumNumber" title="Is Premium Number" ></display:column>
</display:table>
 
Anjanaya swamy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Please help me in solving the below issues, as i am unable to find the solution for the issue.

Thanks in advance.
 
reply
    Bookmark Topic Watch Topic
  • New Topic