我新的自動進稿器,我想顯示/使能輸入文本框時複選框被選中,當它未被選中下面的複選框ADF的代碼,我應該禁用,ADF輸入文本啓用
ADF代碼:
<af:selectBooleanCheckbox label="Apply WITSML Filter" id="sbc11"
autoSubmit="true" contentStyle="margin-left:10px;" valueChangeListener="#{pageFlowScope.welljobs_bean.applyWITSMLFilterIndicator}"/>
豆:
private transient RichSelectBooleanCheckbox applyWITSMLFilterIndicator;
public void setapplyWITSMLFilterIndicator(RichSelectBooleanCheckbox applyWITSMLFilterIndicator) {
this.applyWITSMLFilterIndicator= applyWITSMLFilterIndicator;
}
public RichSelectBooleanCheckbox getapplyWITSMLFilterIndicator() {
return applyWITSMLFilterIndicator;
}
輸入文本我想表明:
<af:inputText id="it140" autoComplete="off"
binding="#{pageFlowScope.welljobs_bean.applyWITSMLFilterIndicator.curvesFilter}"
dimensionsFrom="content" editable="inherit" rendered="true"/>
豆:
private transient RichInputText curvesFilter;
public void setCurvesFilter(RichInputText curvesFilter) {
this.curvesFilter = curvesFilter;
}
public RichInputText getCurvesFilter() {
return curvesFilter;
}
任何人可以請幫助? 它也給我javax.faces.FacesException:javax.el.PropertyNotFoundException:類'java.lang.String'沒有屬性'curvesFilter'。異常
您可以添加jsf複選框代碼和關聯的java bean嗎? – MrAdibou
我已將它們添加到問題中,請檢查它們 – SaiCharan
您還可以添加要更改的inputText jsf嗎?我將在代碼中向您展示它更容易 – MrAdibou