[Stripes-users] Two dimensional arrays in actions

2011-11-29 Thread Nathan Robertson
Hi, I'm working on a problem at the moment where a form has an arbitrary number of questions, each of which has an arbitrary number of answers. In some cases, it's ok for the customer to select zero or more of the options, in other cases they must select exactly one. I've got a form that looks

Re: [Stripes-users] Two dimensional arrays in actions

2011-11-29 Thread Freddy Daoud
Hi Nathan, A few comments below. Hope that helps. [...] s:form beanclass=${actionBean.class.name} name=frmExam p(Q1). In which country were you born?/p ps:radio name=answer[1] value=1/Australia/p ps:radio name=answer[1] value=2/Other/p pnbsp;/p p(Q2). Do you speak any of these

Re: [Stripes-users] Two dimensional arrays in actions

2011-11-29 Thread Nathan Robertson
Hi Freddy, Thanks for the help. Further comments inline. On 30 November 2011 15:12, Freddy Daoud xf2...@fastmail.fm wrote: [...] Not a big deal, but note that you can use just beanclass=${actionBean.class} in s:form. Noted. Thank you. [...] I don't think this affects your code, but I would