Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3817937
By: javadevjames
Greetings all,
I've searched exhaustively, read the documentation and tutorials, this forum,
etc - all to no avail. Hopefully someone can provide assistance!
I'm working for a client that has a large library of custom tags they are not
willing to throw away just because DisplayTag offers so many great capabilities
and features. I need to be able to use other tag libraries within DisplayTag
and have the tags successfully evaluated as well. A good (and simple) example
is using a ColumnDecorator to decorate data from a bean, but also use a standard
JSTL tag on the bean value for that column.
So, you would have a ColumnDecorator with a decorate() method like the
following:
public Object decorate(Object columnObject, PageContext pageContext,
MediaTypeEnum
media) throws DecoratorException
{
return "<fmt:formatDate value=\"" + columnObject + "\"
pattern=\"MM/dd/yy\"
/>";
}
The problem is that the decorator simply dumps the string to the page, and the
<fmt:format> tag does not get evaluated. You end up with a blank colum in your
table, and when you view the source you see something like:
<fmt:formatDate value="07/11/2006" pattern="MM/dd/yy" />
So, how can one use JSTL and/or other custom tags in concert with DisplayTag?
Thanks for your time - if I can't come up with a solution to this problem,
DisplayTag
will not be adopted :(
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249318
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user