W3C home > Mailing lists > Public > public-xformsusers@w3.org > May 2017

Re: ACTION-2120: Research the relationship between the recalculate (etc) events and the actions

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Thu, 11 May 2017 09:03:19 -0700
Message-ID: <CAAc0PEW6_RtgSYxOahtfzAC3WKBcmzbg2bC86sDDHhFqkVrvRA@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: XForms <public-xformsusers@w3.org>
I found a few places in our implementation:

- the `xf:reset` action
  - XForms 1.1 says "Then, the events xforms-rebuild,
xforms-recalculate, xforms-revalidate
and xforms-refresh are dispatched to the model element in sequence"
  - XForms 2.0 now no longer mentions dispatching events
- the `xf:recalculate` etc. actions dispatch it to run the actual
recalculate
  - this goes against XForms 1.1 and 2.0, maybe some legacy way of doing
things
- a couple of places where they are used internally

I think we can get rid of all these uses.

However XForms 2.0 still quietly mentions that these events are dispatched
in [12.1.8 Sequence: Value Change][1],

> 1. xforms-recalculate
> 2. xforms-revalidate
> 3. ...

-Erik

[1]
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#Sequence:_Value_Change

On Thu, May 11, 2017 at 2:37 AM, Steven Pemberton <steven.pemberton@cwi.nl>
wrote:

> So after some investigation, and replacing text like "during the default
> processing of the xforms-recalculate event" with "during recalculate", I
> discovered that the four events
>
>    xforms-rebuild, xforms-recalculate, xforms-revalidate, xforms-refresh
>
> aren't specified as being dispatched anywhere.
>
> So I wondered, do your implementations dispatch these events, and if so,
> under what circumstances?
>
> Steven
>
>
Received on Thursday, 11 May 2017 16:11:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:48 UTC