Re: WICKET-4500 / WICKET-5140 and RestartResponseAtInterceptPageException.clearOriginalDestination()

2013-06-05 Thread Sven Meier
Hi Dirk, overriding #onUnauthorizedInstantiation() wouldn't help you, since #restartResponseAtSignInPage() overwrites the old interceptData with a new one. You're the one to decide when the interceptData can be cleared: In the page constructor would be a possibility. An

Re: WICKET-4500 / WICKET-5140 and RestartResponseAtInterceptPageException.clearOriginalDestination()

2013-06-04 Thread Dirk Forchel
Any idea? Any hint? Or should I add clearInterceptData() to the constructor of each Page class with authorized access? A short description in source code would be helpful. -- View this message in context:

WICKET-4500 / WICKET-5140 and RestartResponseAtInterceptPageException.clearOriginalDestination()

2013-06-03 Thread Dirk Forchel
With the fixed bug of WICKET-5140 the public method Component#clearOriginalDestination() has been added which uses the private method RestartResponseAtInterceptPageException.clearOriginalDestination(). I have no glue how to use this public method as we use the AuthenticatedWebApplication from the