Hi! I want to implement a simple cancel button. To skip the validation I added immediate="true" to the a4j:commandButton. The reset action will be invoked by the cancel button (I checked that with log) but the form will not get reRendered!
Example:
<h:form id="testForm">
<s:decorate template="/include/formFieldDecorate.xhtml">
<ui:define name="label">Duration</ui:define>
<h:inputText id="duration" size="5" value="#{testHome.instance.duration}" required="true" />
</s:decorate>
<s:div>
<a4j:commandButton value="Save" action="#{testHome.persist}" reRender="testForm" />
<a4j:commandButton value="Cancel" action="#{testHome.reset}" reRender="testForm" immediate="true" />
</s:div>
</h:form>
I cannot re-render the form in IE7 at all. Enclose form content into a4j:outputPanel/h:panelGroup and re-render it.