Hi all,

I have XML being generated on the client side using javascript - more
specifically its SVG XML, but it doesn't really matter.

I would like the user of the web application to be able to click an
'export' button and receive a download dialog for the XML created on
the client side.

At the moment I make an ajax call that sends the xml to the server,
saves it in a file.  After this is done a window.open java script call
is made to retrieve the file from the server where Firefox renders the
SVG XML rather than gives me a download dialogue.  I've read I can
change the content disposition header on the server to force a
download, but thought I ask someone here if there's a better way.  Any
suggestions ?

Chris Baron

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to