mraible wrote:
>
> You cannot mix and match JSTL with Struts 2 tags. If you use a Struts
> 2 iterator tag with the <s:select>, it should work.
>
and right you are!
here is a working example:
<s:form>
<s:iterator id="price" value="%{prices}">
<c:out value="${price.name}"/>
<s:select list="priceAmounts" id="%{price.id}"
name="%{price.name}"></s:select>
</s:iterator>
</s:form>
it is quite confusing the two styles intermixing. and somehow i have an old
project wich is working fine which is mixing it.... i will investigate some
more... atleast there is a nice solution.
i think the problem is that for me the <c:*/> stuff is nothing different
than the <s:*/>. i miss some knowlidge here ;)
--
View this message in context:
http://www.nabble.com/struts-taglib-select-with-foreach-example-tp22600991s2369p22656979.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net