We just experienced this problem as well with Seam 1.2.1.GA and JBoss 4.0.5.GA.
I noticed in the hotel booking example, when the user ends the conversation by
clicking the confirm button, it comes back to the main.xhtml with the success
message and the Search Hotels inputText field
No.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4086268#4086268
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4086268
___
jboss-user mailing list
jboss-user@lists.jboss.org
Jira:
http://jira.jboss.com/jira/browse/JBSEAM-503
L
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3986138#3986138
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3986138
___
Like I said, there is no good way to do this. That is the cost of ending the
conversation before the redirect, and is why that is not the default behavior.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3986228#3986228
Reply to the post :
I have looked a bit at the FacesMessages.java. I think I understand why I loose
my messages when I have @End(beforeRedirect=true). facesMessages is
conversation scoped:
@Scope(ScopeType.CONVERSATION)
| @Name(facesMessages)
| @Intercept(NEVER)
| public class FacesMessages implements
Have you tried adding a FacesMessage the old way - directly to the facesContext?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3985523#3985523
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3985523
Exactly, the whole *reason* for propagating conversations across redirects is
so that we can remember stuff like FacesMessages.
Pete, JSF most certainly does not propagate a FacesMessage across a redirect,
so that won't work.
View the original post :
I noticed today what if i throw an exception annotated with @Redirect from page
action then error message isn't displayed after redirect. Is it the same ussue?
How can workaround it?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3985623#3985623
Reply to the
hum. I will have to think that one through. It should work if you already have
a long-running conversation active the question is whether we should
promote a temporary conversation just to display the message (probably not).
But it might be worth adding an issue to JIRA, just to remind me
I think Pete is refering to something as suggested in
http://forum.java.sun.com/thread.jspa?forumID=427threadID=657727
This method saves a list of messages in the session which gets re-instated
later on. I have used it before but had a few issues where the same error
message gets displayed
10 matches
Mail list logo