13 Mar
2008
13 Mar
'08
7:24 a.m.
On 13/03/2008 09:16 Suha Onay wrote:
return [ T.a(href="/xxx/qqq.lqp")['Save'], webform.renderForms()[FORM_LAYOUT], ]
I run this page from Firefox, IE and IE Mobile. I want the browser open a save as dialog but it shows the file within the browser. How can I achieve this?
You need to set the MIME type for that extension. Not sure how to do this with the static file method, there is a mapping somewhere which you can pass as arguments to the instance if I remember correctly.