Re: Session timeout page

2008-10-29 Thread Matthias Keller

Hi

See here for all kinds of different error pages you can easily adjust:
http://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html

Matt

Swanthe Lindgren wrote:
How do I change the session timeout page? I want my application to 
display the actual home page on session timout instead of the default 
Return to homepage-link page.


//Swanthe


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
[EMAIL PROTECTED]  +41 44 268 83 98
Ergon Informatik AG, Kleinstrasse 15, CH-8008 Zürich
http://www.ergon.ch
__
e r g o nsmart people - smart software




smime.p7s
Description: S/MIME Cryptographic Signature


Re: Session timeout page

2008-10-29 Thread Martin Grigorov
Is this session expiration or page expiration ?

I know it is a bit misleading but Wicket throws PageExpiredException
when it doesn't find a particular version of the requested page in the
page store.

There could be different reasons why the page is not found but in my
experience the most often case is that a field of some component is not
serializable and this prevents the storing of the page. 

On Wed, 2008-10-29 at 10:21 +0100, Swanthe Lindgren wrote:
 How do I change the session timeout page? I want my application to 
 display the actual home page on session timout instead of the default 
 Return to homepage-link page.
 
 //Swanthe
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Session timeout page

2008-10-29 Thread Kai Mütz
Swanthe Lindgren mailto:[EMAIL PROTECTED] wrote:
 How do I change the session timeout page? I want my application to
 display the actual home page on session timout instead of the default
 Return to homepage-link page.

Try

getApplicationSettings().setPageExpiredErrorPage(HomePage.class);

in the init() method of your application.

Kai


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]