You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by John Thorhauer <jo...@zenplex.com> on 2001/03/14 09:52:46 UTC

Re: Downloads through turbine

On Wednesday 14 March 2001 09:06, Alexander Banthien wrote:
> Hello poeple,
>
> I was was away from turbine for some weeks and now I am amazed at you
> speed: congratulations. Turbine is turning into a super product!
>
> My question: I have to reward certain actions on the site - including
> downloads - with some kind of bonus. While this is eazy for ordinary
> pages through action and screen classes, I still have a problem
> imagining how to do this with downloads (PDF, say).
>
> Can I simply switch the content type to some MIME-type and write the PDF
> to that stream? How would I do that? Is that desirable at all in terms
> of performance? what do you recommend?
>

Extending RawScreen is the way that you want to do this.

John
-- 
********************************
** John Thorhauer
** john@zenplex.com
** take a look at:
**  http://tambora.zenplex.org
**  http://www.zenplex.org
**  http://www.zenplex.com
********************************


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org