Hi all,
I?m trying to receive a filled array of objects. In struts-config:
<form-property name="myAttribute" type="br.mypackage.MyClass[]"/>
In HTML file:
<input type="text" name="myAttribute[0].myNestedAttribute">
When I try to submit a form with these configurations, the following expection
is thrown:
java.lang.ArrayIndexOutOfBoundsException
at java.lang.reflect.Array.get(Native Method)
at org.apache.struts.action.DynaActionForm.get(DynaActionForm.java:250)
at org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:386)
.
.
.
How can I fill an indexed java object using Struts ?
thanks in advance,
Sergio Stateri Jr.
sergio.stateri@globo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org