W3C home > Mailing lists > Public > www-forms@w3.org > August 2005

Events and replace="instance"

From: Erik Bruchez <erik@bruchez.org>
Date: Wed, 10 Aug 2005 14:48:30 -0700
Message-ID: <42FA762E.6050000@bruchez.org>
To: www-forms@w3.org

All,

Let's assume that an instance is submitted with replace="instance".

The spec (errata) says:

   "[...] all of the internal instance data ... is replaced with the
   result. Once the XML instance data has been replaced, the rebuild,
   recalculate, revalidate and refresh operations are performed on the
   model, without dispatching events to invoke those four
   operations. Submit processing then concludes after dispatching
   xforms-submit-done."

What is the rationale behind the "no-event" clause? If a control is
bound to a node whose value changes because the instance is entirely
replaced, wouldn't it make sense for events to be sent by that control
upon refresh? At the very least, shouldn't this be an option?

Thanks for your opinion,

-Erik
Received on Wednesday, 10 August 2005 21:48:45 GMT

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