Hi,
the commandButton with the id submit is set to disable after clicking
that works fine... then the method processSubmit is executed which
thats the booleanfield submitEnabled to true..
So actually after clicking the "clear" commandButton which reRenders the submit commandButton this button should be enabled again, but this
is not the case, why??
<a4j:commandButton id="submit"
disabled="#{homePageData.submitEnabled}"
value="Submit"
styleClass="submit_button"
onclick="disabled=true"
actionListener="#{homePage.processSubmit}" >
</a4j:commandButton>
<a4j:commandButton id="clear" styleClass="submit_button"
value="Clear"
actionListener="#{homePage.processClear}"
ignoreDupResponses="true"
reRender="inputRegion, serviceError, submit"/>