W3C home > Mailing lists > Public > www-forms@w3.org > November 2006

Re: Need erratum to eliminate xforms-select/xforms-deselect on itemset

From: Aaron Reed <aaronr@us.ibm.com>
Date: Wed, 29 Nov 2006 15:35:21 -0600
To: www-forms@w3.org
Message-ID: <ekkugh$inc$1@sea.gmane.org>

I didn't find anywhere in the spec where it even mentions that an 
itemset generates underlying xforms:items.  While this may be what most 
processors do, it is not a given.  I could be generating underlying 
html:options that are inserted into an underlying html:select.  So in 
that case, what would the target be?  The html:option would be the target?

I personally don't have a problem with the target not being the itemset. 
  At least then there is some way to differentiate between the 
xforms-*select events that an itemset may see.  But to make the target a 
hypothetical item seems bad.

--Aaron

John Boyer wrote:
> 
> In XForms 1.0 Second Edition, the itemset element was added to the list 
> of targets for the xforms-select and xforms-deselect events.
> 
> Well, it was not added everywhere e.g. in the event overview, so a 
> correction is needed regardless of the outcome of the discussion.
> 
> However, I believe it was an error to add itemset to the list of targets 
> for these events.  One does not select or deselect an itemset.  It 
> should be the case that the events are dispatched to the item elements 
> in a select or select1, regardless of whether the item elements are 
> declared in the source document or generated by an itemset.
> 
> Although there is an ongoing problem nailing down the exact meaning of 
> repeated content and how events flow between repeated content and the 
> generating elements, it is still reasonable not to make itemset a target 
> for these events because the content model for itemset allows actions 
> such as those that would be handlers for xforms-select and 
> xforms-deselect.  By the same logic that allows us to duplicate the 
> DOMActivate handler for a set of triggers created by a repeat, the 
> actions in an itemset must be assumed to be duplicated into each 
> generated item.
> 
> Please send your thoughts on this topic.
> 
> Thanks,
> John M. Boyer, Ph.D.
> STSM: Workplace Forms Architect and Researcher
> Co-Chair, W3C Forms Working Group
> Workplace, Portal and Collaboration Software
> IBM Victoria Software Lab
> E-Mail: boyerj@ca.ibm.com  http://www.ibm.com/software/
> 
> Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
> 
Received on Wednesday, 29 November 2006 22:33:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:08 GMT