[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: [jboss-user] [JBoss Seam] - Problem with FacesMessages
From: nstoddar <do-not-reply () jboss ! com>
Date: 2007-04-30 21:35:54
Message-ID: 1504447.1177968954371.JavaMail.jboss () colo-br-02 ! atl ! jboss ! com
[Download RAW message or body]
I'm having a problem with FacesMessages. I have a pageflow where on a transition I \
execute a validation method that adds a message to the FacesMessages object. The \
"to" for the transition is a decision node that calls a method that is trying to \
determine if there are FacesMessages present and transition based on that logic ... \
(sorry -- wordy explanation).
My problem is that the FacesMessage object is returning an empty list for \
getCurrentMessages() and getCurrentGlobalMessages() -- I can set a breadpoint and see \
my message sitting there in its member variable list, but I always get an empty list \
from FacesMessages when I invoke either of those two methods.
When I add the message directly to the FacesContext, FacesMessages correctly returns \
me a non-empty list, but the messages aren't visible after the redirect to the next \
page in my pageflow.
Am I doing something incorrect here? I was expecting FacesMessages to show me the \
message I just added to it....
View the original post : \
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041990#4041990
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041990
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic