Re: How to preserve current url in error page

2013-05-07 Thread Martin Grigorov
Hi,

Use:
Class errorPage =
application.getApplicationSettings().getInternalErrorPage();
throw new RestartResponseException(new PageProvider(errorPage),
RedirectPolicy.NEVER_REDIRECT)


On Mon, May 6, 2013 at 6:23 PM, infiniter  wrote:

> I've got a listener that does the error handling in Wicket 6.6.0 and I want
> to keep the current url instead of replacing it with the url of the error
> page. Anyone
> Help is appreciated.
>
> Carlos.
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/How-to-preserve-current-url-in-error-page-tp4658595.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
>
>


-- 
Martin Grigorov
Wicket Training & Consulting
http://jWeekend.com <http://jweekend.com/>


How to preserve current url in error page

2013-05-06 Thread infiniter
I've got a listener that does the error handling in Wicket 6.6.0 and I want
to keep the current url instead of replacing it with the url of the error
page. Anyone
Help is appreciated.

Carlos.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-preserve-current-url-in-error-page-tp4658595.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