1 Reply Latest reply on Aug 24, 2010 5:19 PM by Craig Bensemann

    Close modalPanel after submit

    Mirek Sz Newbie

      I have modalPanel which contains form submiting by a4j:commandButton.
      I want close this modalPanel on success form submiting it means without errors.

      When I use

      <a4j:commandButton oncomplete="closeModalWIndow()"/>

      its not work corretly because close window even when are validation errors.
      How to resolve this problem

      Best regards