Hello!
I found the disabled attribute.
In some cases I set the disabled attribute of my button true. But I have to
refresh the jsp side before it works...
Can I do something like submit() in java?
My button:
<h:commandButton id="submitSave" styleClass="button"
action="#{ScheduleBean.saveSchedule}" value="OK"
disabled="#{ScheduleBean.disabledButton}" immediate="true"/>
in my Bean:
public boolean getDisabledButton() {
return disabledButton;
}
public void setDisabledButton(boolean disabledButton) {
this.disabledButton = disabledButton;
}
Thanks!
Conny
--
Ein Service von http://www.sms.at