2 Replies Latest reply on Nov 7, 2007 5:59 PM by razwed4ik

    How to reRender if Validation was OK

    razwed4ik

      Hi,

      <h:form id="form">
      ......
      a4j:commandLink action="#{bean.save}" value="#{msg['button.save']}" reRender="anotherForm"/>
      ......
      </h:form>

      as you see I have a FORM with a SAVE BUTTON. This button reRender another Form ad save this form in the Bean. My Problem is I want to reRender only if the Validation was OK, if not it shouldnt be reRender. Is this possible, maybe with JS.


      Thx i A.

      raz.