thank you, it does work. But i have a problem with arranging the items in the form. This is my form <s:form action="do-translate-document" cssClass="formtable" method="POST"> <s:iterator value="contentList"> <p> <s:property value="expression" /> </p> <s:textarea /> <s:iterator value="translations"> <p><s:property value="translation" /></p> </s:iterator> </s:iterator> <s:submit /> </s:form>
As seen from form i'm trying to achieve this structure: <expression> <texarea_for_new_translation_input> <submited_translation0> <submited_translation1> <etc> but what i get is different. (check the attachment) --- On Mon, 6/13/11, Maurizio Cucchiara <[email protected]> wrote: From: Maurizio Cucchiara <[email protected]> Subject: Re: struts tags: How to use a list inside another list To: "Struts Users Mailing List" <[email protected]> Date: Monday, June 13, 2011, 6:33 PM Try this, AFAICR it should be work <s: itarator list="x"> <s: itarator list="y"> </s:iterator> </s:iterator> On 14 June 2011 00:21, Alexandru <[email protected]> wrote: > I want to do somethink like this > <s: itarator list="x"> > <s: itarator list="x.y"> > </s:iterator> > </s:iterator> > is it possible? Or should i use two separate lists? > -- Maurizio Cucchiara --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

