[jboss-user] [JBoss Seam] - How to queue a FacesMessage from @Unwrap

antispart do-not-reply at jboss.com
Wed Nov 22 13:10:21 EST 2006


I have a method annotated with @Unwrap that needs to add a FacesMessage error under certain circumstances. I've found that I can only add a FacesMessage from an action (listener) method and not from @Unwrap method.  Is there a workaround for this or is this not the expected behavior?

@Unwrap
  | public String foo() {
  |     facesMessages.addFromResourceBundle("errors_List");
  |     return "foo";
  | }

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

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



More information about the jboss-user mailing list