What replaces Wicket 1.4 AbortException in Wicket 6.x?

2012-11-19 Thread Kees van Dieren
Hi, We have some code that returns zip output (e.g. downloads a file) in an onsubmit of a wicket form. We used to do this (with Wicket 1.4): Get the WebResponse Fill it with the ZIP contents throw new AbortException(); The ZIP contents to be returned depends on the contents filled

Re: What replaces Wicket 1.4 AbortException in Wicket 6.x?

2012-11-19 Thread Kees van Dieren
used to do this (with Wicket 1.4): Get the WebResponse Fill it with the ZIP contents throw new AbortException(); The ZIP contents to be returned depends on the contents filled in by the user in a wicket form. However, AbortException does not exists any more. What is the best way to do

Re: AbortException

2010-02-08 Thread Erik van Oosten
); throw new AbortException(); However, there seems to be situations where the AbortException actually bubbles back up to the user. What would cause the redirect not to work and the AbortException to make it to the screen? D/ -- Send from my SMTP compliant software Erik van Oosten http

Re: AbortException

2010-02-07 Thread Martin Grigorov
(LinkPartners.class); throw new AbortException(); However, there seems to be situations where the AbortException actually bubbles back up to the user. What would cause the redirect not to work and the AbortException to make it to the screen? D

Re: AbortException

2010-02-07 Thread Douglas Ferguson
, Douglas Ferguson wrote: I may be using this wrong, but my understanding was that if I wanted to redirect a user and hault execution of the current page I could do the following: setResponsePage(LinkPartners.class); throw new AbortException(); However, there seems to be situations where

Re: AbortException

2010-02-07 Thread Douglas Ferguson
this wrong, but my understanding was that if I wanted to redirect a user and hault execution of the current page I could do the following: setResponsePage(LinkPartners.class); throw new AbortException(); However, there seems to be situations where the AbortException actually bubbles back up

AbortException

2010-02-06 Thread Douglas Ferguson
I may be using this wrong, but my understanding was that if I wanted to redirect a user and hault execution of the current page I could do the following: setResponsePage(LinkPartners.class); throw new AbortException(); However, there seems to be situations where the AbortException actually