Your <nested:root> isn't what you expect it to since you are closing it immediately. Look closely, you have
<nested:root name="permissionteset"/> ^^ You probably meant <nested:root name="permissionteset"> .. </nested:root> Sri > -----Original Message----- > From: Jordan Thomas [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 09, 2003 11:06 AM > To: Struts-User > Subject: Problems with nested tags > > > Hi, > > I am trying to use the nested tags within an iterate loop and > I am getting the following output: > > <input type="hidden" > name="org.apache.struts.taglib.html.BEAN[1].permissionLanguage > Data[1].langua > geId" value="en"> > > What I really need is: > > <input type="hidden" name="languageId[1]" value="en"> > > I am not sure what I am doing wrong here. My code looks like: > > <nested:iterate id="permissionteset" > name="permissionForm" property="permissionLanguageData" > type="scoop.ejb.entity.data.PermissionLanguageData"> > <nested:root name="permissionteset"/> > <tr> > <td> > <nested:write property="languageName"/> > <nested:hidden property="languageId" indexed="true"/> > </td> > </tr> > </nested:iterate> > > Note that I am not using this inside a <nested:form> tag > hence the use of the <nested:root> tag. Any pointers for this > would be great! > > thanks > > Jordan > > > > -- > To unsubscribe, e-mail: > <mailto:struts-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>