I think so.
In the final, if you want to submit any data to member of a list, the
[name] of the HTML element should be something like:
"listName[indexNumber].propertyName"
Or strust2 can not know where this parameter should be applied to.
If your code can work, the first thing should check is:
If the HTML code generated by your JSP tag is right?
If not, read the docs of tag, and check if misused.
In my sample code,
<s:textfield name="infoList[%{#rowStatus.index}].name"
<s:checkbox label="Use" name="infoList[%#rowStatus.index}].use"/>
Will display the existing data
AND also
submit inputted data back to server correctly.
Read the HTML code generated by tag, you will understand how it works.
2010/10/27 Ashlon Hill <[email protected]>:
> Dave/Peter,
>
> Was the issue resolved due to names of methods and properties not matching?
>
> Curious,
> Ashlon
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]