Well,

thats the thing, with Struts 1.2.4 (I quoted the wrong version before), I
could only find the standard TLDs.
Ie there weren't standard and el versions.
However the versions that were supplied appear to suppport runtime
expressions.
Here is the definition for html:errors:
<tag>
  <name>errors</name>
  <tagclass>org.apache.struts.taglib.html.ErrorsTag</tagclass>
  <bodycontent>empty</bodycontent>
  <attribute>
    <name>bundle</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
  </attribute>
  <attribute>
    <name>locale</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
  </attribute>
  <attribute>
    <name>name</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
  </attribute>
  <attribute>
    <name>property</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
  </attribute>
</tag>


William

----- Original Message ----- 
From: "Larry Meadors" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Saturday, January 08, 2005 10:52 PM
Subject: Re: Runtime expressions


> Hmm, you did not say in the original email - are you using the html-el
tld?
>
> If not, it will not work.
>
> Larry
>
> On Sat, 8 Jan 2005 22:16:49 +1000, William Ferguson
> <[EMAIL PROTECTED]> wrote:
> > If I have defined
> >
> > <c:set var="index" value="0"/>
> >
> > in a JSP, and I have saved an ActionMessage keyed on 'quantity.0' into
the
> > Request, during execution of my Action,
> > should I expect either or both of
> >
> > <html:errors property="quantity.${index}"/>
> > <html:errors property="quantity.<c:out value='${index}'/>"/>
> >
> > to generate some output?
> >
> > <html:errors property="quantity.0"/>
> >
> > does generate the expected output, so why not the others?
> > What do I need to do to the error message rendered?
> > I'm using Struts 1.2.8
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.9 - Release Date: 06-Jan-05
>
>


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

Reply via email to