1 Reply Latest reply on Apr 9, 2013 9:26 AM by Michal Petrov

    do we have 'onerror' attribute for <a4j:commandButton>

    prathap_dudvat Newbie

      Im using richfaces3.3.3 final and jsf1.2,

      I use a modal panel as popup which conatins 3 fields

      I want to hide the popup once operation is completed successfully.

      If any validations(required=true,validator exceptions) error occured. The popup should not close.

       

      Presently im using oncomplete attribute, so the popup is closing even when error is happened

       

      Do we have any 'onerror' attribute or is there any way to find that an exception is occured for that submit operation.

       

      Thanks in advice