Thanks for the reply, but it doesn't work if I remove the
'name=myFormName' part. Should I be using the nested:iterate tag? 

Erez

-----Original Message-----
From: Sukhenko, Mikhail (Contr) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 28, 2003 12:30 AM
To: 'Struts Users Mailing List'
Subject: RE: How to refer to the name of the form within a <html:form>
blo ck?

you don't need to, leave the "name" attribute out, the iterate tag will
automatically associate name with the name of the form that it is
inside.

Hope this helps


-----Original Message-----
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 5:44 PM
To: 'Struts Users Mailing List'
Subject: How to refer to the name of the form within a <html:form>
block?


Is there a way to refer or get the name of the form inside the
<html:form> ?
I am trying to do something like the following:

<html:form>

        <logic:iterate id="item" name=??<name-of-form>??
Property="items">
        ...
        </logic:iterate>

</html:form> 

Thanks,

Erez



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

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



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

Reply via email to