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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
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
thank u matt