On Wed, 30 Jul 2003, James Childers wrote:

> Date: Wed, 30 Jul 2003 11:35:53 -0500
> From: James Childers <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> Subject: RE: Prob:Calling a bean:write inside html:text
>
>
> YOU CAN'T NEST TAGS.
>
> YOU CAN'T NEST TAGS.
>
> You, or anyone else, cannot nest tags. Tags cannot be nested. Nesting tags is 
> prohibited. If you nest a tag inside another tag, the page won't compile. Nesting 
> tags ist verbotten. Do not nest tags if you want your page to work.
>
> The following won't work:
>
> <html:test property="<bean:write property="something" />" />

It is true that this won't work, but I would caution you that "nesting
tags" actually means something different:

  <html:form ...>
    <html:text .../>
    <html:text .../>
  </html:form>

which is perfectly legitimate.  A correct sentence describing what you
cannot do is "You cannot use one tag to create all or part of the
attribute value of another tag."

Craig

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

Reply via email to