Suneel, That's really up to you. You're the one setting the list for displaytag in the first place. So wherever that list is getting set would be your source for the list. One possible way to make sure that it's always reachable is by placing the list in the HTTP session and scoping the declarator for the displaytag appropriately, something like:
<display:table name="sessionScope.myList" .../> Something like that. Then, when you get into your single item page, you'll know the ID for that the current item and would then be able to reference the list in the session. Alternatively if the list comes from a bean property or whatever, you can grab it from wherever in your app scope the list is living. As far as displaytag goes, though, it has no inherent ability to do this. Its job is to display the list, not manage the list through a user session. But as far as a data management task goes, what you're trying to do is pretty straightforward. Suneel Gundlapalli wrote: > Hi all, > We have a jsp page which shows a list of records using display tag. The > user > can click on one of those records and update them in second jsp (update > page). If he wants to update anthor record he should be able to do so by > cliking on a "next link" in the update page. (Clicking on "next link" > should > bring the next record as per the sorting shown on the list page before > navigating to the update page) > > This can be done easily if I know what is the next record in the sorted > list. Is there any way I can get the sorted list used by display tag > internally, so that I can know the next record to be updated. > > Thanks, > Suneel > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > displaytag-user mailing list > displaytag-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/displaytag-user > -- Rick Herrick [EMAIL PROTECTED] I haven't got time for inner peace. "No reasonable definition of reality could be expected to permit this."--Albert Einstein, Boris Podolsky and Nathan Rosen in 1935 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user