2017-09-26 18:11 GMT+02:00 Roslyakova, Svetlana <svetlana.roslyak...@bnymellon.com>: > Here is the full example: > > <s:iterator var="UserRow" status="stat" value="session.userList"> > > <s:set var="index" value="%{#stat.index}" /> > <tr> > > <td><div id="commitdiv<s:property value="#index"/>"><s:textfield > type="text" id="userId" theme="simple" name="session. userList > [%{#stat.index}].UserId" value="%{top.UserId}" /></div></td> > </tr>
<s:iterator var="userRow" status="stat" value="session.userList"> <s:set var="index" value="#stat.index" /> <tr> <td> <div id='commitdiv-<s:property value="#index"/>'> <s:textfield type="text" id="userId-%{#index}" theme="simple" name="session.userList[#index].userId" value="#userRow.userId" /> </div> </td> </tr> </s:iterator> This should work and I would suggest these readings: http://struts.apache.org/docs/tag-syntax.html http://struts.apache.org/docs/iterator.html Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org