wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Changes in Wicket 6.x branch related to page instantiation?
Date Fri, 19 Apr 2013 13:42:24 GMT
Show us the stacktrace.


On Fri, Apr 19, 2013 at 4:36 PM, Nick Pratt <nbpratt@gmail.com> wrote:

> Has anything changed in the Wicket 6.x branch with regards to page
> instantiation and authentication?
>
>
> I had code that was working that did the following:
>
> Page page = new MyAuthProtectedPage( someParams, someIModel );
>
> This page was then passed to a RedirectPanel, where I did this in the
> Panel's constructor:
>
> add(new AbstractAjaxTimerBehavior( Duration.seconds( 2 ) )
> {
> @Override
>  protected void onTimer( AjaxRequestTarget target )
> {
> this.stop( target );
>  setResponsePage( webPage );
> }
> });
>
> This was working, and if the page I passed in was protected, then Wicket
> intercepted the redirect, showed the login page and allowed authentication,
> and then after successful auth, the page I had constructed was shown.  Now
> with Wicket 6.7.0 Im hitting exceptions during the initial page
> construction - Im getting a RestartResponseAtInterceptPageException during
> the constructor.
>
> Any thoughts?
>
> Nick
>



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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message