You need to access it through a managed bean:
<h:selectBooleanCheckbox disabled="#{!bean.somevalue}" />
Another way that in my humble opinion is prettier to read, for sure, if a boolean property has a self-documenting name ( somevalue is not), uses the not keyword:
<h:selectBooleanCheckbox disabled="#{not bean.somevalue}" />
Also, someone can clarify if a value is assigned to a logical one, what will happen then.
boolean is primitive and defaults to false when not initialized as an instance variable. If you used boolean , then it would be null by default.
source share