1 Reply Latest reply on Nov 13, 2008 8:27 AM by ilya_shaikovsky

    a4j:commandlink and ModalPanel

      Hi,

      How to prevent to show the ModalPanel if the validation failure?

      I have an a4j:commandlink and show the successful message on modalpanel by oncomplete function.

      However, when the validation failure, the panel also show.

        • 1. Re: a4j:commandlink and ModalPanel
          ilya_shaikovsky

          it seems even simplier to me to update the modal panel after each request but instead of calling the panel manually define something like showWhenRendered="#{not facesContext.maximumSeverity==null}". So the panel will render itself as opened if there are some messages in context.