-
1. Re: pageflow <end-conversation> vs. @converstational
asiandub Sep 8, 2008 9:17 AM (in response to asiandub)ooops, just bumped into that question again ;-)
nobody able to clarify?
question was:
when does
<page name="finishDeactivation" view-id="/x/y/z.xhtml">
<end-conversation />
<redirect />
</page>
finish a conversation? is it a bug or a feature that i cannot access the conversation scope from inside x/y/z.xhtml anymore?
many thanks for clarifying,
jan -
2. Re: pageflow <end-conversation> vs. @converstational
schlegel Sep 12, 2008 8:28 AM (in response to asiandub)Hi
What I know @Conversational means that every method invocation must be within a long running conversation.
But you end the conversation before the redirect to the finishDeactivation page. -
3. Re: pageflow <end-conversation> vs. @converstational
asiandub Sep 12, 2008 9:24 AM (in response to asiandub)hello Hans,
thanks for answering. :-)
well, i don't know what you exactly are referring to with 'But you end the conversation before the redirect'.
What I want is ending the conversation on the last page. That's why I close it on the last page. don't be confused by the fact that ...end-conversation... comes before ...redirect.... this is due to dtd-restrictions and not up to my choice..
again - i would expect that ...end-conversation... ends the conversation after the view-id is rendered. but it seems to end the conversation as soon as it starts rendering the page.
unless someone has a good reason to do so, i would consider that this is a bug...
jan
-
4. Re: pageflow <end-conversation> vs. @converstational
schlegel Sep 12, 2008 10:10 AM (in response to asiandub)Hi Jan
end-conversation has two parameters - you could try this...
<end-conversation before-redirect="false"/>
I'm not sure what the default is...
hans
-
5. Re: pageflow <end-conversation> vs. @converstational
asiandub Sep 12, 2008 10:19 AM (in response to asiandub)this was it...
Danke!