Nope, the resulting html looks like:

<input type="image" name="[0]someAttribute" ...>

Since the name cannot be set, we get the appended index at the beginning,
which does not help.

Maybe a bug? I am surprised that no one picked this up...

Keith


-----Original Message-----
From: Joseph Barefoot [mailto:[EMAIL PROTECTED]]
Sent: Friday, 19 July 2002 12:55 p.m.
To: Struts Users Mailing List
Subject: RE: <html:image>


I think maybe it's the "property" attribute instead?  Not sure about that,
but you could give it a try.

> -----Original Message-----
> From: Keith Chew [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 18, 2002 5:45 PM
> To: Struts Users Mailing List
> Subject: <html:image>
>
>
> Hi
>
> Why doesn't the <html:image> tag allow for the name attribute? I am trying
> to use it within the iterate tag, ie
>
> <logic:iterate id="something" name="someBean" property="someCollection">
>   <html:image src="/images/image.gif" name="something"
> property="someAttribute"/>
> </logic:iterate>
>
> It does not recognise the name attribute. Any ideas?
> Keith
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>



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


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

Reply via email to