Menu

pagination problem

Help
Ramaraju
2005-08-06
2012-10-08
  • Ramaraju

    Ramaraju - 2005-08-06

    Hi all,
    Iam using pagination in display tag.But I have aproblem when deleting some record in "n th" page and after it displays first page of the list.My requirement is the list should be remain in nth page after deleting a row in nth page.
    please help me regarding this problem.

     
    • Matt Sidesinger

      Matt Sidesinger - 2005-08-06

      If you uniquely identify your table using the id attribute then the paging request parameter will be in the format of d-{id}-p. So on your delete link include the parameter so when the page refreshes the correct page will be showing.

      Go here: http://displaytag.homeip.net/example-paging.jsp
      and look at the paging parameter as you step through the different pages.

      Hope this helps.

      Matt

       
    • Ramaraju

      Ramaraju - 2005-08-23

      thank u matt

       

Log in to post a comment.

MongoDB Logo MongoDB