Gilberto,

Thank you, I will definitely try to do this..



-----Original Message-----
From: Gilberto [mailto:[email protected]] 
Sent: Thursday, January 12, 2012 9:00 AM
To: [email protected]
Subject: Re: File Download with Click?

Hi,

The user guide[1] has more info[2] and the Direct Page example[3] uses
it. But a good way to do it is using a "pageAction" method[4] (As Josh
has explained) and exemplified here[5].

Regards,

Gilberto

[1] http://click.apache.org/docs/user-guide.html
[2] 
http://click.apache.org/docs/user-guide/htmlsingle/click-book.html#page-direct-rendering
[3] http://click.avoka.com/click-examples/general/direct-page.htm
[4] http://click.apache.org/docs/user-guide/html/ch02s07.html
[5] 
http://click.avoka.com/click-examples/source-viewer.htm?filename=WEB-INF/classes/org/apache/click/examples/page/general/ExcelExportPage.java


On Wed, Jan 11, 2012 at 6:55 PM, foxesout <[email protected]> wrote:
> Hello everyone
>
> What is the best way to download files from a click application?
>
> I would like to download to a text file, probably using the background
> thread.
> I need the user to click a link and see a popup where they can choose to
> Save, Open or Cancel action.
> If Save - they need to specify the file location.
> If Open - they will need some "please wait" or a moving image while they
> wait for the file to be generated.
>
> What is the most common way to implement a file download in Click?
> Thanks so much.
>
> --
> View this message in context: 
> http://click.1134972.n2.nabble.com/File-Download-with-Click-tp7177975p7177975.html
> Sent from the click-user mailing list archive at Nabble.com.

Reply via email to