This content has been marked as final.
Show 3 replies
-
1. Re: ZIP generation (with PDFs )
nickarls Apr 3, 2009 1:30 PM (in response to mafym)Have a look at the IText docs
-
2. Re: ZIP generation (with PDFs )
mafym Apr 3, 2009 6:59 PM (in response to mafym)A final question (I hope).
When a user clicks on the
Download
button from a .xhtml page I want the ZIP archive to be generated and to appear on the client's browser the well known window withSave as.., Open
with the ZIP ready to be downloaded from the server.-the button looks like:
<s:button action="#{reportGenerator.generate}" value="Download"/>
-the component looks like:
@Name("reportGenerator") public class ReportGenerator { public void generate() { //what is the return type?? //code for build ZIP } }
Thank you!
-
3. Re: ZIP generation (with PDFs )
nickarls Apr 3, 2009 9:11 PM (in response to mafym)Have a look at how e.g the PDF tag (Document?) end uses the DocumentStore to serve its binary data.