- From: Mark Birbeck <mark.birbeck@x-port.net>
- Date: Wed, 4 Aug 2004 13:10:07 +0100
- To: <www-forms@w3.org>
Greg, You won't be able to use lazy authoring for xf:upload since the @ref needs to point to a data type of a URI, or one of the binary encodings. See: <http://www.w3.org/TR/xforms/slice8.html#ui-upload> Regards, Mark Mark Birbeck CEO x-port.net Ltd. e: Mark.Birbeck@x-port.net t: +44 (0) 20 7689 9232 w: http://www.formsPlayer.com/ Download our XForms processor from http://www.formsPlayer.com/ > -----Original Message----- > From: www-forms-request@w3.org > [mailto:www-forms-request@w3.org] On Behalf Of Greg Latton > Sent: 04 August 2004 12:10 > To: www-forms@w3.org > Subject: File Uploads > > > > 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:label>Graphic:</xf:label> <xf:filename ref="@filename" /> > <xf:mediatype ref="@content-type" /> </xf:upload> > > Any help would be much appreciated. > Regards, > Greg >
Received on Wednesday, 4 August 2004 08:10:19 UTC