Look at your HTML and you will see why, you need to add %{} around
#stat.index, so the name of the fields are students[0], students[1],
etc.

musachy

On Mon, Apr 14, 2008 at 6:54 PM,  <[EMAIL PROTECTED]> wrote:
> I am having a similar problem to Ancat:
>
>  I have an arrayList named 'students' in an action. I use this action to
>  load values for a .jsp which contains the following code:
>
>  <s:form action="Instructor/Home!saveChanges">
>
>  <s:iterator status="stat" value="students">
>    <s:textfield name="students[#stat.index].lastName" /></td>
>    <s:textfield name="students[#stat.index].firstName" /></td>
>    <s:textfield name="students[#stat.index].userName" /></td>
>    <s:textfield name="students[#stat.index].userPassword" /></td>
>    </s:iterator>
>
>  </s:form>
>
>  This displays my arrayList correctly, but when I submit to my action, I
>  cannot retrieve the modified arrayList.
>
>  Am I mistaken in thinking I simply need a getter/setter for an arrayList
>  named "students" in my receiving action?
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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

Reply via email to