Override the default StaleSession page with your own implementation.
Just create a page called e.g. MyStaleSession and use an
InfrastructureOverride in Hivemind like this:
<contribution configuration-id="tapestry.InfrastructureOverrides">
<property name="staleSessionPageName" value="MyStaleSession" />
</contribution>
Look here http://www.nabble.com/forum/ViewPost.jtp?post=7217351&framed=y
here
http://tapestry.apache.org/tapestry4.1/developmentguide/exceptionpages.html
here
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/pages/StaleSession.html?view=markup
and here
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/pages/StaleSession.page?view=markup
for more information.
Cheers,
Uli
spot_ schrieb:
Hello all
I configured my T4.1 for friendly URLs
(http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html).
Everything works perfect, except a session restart as a result of time out.
In this case Tomcat (?) renders a page with the message, that the session
was timed out and with a link to restart.
This link points to the old (non-friendly URL): http://host/context/app
instead to my new home page: http://host/context/Home.page
Can anybody tell me how to solve this issue?
Thanks in advance.
Regards
Christoph
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]