In the code below, how does one disable only one of the checkboxes (say out of 5 displayed) using JSF or Richfaces, etc.???
We're using JBoss SEAM 1.2.1.GA and JBoss 4.0.5.GA. thx!
<h:selectManyCheckbox id="allRoles" value="#{userRoleSearch.selectedChoices}" layout="pageDirection"> <f:selectItems value="#{userRoleSearch.choices}"/> </h:selectManyCheckbox>
The selectItem has an itemDisabled attribute:
http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/tlddocs/f/selectItem.html