wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kees van Dieren <i...@squins.com>
Subject What replaces Wicket 1.4 AbortException in Wicket 6.x?
Date Mon, 19 Nov 2012 21:29:08 GMT
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 in by the
user in a wicket form.

However, AbortException does not exists any more.

What is the best way to do it on Wicket 6?


Thanks in advance!

-- 
Best regards / Met vriendelijke groet,

Kees van Dieren
Squins | IT, Honestly
Oranjestraat 23
2983 HL Ridderkerk
The Netherlands
Mobile: +31 (0)6 30413841
www.squins.com
http://twitter.com/keesvandieren
Chamber of commerce Rotterdam: 24435130
Boeken voor school en werk bestel je op studieboekencenter.nl

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message