我有一个像这样的commandButton ......
<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>
h:outputLabel显示“false” disabled =“#{selectPage.car.planStage.planStageId!= 3}”顺便评估为false 当我单击它时,它不会执行该功能,即使我删除了disabled属性,它也能正常工作