0 Replies Latest reply on May 29, 2009 5:12 AM by fabdib

    Intercept on xhtml page if facesMessages is full or empty

      Hi to everyone,
      i've a page with error message control like:

      <s:decorate id="privacyMsgDecorate">
      <s:div styleClass="value #{invalid?'errors':'vuoto'}">
      <h:message layout="table" styleClass="cntReg" for="privacy"/>
      </s:div>
      </s:decorate>

      I want set a label containings a message 'Error' if the error is showed, how i'can make this?
      Is possible intercept on the page if FacesMessages is not empty?

      Best regards, Fabio