For copy value to next action used following syntax
<s:hidden name="formRow.value" value="%{formRow.value}" />
What syntax should I use to copy whole array of objects with thier fields? I’ve tried such apprach:
<s:iterator var="entry" value="%{formRow.myArray}" status="stat">
<s:hidden name="formRow.myArray[#stat.index].val1" value="%{entry.val1}"/>
<s:hidden name="formRow.myArray[#stat.index].val2" value="%{entry.val2}"/>
</s:iterator>
but while form submitting, formRow.myArray still empty..
In your case
valueattribute is not actually needed,nameis enough. Try this: