Hi! I'm having problems using column decorators. I've created a class that
implements ColumnDecorator interface and in the decorate method I return the
value that I want to be displayed for this column. I've referenced that class
from a display:column tag, like this:
<display:column decorator="org.displaytag.sample.CheckBoxVirtualDecorator"
title="Delete"/>
But when I open the jsp I get this exception:
javax.servlet.ServletException: You must specify one of the following:
{property
attribute,value attribute,tag body}
I think this doesn't correspond with the documentation:
The value displayed will be the results of a decorator (if any); else the
property named by the 'property' attribute; or if the 'property' attribute is
null, then the results of evaluating the JSP body of the tag.
Reading the text above, I don't think a property attribute would be neccessary,
with the result of the decorate method should be enough. Am I doing something
wrong?
thanks in advance
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user