W3C home > Mailing lists > Public > www-forms@w3.org > January 2002

Re: Order of xforms:revalidate and xforms:recalculate

From: Jérôme Nègre <jerome.negre@e-xmlmedia.fr>
Date: Fri, 4 Jan 2002 15:53:56 +0100
Message-ID: <006c01c1952f$a3233680$630aa8c0@fischer>
To: <www-forms@w3.org>
> May I add a follow-up question: how would this processing (if
> confirmed as correct) differ from that for
> xforms:valueChanging(11.3.5)?

The dispatch of revalidate is added.

> Perhaps there is no difference intended, but if that is the case I am
> wondering how I could listen for changes to an instance data element
> (as opposed to the form control) and distinguish between instance data
> changes that were the result of a valueChanged vs. a valueChanging
> event.

First, I'd prefer that valueChanging doesn't modify the instance data
element (like in the previous draft).
That said, I think you can do what you want with the help of the mutation
event types introduced in DOM level 2.

Jérôme
Received on Friday, 4 January 2002 09:54:19 GMT

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