I have a commandButton like this ...
<h:form>
<h:outputLabel
value="#{selectPage.car.planStage.planStageId != 3}"></h:outputLabel>
<h:commandButton id="btn_CA_plan"
styleClass="btn btn-success"
action="#{selectPage.btn_CA_plan_action}"
value="Submit CA plan"
disabled="#{selectPage.car.planStage.planStageId != 3}">
</h:commandButton>
</h:form>
the h:outputLabel shows "false" disabled="#{selectPage.car.planStage.planStageId != 3}" evaluates to false by the way When I click it, it doesn't execute the function, even though when I remove the disabled attribute, it works fine