The WebWork2 UI Component tag
is great, however I wish to be able to add custom parameters to it, using the
ww:param tag
I suggest a couple of
things:
1. Refactor AbstractTags into
* AbstractUITag
*
AbstractClosingUITag *
AbstractOpeningUITag
*
AbstractWrappingUITag
So that the
* most UI tags extend
AbstractOpeningTag and SKIP the body, rendering the template on
doStartTag
* the form tag
extends AbstractWrappingUITag to provide templates for open and close and
it allows JSP content
* the component tag can
then extend AbstractClosingUITag to enable parameterisation and render the
template in doEndTag
How does that sound
?
..Cam..