|Newbie questions about Pliant
On the '.tgz download' button in file_browser.pli
|Message posted by marcus on 2004/06/04 20:42:00
|I've noticed that when one clicks on that button, the browser prompts the user to
input the extension name of a filename which is already there in the input field.
How did you filled in that field with that file name?
I have copied that piece of code that implements the '.tgz download' button, but
when run it and click on the button, the filename of my .page file containing
the code appears in the inputfield in the browser window.
|Message posted by hubert.tonneau on 2004/06/04 21:14:56
|As far as I can understand your question,
the default name of the file Mozilla chooses when it switches to download and
store to disk because it receives a 'binary/*' mime answer is picked from
As a result, when the action is tiggered through a Pliant button, the name is
not smart because the target URL of a Pliant button is not smart.
|Message posted by marcus on 2004/06/04 22:12:46
Interesting. When the page where the '.tgz download' is located is created
via virtual_tree.page, the browser puts a randomly created filename in the input