2 Replies Latest reply on Dec 22, 2006 11:26 PM by Tony Herstell

    Some FacesMessages are not displayed.

    anti spart Newbie

      I have something like the following:

      <a:outputPanel layout="block" ajaxRendered="true">
       <h:messages styleClass="errors" />
      </a:outputPanel>


      try {
       return bean.method();
      } catch (Exception e) {
       facesMessages.addFromResourceBundle("error");
       log.error("Error", e);
      }


      The problem is I never see this message in the view. Actually, if the session times out, then i see this error in addition to a context doesn't exist FacesMessage. So, that means that the addFromResourceBundle is working *sometimes*. I don't know whether I'm missing something...

      Any ideas what is causing this?

      Thanks.