This is what worked for me, maybe this is of use for someone else
IPageMap pageMap = //get page map (like in
//RestartResponseAtInterceptPageException#redirectToInterceptPage())
IRequestTarget target = createMySpecialTarget();
//now just to setup intercept url
pageMap.redirectToInterceptPage(SomePageIdontCareAbout.class);
//reset the target ..
cycle.setRequestTarget(target);
regards,
Eike
On [Mon, 27.09.2010 23:36], Eike Kettner wrote:
> Hi!
> I found two methods redirectToInterceptPage(Class) and
> redirectToInterceptPage(Page). I was wondering why there is no
> overloaded method with a IRequestTarget as argument. I'd like to use
> this with a custom request target, that's why i stumbled into this. So I
> like to do something like this:
>
>throw new Restart..InterceptException(new MyRequestTarget(..));
>
>
> But maybe there is a better way?
>
> Thank you for your time!
> regards, Eike
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
--
email: e...@eknet.org https://www.eknet.org pgp: 481161A0
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org