Using Struts 1.0.2 with nested extension on Tomcat 4.0.2

How can one selectively disable some of the checkboxes rendered by a <nested:multibox> 
within a <nested:iterate>

To display the checkboxes, I have the following arrangement:

<nested:iterate property="products">
  <nested:multibox property="../selectedItems">
    <nested:write property="softwareCode"/>
  </nested:multibox>
</nested:iterate>

In order to be able to show some as disabled, I tried 

<nested:iterate id="currentProduct" type="com.sas.Product" property="products">
  <nested:multibox property="../selectedItems"
                            
disabled='<%=currentProduct.isInstalled()?"true":"false"%>'>
    <nested:write property="softwareCode"/>
  </nested:multibox>
</nested:iterate>

This results in the error

Error: No match was found for method "setDisabled(java.lang.String)"

Why is 'disabled' being treated as an attribute value?

Any suggestions on how to achieve my goal?


Sri

Reply via email to