events for select/select1

Hi,

I'm finding some inconsistencies between the different implementations and
I was wondering what the 'correct' answer is for this particular scenario.
Assume that I have a form with a select, select1 and a output all bound to
the same instance data node.  The select and select1 both contain identical
sets of items (Vanilla, Chocolate, Strawberry and Cherry Berry).  The
initial selection is 'Vanilla'.  If I now select 'Cherry Berry' from the
select1, from reading the spec the event order that I should expect for the
select1 is:

1) xforms-deselect for the Vanilla item
2) xforms-select for the Cherry Berry item
3) xforms-value-changed for the select1.

But what about the other controls?

   Should the Vanilla item in the select get a xforms-deselect?
   Should the Cherry Berry item in the select get a xforms-select?
   If these two are true, is it incorrect if the output gets a
   xforms-value-changed event before the items in the select get their
   xforms-deselect and xforms-select?  How about if the output gets the
   xforms-value-changed before the select1's items get xforms-deselect and
   xforms-select?

So in short I guess I'm wondering if xforms-select/deselect should be
generated on items that weren't physically selected/deselected by the user?
And are the event sequences in the spec guarenteed across the whole form
(all selects/deselects fire on the form before any value-changed events
fire) or are the event sequences only guarenteed on the controls that
receive them (independent of the other controls)?

--Aaron

Received on Sunday, 23 April 2006 00:21:19 UTC