W3C home > Mailing lists > Public > www-forms@w3.org > April 2005

FW: Directory picker control

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Sat, 16 Apr 2005 14:03:17 +0100
Message-ID: <1B4E8651-EA3D-4864-B98C-8061416A0F80@S009>
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>

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.



Mark Birbeck
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
Received on Saturday, 16 April 2005 13:03:39 UTC

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