On 11/16/05, David Gagnon <[EMAIL PROTECTED]> wrote: > Hi all, > > Sorry for this question that I tought trivial . but I haven't found my > answer in the list . .so I ask you. > > <logic:iterate name="purchaseConsolidationItemForSaleForm" > property="itemForSale" id="itemForSale" indexId="ctr" > > <logic:iterate name="itemForSale" > property="lineDetail" id="lineDetail" indexId="ctr2"> > <html:checkbox name="lineDetail" > property="selected" indexed="true" /> > </logic:iterate> > </logic:iterate> > > > The code over gives: > > <input id="lineDetail[0].selected" name="lineDetail[0].selected" value="on" > class="contentBaseInlinedText" type="checkbox"> > > > But I would like > > <input id="itemForSale[1].lineDetail[0].selected" > name="lineDetail[0].selected" value="on" class="contentBaseInlinedText" > type="checkbox"> > <snip/>
Try the nested tags [1]. -Rahul [1] http://struts.apache.org/struts-taglib/tagreference-struts-nested.html > > I guess struts don't support that... If yes is there a way I would be > able to validate it? > > Thanks for your help!!! > > /David > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]