Paananen, Tero wrote:

Can somebody tell me which is the best way to do this?



Oh boy :)


There was a long discussion not so long ago about
the problems with extending the tags (not limited
to the Struts tags, btw) on this list.


If you do want to extend a tag, try to use the nightly source distribution.
It has been refactored some to improve this situation.

You're stuck with copy-and-pasteing TextTag.doStartTag()
into your new tag, then sprinkling your modifications
in there.

-TPP





Reply via email to