Here is the tips: <layout:collection name="CreateAccesForm" property="utilisateurs" indexId="indexUser" id="utilisateur" styleClass="hermes-layout" styleId="listeUsers" height="190px" width="100%" onRowMouseOut="this.className='tableauClair'" onRowMouseOver=" this.className='tableauSurvol'">
<layout:collectionInput title="portail.gestion.utilisateur.label.login" formProperty="utilisateurs[${indexUser}].login" property="login"/> 2005/11/10, arnaud gonzales <[EMAIL PROTECTED]>: > > Hello, > I would like to iterate the DTO's List of my ActionForm with > <layout:collection> > like i will do with <logic:iterate> : > > <logic:iterate name="orderForm" property="orders" id="rememberMe"> > <html:text name="rememberMe" property="fieldA" indexed > ="true"/> > </logic:iterate> > > The result i try to achieve is : > > <input type="text" name="rememberMe[ 0 ].fieldA"> > > > My ActionForm : "CreateAccesForm" > the List contained in the form : "Users" contains userDTO object with > "name", "login", "email", "tel" > > I want to obtain something like that > <td class="hermes-layout"> > <input type="text" name="users[0].name" value="theName"> > </td> > > Here is my testing code: > Here is my code > <layout:collection name="CreateAccesForm" id="utilisateur" > styleClass="hermes-layout" styleId="listeUsers"> > <layout:collectionInput title="portail.gestion.utilisateur.label.login" > formName="utilisateurs" formProperty ="login" formIndex="ctr" /> > <layout:collectionInput title="portail.gestion.utilisateur.label.login" > formProperty ="utilisateurs" property="nom"/> > ..... > > Thanks in advance > > -- > Cordialement, > Arnaud Gonzales. -- Cordialement, Arnaud Gonzales.