W3C home > Mailing lists > Public > www-forms@w3.org > August 2004

File Uploads

From: Greg Latton <greg.latton@gmail.com>
Date: Wed, 4 Aug 2004 12:10:16 +0100
Message-ID: <9c1a094604080404106cf92c26@mail.gmail.com>
To: www-forms@w3.org

Can someone please explain the correct behaviour for XForms file uploads?
I'm currently trying to compare XForm's "Lazy Authoring" method with
HTML forms. After constructing a file upload UI as below, I am having
problems dealing with the submission server-side. I'm not sure whether
it's because I'm not picking it up, or because the XForms processor
(formsPlayer) is not sending the file.
The UI is as below:

<xf:upload ref="graphic" mediatype="image/*">
<xf:filename ref="@filename" />
<xf:mediatype ref="@content-type" />

Any help would be much appreciated.
Received on Wednesday, 4 August 2004 07:14:01 UTC

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