[jboss-user] [JBoss Seam] - Some FacesMessages are not displayed.

antispart do-not-reply at jboss.com
Thu Dec 14 09:52:10 EST 2006


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993874#3993874

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993874



More information about the jboss-user mailing list