Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pagination in Struts2

 
Anjanaya swamy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic