You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Marcel Maré <li...@webtothemax.com> on 2001/09/02 00:24:21 UTC
Unexpected behavoir of html:options tag
Why isn't this allowed:
<html:select name="cartItem" property="selectedVariant" indexed="true" >
<html:options name="cartItem" collection="variantOptions"
property="value" labelProperty="label" />
</html:select>
but this is:
<bean:define id="theOptions" name="cartItem" property="variantOptions" />
<html:select name="cartItem" property="selectedVariant" indexed="true" >
<html:options collection="theOptions" property="value"
labelProperty="label" />
</html:select>
Looks kinda clumsy.
Marcel Maré
WebToTheMax
T 31(0) 204 100 240
M 31(0) 654 354 479
E mjmare@webtothemax.com
W http://www.webtothemax.com