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

RE: Added context everywhere (by adding it to the binding attributes)

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Wed, 13 Jun 2012 15:23:39 -0700
Message-ID: <2736EE955448184396E36B4F0E8333CF016A9B2D@USA7061MS006.na.xerox.net>
To: John Boyer <boyerj@ca.ibm.com>
CC: Public Forms <public-forms@w3.org>, <public-xformsusers@w3.org>
I will try to get to these changes.


From: John Boyer [mailto:boyerj@ca.ibm.com] 
Sent: Wednesday, June 13, 2012 10:28 AM
To: Klotz, Leigh
Cc: Public Forms; public-xformsusers@w3.org
Subject: Re: Added context everywhere (by adding it to the binding

Hi Leigh, 

Further response to this line of inquiry: 
- Yes context goes everywhere, so we moved it to the Common group 
- As a result, the model attribute had to be moved to the Common group,
which applied model in places not previously applied 
- The bind element is explicitly restricted to binding to the current
model, if the model is expressed, to avoid cross-model computation
- The header and var elements are not restricted in terms of the model
to which they can bind as they are like actions, which are not
restricted from referring to another model. 
- As Nick previously responded, model and context apply to any kind of
- Actions such as rebuild, recalculate, revalidate, refresh and reset
were amended to remove model as a special attribute, since it is in
Common. The text was changed to use the model of the inscope evaluation
context instead, along with a Note indicating that the model attribute
could be used to change the context. 
- Actions and their children/descendants, such as dispatch and its
children, get context and model.  For example, it is at least feasible
(if not terribly useful) to get the dispatch name from the data of one
model and the dispatch targetid from the data of another model. 

John M. Boyer, Ph.D.
Distinguished Engineer, IBM Forms and Smarter Web Applications
IBM Canada Software Lab, Victoria
E-Mail: boyerj@ca.ibm.com  

Twitter: http://twitter.com/johnboyerphd
Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed:

From:        Leigh L Klotz Jr <leigh.klotz@xerox.com> 
To:        public-xformsusers@w3.org 
Cc:        Public Forms <public-forms@w3.org> 
Date:        20/04/2012 04:16 PM 
Subject:        Re: Added context everywhere (by adding it to the
binding   attributes) 


There is still a distinction between 
single-node binding: @model, @ref, @bind 
sequence-binding (formerly nodeset) binding @model, @ref, @nodeset,
In that single-node-binding is used on 
label, hjelp, hint, alert, message, item/value, item/copy,
upload/filename, upload, output, output/mediatype, input, textarea,
secret, select,select1, range, trigger, submit, load, setvalue, group,
and sequence-binding is used on 
itemset, insert, delete, repeat. 

Q: Does @context go on both single-node-binding and sequence-binding?

Q: Also, does @context go in any of the following places, which
currently have @nodeset, @ref, or @model: 
header, bind
other actions (rebuild, dispatch, send, setfocus, etc)

Received on Wednesday, 13 June 2012 22:24:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:14:07 UTC