Title: Re: [OS-webwork] Suggestion for a change in UI Component Tag
Why would you want to do that? All WW tags should be AbstractWrappingTags (as they are now) - because they can all take parameters via the param tag?

Mike

On 29/5/03 7:28 PM, "Cameron Braid" ([EMAIL PROTECTED]) penned the words:

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
   * AbstractOpeningUITag
   * AbstractClosingUITag
   * 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..


Reply via email to