hi list,
maybe i'm a bit rusty or there is some upgrade or something. i hope some of
you can fix this example.
i have a list of prices and each price has a name.(standerd vip child etc).
<c:forEach var="price" items="${prices}">
[${price.name}] <s:select list="priceAmounts" id="price.id"
name="price.name"/>
</c:forEach>
the ${price.name} works fine. it prints out the name.
but the select is not working. price.id and price.name are not translated
into their name. i get this:
[standaard] <li id="wwgrp_price.id" class="wwgrp">
<div id="wwctrl_price.id" class="wwctrl">
<select name="price.name" id="price.id">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select></div> </li>
someone nows the solution??
thanks,
tibi
--
View this message in context:
http://www.nabble.com/struts-taglib-select-with-foreach-example-tp22600991s2369p22600991.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]