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
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
);
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
(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
, 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
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
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