Hi,

I am a newbie of nevow. I want to open a save as dialog and enable the user
to save files.
I tried to use javascript with a href link but with no success.
I write:

"""
...
file = open('fifo.txt', 'w')
file.write('smth')
file.close()

return [
    T.a(href="fifo.txt", onclick="saveFile('fifo.txt')")['Save'],
    webform.renderForms()[FORM_LAYOUT],
]

"""
How can I achieve in this?
How can I give a link to a file in the server without nevow_carryover
repling the request?

Suha
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to