You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by James Black <jb...@ieee.org> on 2005/07/07 18:39:26 UTC

re: how to do file download from a beehive app

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In my beehive app I am using the controls and pageflow parts but I need
to offer the user a way to d/l a file.

Generally I would just set the content type header and output the file,
but from within beehive how can this be done.

Thanx.

- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    james@usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzVq+ikQgpVn8xrARAo+DAKCOEcvMon2xKKvcpZ7KEJHcB390ZACePRc1
/VutOTNYbkcdb/Fy1QlP4J0=
=O+Fg
-----END PGP SIGNATURE-----

Re: how to do file download from a beehive app

Posted by Rich Feit <ri...@gmail.com>.
Hi James,

The way I've done it (and the way I've seen it done) is to do exactly 
what you're describing, within a Page Flow action that returns null 
(no-forward).  Let me know if you run into any issues with that, or if I 
should provide more detail.

Rich

James Black wrote:

> In my beehive app I am using the controls and pageflow parts but I need
> to offer the user a way to d/l a file.
>
> Generally I would just set the content type header and output the file,
> but from within beehive how can this be done.
>
> Thanx.
>