W3C home > Mailing lists > Public > public-xformsusers@w3.org > May 2012

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

From: Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com>
Date: Fri, 25 May 2012 06:32:01 +0000
To: John Boyer <boyerj@ca.ibm.com>
CC: Leigh L Klotz Jr <leigh.klotz@xerox.com>, Public Forms <public-forms@w3.org>, "<public-xformsusers@w3.org>" <public-xformsusers@w3.org>
Message-ID: <636B7A43-F4C8-4C78-8D44-244F436FEBA0@inventivegroup.com>
John,

I thought that the last two resolutions/actions invalidated the previous resolutions/actions. If we still want to go forward with this I can make the changes. But we should put it back on the agenda then, or agree by e-mail.

One thing, it might make sense to add model also to common attributes, because all XForms elements can now have  XPath expressions (AVT's in attributes and context attribute).

Kind regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 425 41 02
Office fax: +32 3 821 01 71
nick.van.den.bleeken@inventivegroup.com<mailto:nick.van.den.bleeken@inventivegroup.com>
www.inventivedesigners.com


[cid:image001.png@01CBF2F8.1DA19110][cid:image002.png@01CBF2F8.1DA19110][cid:image003.png@01CBF2F8.1DA19110]

On 24 May 2012, at 16:11, John Boyer wrote:

Hi Nick and Leigh,

It hasn't been done yet, but this action is to correspond with
1) removing ref/nodeset as special attributes from elements like header and bind
2) adding binding exceptions on header and bind if you bind to a model other than the containing one with a model or a bind attribute
3) removing model as special attribute from elements like var and rebuild/recalculate/revalidate/refresh
4) clarifying special handling of model attribute on these elements

Also, Leigh, we were thinking that perhaps you were asking about whether context applied to only to single node bindings (versus also nodeset bindings) due to something specific you were reading that needed clarification, and if so, could you indicate what that is (unless it is now clear by the move of context attribute to the Common group).

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

Twitter: http://twitter.com/johnboyerphd
Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed: http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw





From:        Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com<mailto:Nick.Van.den.Bleeken@inventivegroup.com>>
To:        Leigh L Klotz Jr <leigh.klotz@xerox.com<mailto:leigh.klotz@xerox.com>>
Cc:        "<public-xformsusers@w3.org<mailto:public-xformsusers@w3.org>>" <public-xformsusers@w3.org<mailto:public-xformsusers@w3.org>>, Public Forms <public-forms@w3.org<mailto:public-forms@w3.org>>
Date:        24/05/2012 12:41 AM
Subject:        Re: Added context everywhere (by adding it to the binding    attributes)
________________________________



Leigh,

Thank you for the great input!

We've added @context to Common attributes because now that we have AVT's (and if, while attribute on actions) it makes indeed sense to have context everywhere, this was the intention anyway. (We also ensured that all XForms elements allow at least the common attributes).

Could you elaborate a bit why you are thinking @context may not go on both single-node-binding and sequence-binding? It is intended to go everywhere.

Kind regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 425 41 02
Office fax: +32 3 821 01 71
nick.van.den.bleeken@inventivegroup.com<mailto:nick.van.den.bleeken@inventivegroup.com>
www.inventivedesigners.com


<Mail Attachment.png><Mail Attachment.png><Mail Attachment.png>

On 21 Apr 2012, at 01:15, Leigh L Klotz Jr wrote:

There is still a distinction between
single-node binding: @model, @ref, @bind
and
sequence-binding (formerly nodeset) binding @model, @ref, @nodeset, @bind
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, switch,
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)
var

Leigh.

--
This message has been scanned for viruses and
dangerous content by MailScanner<http://www.mailscanner.info/>, and is
believed to be clean.


________________________________

Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer

--
This message has been scanned for viruses and
dangerous content by MailScanner<http://www.mailscanner.info/>, and is
believed to be clean.


________________________________

Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer



image001.png
(image/png attachment: image001.png)

image002.png
(image/png attachment: image002.png)

image003.png
(image/png attachment: image003.png)

Received on Friday, 25 May 2012 06:32:33 UTC

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