W3C home > Mailing lists > Public > www-forms@w3.org > January 2007


From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Mon, 22 Jan 2007 13:12:21 -0800
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF402B2DB00@usa7061ms01.na.xerox.net>
To: "Pietro Mele" <pietromele@yahoo.com>, <www-forms@w3.org>
Try the attached file.  I added an element name under inputData and used
the xf:filename and xf:mediatype elements under the xf:upload to bind
the filename and mediatype to those nodes.
If you want to save just the filename and not the file contents, you
might consider restructuring your instance to put the element attach
somewhere else, and the in your submission, specify
ref="/paths/inputData" and only that will be stored.
Please write back if this isn't clear.

From: Pietro Mele [mailto:pietromele@yahoo.com] 
Sent: Monday, January 22, 2007 6:35 AM
To: www-forms@w3.org

I need an XForms that lets me choose a filename from the usual popup
directory window, and that stores the selected file name/path on a local
text file.
I tried with the following code, but it does not work properly: 

Received on Monday, 22 January 2007 21:12:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:19 UTC