It looks like you may be able to nest <s:iterator> tags to achieve this.
<s:iterator value="%{questionsArrayFromActionClass}"> <s:property value="%{theQuestion}"/> <s:iterator value="%{answersFromQuestionClass}"> <s:radio... </s:iterator> </s:iterator> --Lee -----Original Message----- From: Odelya YomTov [mailto:ode...@jpost.com] Sent: Tuesday, October 13, 2009 6:09 PM To: 'Struts Users Mailing List' Subject: iterator and radio struts2 Hi! I have the following class: public class Question implements Serializable { private Integer id; private String content; private String type; private List<Answer> answers = new ArrayList<Answer>(); ..... } And class answer: public class Answer implements Serializable{ private Integer id; private String content; .... } I would like to iterate over the questions, and for each one display the option to choose the answer in a radio button. </snip> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org