This content has been marked as final.
Show 4 replies
-
1. Re: Error in documentation, or my understanding?
wschwendt Sep 19, 2007 11:13 AM (in response to matt.drees)"matt.drees" wrote:
I haven't tested this, but this strikes me as wrong. Conversations by default don't end until after a redirect, right?
you're right. I haven't tested this either, but I, too, would say this section in the Ref Docs is wrong.
I think that unless the beforeRedirect attribute of the "end-conversation" element is set to true, there's no need use the solution where the document id is explicitly passed as request parameter, no matter whether we navigate to "/viewDocument.xhtml" with a "redirect" or with a "render" element.
But the solution with the documentId request parameter can make sense if we want to avoid that view "/viewDocument.xhtml" can access any conversation-scoped context variables of the conversation we just ended after the update. But in order to do the latter we would in fact have to write "end-conversation" with redirect=true.
-
2. Re: Error in documentation, or my understanding?
wschwendt Sep 19, 2007 11:14 AM (in response to matt.drees)correction:
I think that unless the beforeRedirect attribute of the "end-conversation" element is set to true, there's no need _to_ use the solution where the document id is explicitly passed as request parameter, ... -
3. Re: Error in documentation, or my understanding?
pmuir Sep 20, 2007 6:41 AM (in response to matt.drees)I think you are right Matt. Please open a JIRA issue.
-
4. Re: Error in documentation, or my understanding?
matt.drees Sep 20, 2007 1:33 PM (in response to matt.drees)Thanks Wolfgang and Pete.
http://jira.jboss.com/jira/browse/JBSEAM-1940