Hi,
I don't think there's a direct way to achieve what you want. However,
you could instead find the page class mapping to the url and use that in
the exception. I'm not too familiar with it, but have a look at
Application#getRootRequestMapper() and its mapHandler method. You could
perhaps use a MockWebRequest with your url to find out which
IPageClassRequestHandler maps to your page.
Bertrand
On 21/08/2012 1:43 PM, Dan12321 wrote:
Hi,
is possible to redirect page like this:
redirectToInterceptPage("myPage.html") ?
I can do it: redirectToInterceptPage(new MyPage());
But I know only "myPage.html" and I do not know what Page class it is. So is
it any way how to use string and redirectToInterceptPage?
Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/redirectToInterceptPage-and-string-tp4651417.html
Sent from the Users forum mailing list archive at Nabble.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