This content has been marked as final.
Show 5 replies
-
1. Re: Problem with FacesMessages
saeediqbal1 Apr 30, 2007 7:34 PM (in response to nstoddar)what is the scope? what are you using? the rendered tag?
-
2. Re: Problem with FacesMessages
nstoddar Apr 30, 2007 10:38 PM (in response to nstoddar)"saeediqbal1" wrote:
what is the scope? what are you using? the rendered tag?
I'm just doing this in some plain Java code -- all within the same request cycle. -
3. Re: Problem with FacesMessages
pmuir May 1, 2007 5:15 AM (in response to nstoddar)Seam does some magic to propagate your FacesMessage across redirects - the messages aren't actually added to the FacesContext until just before they are rendered. The getCurrentXXX() methods are just convenience methods to get the current messages from the FacesContext and don't get the messages enqueued by FacesMessages.
-
4. Re: Problem with FacesMessages
nstoddar May 1, 2007 8:53 AM (in response to nstoddar)"petemuir" wrote:
Seam does some magic to propagate your FacesMessage across redirects - the messages aren't actually added to the FacesContext until just before they are rendered. The getCurrentXXX() methods are just convenience methods to get the current messages from the FacesContext and don't get the messages enqueued by FacesMessages.
Is there a way to determine if there are messages in FacesMessages (before they are propagated across the redirect)? -
5. Re: Problem with FacesMessages
pmuir May 1, 2007 9:09 AM (in response to nstoddar)Can you file a feature request in JIRA and I'll look at options (it's certainly possible, it's just which way is neatest)