You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Sukhenko, Mikhail (Contr)" <MS...@northropgrumman.com> on 2003/05/28 00:29:33 UTC

RE: How to refer to the name of the form within a 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:ereze@netmedia.net.il]
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: How to refer to the name of the form within a blo ck?

Posted by Erez Efrati <er...@netmedia.net.il>.
Ok it's working when I am using the <nested:iterate> tag.

-- Erez

-----Original Message-----
From: Erez Efrati [mailto:ereze@netmedia.net.il] 
Sent: Wednesday, May 28, 2003 1:38 AM
To: 'Struts Users Mailing List'
Subject: RE: How to refer to the name of the form within a <html:form>
blo ck?

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:MSUKHENKO@northropgrumman.com] 
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:ereze@netmedia.net.il]
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: How to refer to the name of the form within a blo ck?

Posted by Erez Efrati <er...@netmedia.net.il>.
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:MSUKHENKO@northropgrumman.com] 
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:ereze@netmedia.net.il]
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org