[ http://jira.codehaus.org/browse/DISPL-152?page=comments#action_66230 ]
Harakiri commented on DISPL-152: -------------------------------- Well, afaik this issue still hasnt be resolved even after 18 month =/ its very important to get to know which excerpt of a list Displaytag is currently showing however - i made a workaround its not pretty bug it works within the <display:column> tag i add the object into a session variable i.e. lets say i render a list of users my objects name is User i do <display:column property="name"> ArrayList currentlyDisplayedUsers = session.getAttribute("currentlyDisplayedUsers"); currentlyDisplayedUsers.add(user); session.setAttribute("currentlyDisplayedUsers",currentlyDisplayedUsers); </display:column> after a submit or whatever i just retrieve this value and do know which entries were displayed because displaytag executes only code within the column tags for the CURRENT rendered entries > document how to access the currently displayed sub-list/excerpt > --------------------------------------------------------------- > > Key: DISPL-152 > URL: http://jira.codehaus.org/browse/DISPL-152 > Project: DisplayTag > Type: New Feature > Components: Paging/Sorting > Versions: 1.0 > Reporter: Ralf Hauser > Fix For: TBD > > > my struts application hands over a list to displaytag such as a mail inbox. > Displaytag then shows an excerpt of that list. > When I want to perform an action on this sub-list, I don't see a way how to > access it (I am NOT using javascript in the browser!). > I guess, having a a start and an end range number would be sufficient. > If this can be done, please document it! > If not, I guess it would be great if displaytag would store an Integer for > the beginning of the range as > "DISPLAYTAG_RANGE_START" attribute into my javax.servlet.http.HttpSession and > a "DISPLAYTAG_RANGE_END" Integer as well. This way, my subsequent struts > actions could work on the currently visible part of the list (e.g. deleting > those 30 mails from my inbox!) > What do you think? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel