Hi all,
I have a few pages where in my
JSP pages I loop through a List<SomeType> and for each, I build up a set of <s:..> elements. Typically I do something like:
<s:select list="states" name="pageBean.stateSelections[<%= cntr %>].selectionId">....</s:select>.
I am wondering if this is the correct way to handle the form generation.. in my action class that the form submits to, I have a variable, PageBean, that has a property Collection<State> stateSelections. Each State object has a selectionId property in it. I am having some difficulties in getting this to work, so wanted to make sure this is the right way.
Thanks.