Sorry, I just realized I have been posting this user comment to the development list.
Just to finish it up... I could dig into the source to find out what session attribute the result set is stored under, and what row is currently being displayed, and how many rows will be rendered, etc. I could retrieve these values and perform my query on each of the row ids prior to the view being rendered, right? I guess the drawback is that it is rather fragile since it will be tied to whatever you guys decide to use for binding data to the session. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:displaytag- > [EMAIL PROTECTED] On Behalf Of Matt Raible > Sent: Friday, July 23, 2004 11:12 AM > To: [EMAIL PROTECTED] > Subject: RE: [displaytag-devel] Access to ResultSet when using paged > results > > No, this is currently not a feature in the displaytag. > > Matt > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of James Cook > > Sent: Friday, July 23, 2004 7:23 AM > > To: [EMAIL PROTECTED] > > Subject: RE: [displaytag-devel] Access to ResultSet when > > using paged results > > > > > > Hi Matt, > > > > Thanks for that idea, but I also need to prepopulate a map on > > my Servlet (Webwork Action) that requires database access. I > > want to prepopulate this map prior to the view being > > rendered. View rendering and database problems don't mix well. ;) > > > > Is there a way for me to get hold of the rows that the > > displaytag is going to render in my servlet when I'm using > > paged results (w/ sorting)? I need just the rows that will be > > rendered for the current page size, not the other rows. > > > > Thanks, > > jim > > > > > -----Original Message----- > > > [EMAIL PROTECTED] On Behalf Of Matt Raible Add an > > > "id" attribute to your table and then you can access it using JSTL. > > > > > > For example: > > > > > > <display:table id="list"> > > > <c:if test="${list.columnName == 'allowAccess'}"> > > > <display:column property="columnName"/> > > > </c:if> > > > ... > > > > -----Original Message----- > > > > Behalf Of James Cook > > > > Is there a preferred technique for getting access to the result > > > > objects in a servlet layer when using DisplayTag's > > built-in paging > > > > support? Prior to the view being rendered, I want to load > > a map with > > > > some row-specific data, so my inline decorators can access some > > > > security information while rendering the rows. > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > displaytag-devel mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/displaytag-devel > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > displaytag-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/displaytag-devel ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel