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

Reply via email to