Hey Sven,

2010/9/27 Knoblich Sven <[email protected]>:
> Hello,
> the filename is not known until the handle handleRequest is called. If it is 
> not a sensible position (WResource::handle), a change would be nice. Or maybe 
> you can suggest me an other mechanism to generate a file during a WAnchor 
> call.

You could not use suggestFileName() and add the header for this
yourself during handleRequest():

    response.addHeader("Content-Disposition", "attachment;filename=" +
mySuggestedFileName);

> Further the WResource::handle method will not be called under IE and nothing 
> happen. All other browser start the download or show the download-dialog.

Is there any chance of isolating this in a small test case ?

Regards,
koen

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to