On Wed, 26 Jun 2002, James Holmes wrote:

> Date: Wed, 26 Jun 2002 17:44:35 -0700 (PDT)
> From: James Holmes <[EMAIL PROTECTED]>
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: 1.1 Config File DTD discrepancy
>
> Was just updating some code in Struts Console and
> noticed that the <message-resources> element doesn't
> allow for child <set-property> elements.  This seems
> to be an oversight to me as every other major element
> has this.
>
> Shouldn't users be able to set properties on those
> classes too?  I think so.
>
> I'll fix the DTD and related files if everyone agrees.
>

+1, plus any other similar omission you see where the implementation class
is pluggable.

It's interesting to note that JSP 2.0 supports a version of this same
design pattern, by allowing you to use nested <jsp:attribute> tags to set
the attributes of a custom tag.

> -james
> [EMAIL PROTECTED]
> http://www.jamesholmes.com/struts/
>

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to