Re: Section 9 (PR#153)

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 UTC