How do I dynamicly set the disabled property of a checkbox? Here's what
I've tried. ANy help would be appreciated.
<logic:iterate id='orderObj' collection='<%= request.getAttribute
("orders") %>'>
<tr class=lstLine1>
<td align=left width=70>
<bean:write name="orderObj" property="orderID"
filter="true"/>
</td>
<td>
<bean:write name="orderObj" property="orderStatus"
filter="true"/>
</td>
<td>
<html:multibox property='selectedOrders' disabled="<%
if (orderObj.getOrderStatus() == "Shipped")
System.out.print("true");
else
System.out.print("false");%>">
<bean:write name="orderObj" property="orderID"
filter="true" />
</html:multibox>
</td>
</tr>
</logic:iterate>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>