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

XForms custom controls?

From: Micah Dubinko <micah@dubinko.info>
Date: Sun, 17 Apr 2005 22:33:17 -0700
Message-ID: <4263469D.1040009@dubinko.info>
To: Mark Birbeck <mark.birbeck@x-port.net>
CC: "'Klotz, Leigh'" <Leigh.Klotz@xerox.com>, www-forms@w3.org

OK, I agree with this. How about a directory (rather than file) picker, 
though? Note that this is more than just SVG skinning--it needs custom 
code, for instance access to the native OS dialogs.

How hard would it be to extend formsPlayer this way? How about 
StarOffice or FF or other engines?

This is one of those areas where I think EXSLT-style community 
agreements would shine.

.micah

P.S. for an alternate take, here's InfoPath's story on custom controls: 
http://blogs.msdn.com/infopath/archive/2005/04/15/408728.aspx

Mark Birbeck wrote:

>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
>  
>

-- 
  Available for consulting. XForms, web forms, information overload.
  Micah Dubinko                           mailto:micah@dubinko.info
  Brain Attic, L.L.C.                        http://brainattic.info
  Yahoo IM: mdubinko                                +1 623 298 5172
  Learn XForms today: http://xformsinstitute.com
Received on Monday, 18 April 2005 05:33:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:00 GMT