You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by dhilip mandava <dh...@valuelabs.net> on 2007/07/02 08:44:23 UTC
using same field name for data posting and getting data using array
in action is not working FF
hi
i have station form and in the same form i have station addresses , these
are adding dynamically, depending on necessity.i mean , station may contains
multiple address, in the same form. when i submitting the form
stationAddress as filed name, i am getting array out index problem in Fire
Fox, but it is working fine in IE.
in action
stationAddress.setUrl(stationAddressUrl[i]);
in jsp
<input type="text" name="stationAddressUrl" style="width:100px;" value=""/>
i used stationAddressUrl[] in action class. it is getting 0 th value
correctly , other values starting form index 1 are not getting . i used
array list instead of array, but no use.
but i have taken examples file upload form and some other form
having same filed name like above , they are working in both browsers.
i didn't get problem cause.i used same syntax.
we are posing so many fields (20) in station form, is this cause to problem?
waiting for immediate reply
Thanks in advance
--
View this message in context: http://www.nabble.com/using-same-field-name-for-data-posting-and-getting-data-using-array-in-action-is-not-working-FF-tf4010273.html#a11388741
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org