Use a pages.xml action to check if there is a conversation active, if not redirect elsewhere.
I thought that that is the job of the no-conversation-view-id.
I would be great if you can post a snippet what i have to write in the pages.xml.
Here is an example from section 7.1.2 of the Seam 2 ref pdf:
In this case, the no-conversation-view-id declaration goes in pages.xml. It tells Seam to redirect to a different
page if a request originates from a page rendered during a conversation, and that conversation no longer exists:
<page view-id="/checkout.xhtml" no-conversation-view-id="/main.xhtml"/>
This is the same syntax/logic as above for "contact".
Not sure why you need to invoke an action method.
Perhaps it's b/c in your case a conversation does not exist to begin with???
I found this in the Seam in Action MEAP:
You must select at least two courses.
Perhaps, that's what Pete is talking about...
Is there a way set
for all pages, I mean not setting it for every page?
By the way when I use this
<page view-id="*" conversation-required="true" no-conversation-view-id="/home.xhtml">
my project does not run and falls in a loop.
..any ideas or solutions so far???