[jboss-user] [JBoss Seam] - Problem with FacesMessages
nstoddar
do-not-reply at jboss.com
Mon Apr 30 17:35:54 EDT 2007
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
More information about the jboss-user
mailing list