durusmail: quixote-users: How to have a form submit go to file save dialog
How to have a form submit go to file save dialog
2003-12-13
2003-12-14
How to have a form submit go to file save dialog
Mark Bucciarelli
2003-12-15
On Saturday 13 December 2003 10:45 pm, Jason E. Sibre wrote:

>   Two - Quixote gives you a GREAT way around the problem...  Due to
> _q_lookup, you can actually do something like
> "http://myserver.com/my-quixote-app/download/23/filename.ext".

This works great.  Since you give a file name and an extension, (on WIndows)
if you choose "Open" in the file dialog, it opens the file in the application
that is associated with that extension.  This is probably a massive security
risk, but it's convenient.

Once the form passed it's validations, the form's action method redirects to
the file name (/mark/calendar.vcs) and then ui.User._q_lookup() does the
rest.  Very nice, thanks!

Regards,

Mark


reply