Hi Garry,
In the sitemap.xmap, within your map:selectors, you could add the
following
<exception
class="org.apache.cocoon.components.flow.InvalidContinuationException"
name="invalid-continuation" />
Then where you're doing error-handling in the sitemap, e.g.
<map:handle-errors>
<map:select type="exception">
<map:when test="invalid-continuation">
Generate or re-direct to a pre-prepared error page
</map:when>
<map:when ...other exceptions...>
</map:when>
</map:select>
</map:handle-errors>
you can provide something for users with invalid continuations, e.g.
generate a 'session expired' page or something similar.
Thanks,
Stu
-----Original Message-----
From: Gerry Kaplan [mailto:[EMAIL PROTECTED]
Sent: 11 September 2005 16:59
To: [email protected]
Subject: Expired continuations
Is there a document or an example somewhere that shows how to handle an
expired continuation. If the continuation expires and the user tries to
continue their work, they get an ugly error page. How can I capture that
error? Is it in the flow or in a sitemap?
Thanks!!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]