W3C home > Mailing lists > Public > www-forms-editor@w3.org > September 2007

Re: Section 9 (PR#153)

From: Nick Van den Bleeken <xforms-issues@mn.aptest.com>
Date: Wed, 12 Sep 2007 05:20:59 -0500
Message-Id: <200709121020.l8CAKx62030795@htmlwg.mn.aptest.com>
To: aaronr@us.ibm.com
CC: www-forms-editor@w3.org

Hi Aaron,

Spec ready solutions are now available for both of these issues in the editor's
draft. [1] (9.3.3 Repeat Processing and 9.3.6 The itemset Element)

35) We clarified in a note that all template content (including actions) are
made
unavailable to the host language processor.  So handlers declared within a
repeat do not handle elements dispatched to the repeat (and likewise for
itemset).  Actions declared within a repeat template operate over the repeated
content (e.g. the item elements generated by an itemset).

36) The actions within an itemset *are* applicable to each item generated.  The
sentence claiming that actions in the itemset don't handle events on
the itemset has been changed to simply state that, as with repeat, handlers
defined
within itemset do not handle events on the itemset.

This is necessary to prevent a double run of event handlers as events bubble up
from generated content to the generating repeat or itemset.

An example of how to handle events dispatched to a repeat or itemset was added.

Regards,

Nick Van den Bleeken
[1] http://www.w3.org/MarkUp/Forms/specs/XForms1.1/index-diff.html#ui-repeat-module

> Full_Name: Aaron Reed
> Submission from: (NULL) (32.97.110.142)
> Submitted by: boyerj
> 
> 
> 35) Section 9.3.2 - how should we handle XML event handlers contained at
> root level under a repeat or a non-xforms element with repeat attrs?  Like
> itemset (listeners registered on the repeat rows and not on the repeat
> itself)?
> 
> 36) Section 9.3.3 - "An XForms processor must not allow XForms Actions
> contained by an itemset to handle events on the itemset."  It seems odd
> that an XForms action OUTSIDE the itemset can handle events on the itemset.
> And non-XForms actions in the itemset won't be repeated under the anonymous
> items.  For example, the xhtml or xml events 'handler' element would be
> nice to have repeated to allow the form author to handle xforms-select and
> xforms-deselect events with script.
> 
> 
Received on Wednesday, 12 September 2007 10:22:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:16 GMT