W3C home > Mailing lists > Public > public-forms@w3.org > June 2007

Future feature needed: Distinguishing ref types

From: John Boyer <boyerj@ca.ibm.com>
Date: Wed, 27 Jun 2007 16:20:49 -0700
To: public-forms@w3.org
Message-ID: <OF3D2D6324.DF33C29D-ON88257307.007FBC4C-88257307.008040FE@ca.ibm.com>
The issue about the use of ref for output/mediatype reminded me that, as 
Erik's intuition is suggesting, we need to do a better job of identifying 
different "types" of refs.

When we use a  ref attribute, 

1) Sometimes we want MIPs and UI events (form controls), and sometimes we 
don't (actions, metadata elements)

2) Sometimes we want to read a node only, sometimes we want to write it 
only, and sometimes we want both.

3) Sometimes we want the node content to be restricted to string content 
(UI bindings setvalue action), sometimes we want to address the entire 
subtree rooted by the node (submission).

The last point is really one that will become more important for us in 
future features because it seems like we might eventually want "subforms" 
that can bind to and process an entire subtree of data as a unit.  Right 
now the submission ref only reads a subtree, but here is a case where a UI 
binding might reasonably want read/write access to a subtree.

John M. Boyer, Ph.D.
STSM: Lotus Forms Architect and Researcher
Chair, W3C Forms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com 

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Received on Wednesday, 27 June 2007 23:20:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:43 UTC