Below are two drop down boxes. One using the struts html taglib. The struts drop down box does not dereference the var when it is passed to the javascript function. The non struts drop down works as expected. Can anyone explain why the struts html:select acts differently and how I can get it to dereference the var
Non struts dropdown:
<select name="<%=property%>" onchange="javascript
erformActions('<%=property%>')">
<option value="include">Include</option>
<option value="payoff">Payoff</option>
<option value="payoffWithAssets">Payoff with Assets</option>
<option value="exclude">Exclude</option>
</select>
Struts drop down:
<html:select property="<%=property%>" onchange="javascript
erformActions('<%=property%>')">
<html
ption value="include">Include</html
ption>
<html
ption value="payoff">Payoff</html
ption>
<html
ption value="payoffWithAssets">Payoff with Assets</html
ption>
<html
ption value="exclude">Exclude</html
ption>
</html:select>