1 Reply Latest reply on Nov 22, 2006 1:14 PM by anti spart

    How to queue a FacesMessage from @Unwrap

    anti spart Newbie

      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";
      }