I'm having a problem using a4j:form with s:decorate.
This works - after an empty submission, #{invalid} is true
<h:form> <s:validateAll> <s:decorate> <p>Invalid: #{invalid}</p> <h:inputText value="#{sessionBean.test}" required="true" /> </s:decorate> </s:validateAll> <h:commandButton value="Submit" /> </h:form>
This does not work - after an empty submission, #{invalid} is false
<a4j:form ajaxSubmit="true"> <s:validateAll> <s:decorate> <p>Invalid: #{invalid}</p> <h:inputText value="#{sessionBean.test}" required="true" /> </s:decorate> </s:validateAll> <h:commandButton value="Submit" /> </a4j:form>
Any ideas?
Thanks in advance!
--mgbowman
Matthew,
It's just not updated on the client, because of AJAX request.