--- Kevin Wade <[EMAIL PROTECTED]> wrote: > What should the textarea's "name" be to get struts2 > to update the specific report.author.bio String?
The problem is that you have no association between the "bio" field and a specific report author. One way to create that association is by using array notation via <s:iterator...>'s "status" attribute [1] which will let you get the list index position; you use that to create the name of the <s:textarea...>, more or less like this (it's late so my syntax is probably... suspect): <s:iterator value="report.authors" status="stat" id="foo"> <s:textarea name="report.authors[%{stat.index}].bio" value="%{#foo}"/> </s:iterator> d. [1] http://struts.apache.org/2.x/docs/iterator.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]