- From: Mark Birbeck <mark.birbeck@x-port.net>
- Date: Sat, 16 Apr 2005 14:03:17 +0100
- To: "'Klotz, Leigh'" <Leigh.Klotz@xerox.com>
- Cc: "'Micah Dubinko'" <micah@dubinko.info>, <www-forms@w3.org>
Hi Leigh,
> Micah,
> Are you imagining this?
>
> <upload>
> <label>foo</label>
> <filename ref="fn" />
> </upload>
>
> I.e., upload with no single-node binding attributes?
Unfortunately you cannot leave off the single node binding.
However, the spec already allows for us to do what Micah
wants, as follows (I think it was actually you who designed
this feature!):
<xf:bind nodeset="my-file" type="xsd:anyURI" />
<xf:upload ref="my-file">
<xf:label>Choose file</xf:label>
</xf:upload>
I like this approach, since -- in keeping with the
'principles' of XForms -- we obtain different behaviour at
the UI level by changing the data type at the model level.
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/
b: http://internet-apps.blogspot.com/
Download our XForms processor from
http://www.formsPlayer.com/
Received on Saturday, 16 April 2005 13:03:39 UTC