Use rundata.declareDirectResponse().  The call should probably be before
you start writing to the output stream, though that is not necessarily
required.  Let me know if this solves your problem.

John McNally

Thibault Weintraub wrote:
> 
>   Hi,
> 
>   I try to build a RawScreen in order to provide my users a way to download
> files. My RawScreen subclass returns a null Layout and use the
> rundata.getResponse().getOutputStream() stream to send the file bytes.
> Unfortunally it doesn't work. The user is not given a save or open file dialog
> box and when i trace the Turbine servlet doGet() method, i see that an
> exception is throw due to the RunData pageSet and outSet flags.
> 
>   Regards, T.W
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to