Re: PageExpiredException and PageExpired

2012-03-15 Thread François Meillet
I found the problem : 

I use a IRequestCycleListener and my onException implementation was buggy.
The ordering of catch-clause was bad !.

Thanks Martin.

François



Le 15 mars 2012 à 08:46, Martin Grigorov a écrit :

> Hi,
> 
> Looking at the application from your other post I think the
> authorization strategy doesn't allow the showing of PageExpired page.
> It checks whether there is signed in user and either shows the
> requested page or shows the login page.
> 
> On Wed, Mar 14, 2012 at 9:05 PM, Francois Meillet
>  wrote:
>> I have the following settings
>> 
>> getPageSettings().setRecreateMountedPagesAfterExpiry(false);
>> getApplicationSettings().setPageExpiredErrorPage(PageExpired.class);
>> 
>> I don't get the PageExpired (which is bookmarkable) for PageExpiredException
>> 
>> Do I forget something ?
>> 
>> 
>> François
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
> 
> 
> 
> -- 
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: PageExpiredException and PageExpired

2012-03-15 Thread Martin Grigorov
Hi,

Looking at the application from your other post I think the
authorization strategy doesn't allow the showing of PageExpired page.
It checks whether there is signed in user and either shows the
requested page or shows the login page.

On Wed, Mar 14, 2012 at 9:05 PM, Francois Meillet
 wrote:
> I have the following settings
>
> getPageSettings().setRecreateMountedPagesAfterExpiry(false);
> getApplicationSettings().setPageExpiredErrorPage(PageExpired.class);
>
> I don't get the PageExpired (which is bookmarkable) for PageExpiredException
>
> Do I forget something ?
>
>
> François
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org