You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Douglas Ferguson <do...@douglasferguson.us> on 2009/04/20 09:30:47 UTC

Haulting Execution of Page

If I detect a certain scenario I want to hault execution of the page, however if I "return" then wicket complains of components in the markup that aren't on the page.

Is there a way to abort rendering? i.e. I'm setting a redirect at the servlet response, so I don't want wicket to bother setting up the page for rendering.

Douglas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Haulting Execution of Page

Posted by Martijn Dashorst <ma...@gmail.com>.
see org.apache.wicket.AbortException and its subtypes.

Martijn

On Mon, Apr 20, 2009 at 9:30 AM, Douglas Ferguson
<do...@douglasferguson.us> wrote:
> If I detect a certain scenario I want to hault execution of the page, however if I "return" then wicket complains of components in the markup that aren't on the page.
>
> Is there a way to abort rendering? i.e. I'm setting a redirect at the servlet response, so I don't want wicket to bother setting up the page for rendering.
>
> Douglas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org