and now the next step howto post the data to the action:
i have this working nice:
<s:iterator id="price" value="%{prices}" status="status">
<c:out value="${price.name}"/>
<s:select list="priceAmounts" id="a[%{#status.index}]"
name="a[%{#status.index}]"></s:select>
</s:iterator>
this wil give select boxes with name a[0] and a[1] etc...
in my action i have a method like this:
public void setA(Object o){
}
this method is called nicely 3 times (i have 3 select boxes) and i get
object. but this object is not a list or a map.
does someone knows howto recieve the multiple values??
thanks
--
View this message in context:
http://www.nabble.com/struts-taglib-select-with-foreach-example-tp22600991s2369p24684249.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]