Hi all!

I'm using a TableDecorator subclass to decorate a table of data in my
web app. One of the columns is purely derived - it's a column that
contains one of three action buttons - "Select", "Publish", or "Delete"
- which are derived from the current user's privileges.

We want the ability to sort on this column, based on the available
options. Here is my column tag:
 <display:column property="actionButtons"
  titleKey="table.eventSummary.action.title"
  sortable="true"/>

Since there is no actionButtons property in the actual data object, it's
getting the value out of the Decorator. Normally, it displays just fine.
However, if I try to sort on that column, I get:

javax.servlet.jsp.JspException: ServletException in
'/WEB-INF/jsp/events/eventBody.jsp': ServletException in
'/WEB-INF/jsp/layout/singleBody.jsp': ServletException in
'/WEB-INF/jsp/events/eventSummary.jsp': LookupException while trying to
fetch property "actionButtons". Cause: Error looking up property
"actionButtons" in object type "MyDecorator"..

I'm running this inside Jboss running on Java 5. Has anyone had similar
problems or know what might be causing this problem?

Thanks...


Joe Attardi


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to