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 <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>


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

Reply via email to