W3C home > Mailing lists > Public > public-xformsusers@w3.org > December 2016

Re: The action Element

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Thu, 1 Dec 2016 10:47:09 -0800
Message-ID: <CAAc0PEX29T__yw5KrdeEa_P7CnkqNwSkgTm9boDT8PPghFsj_A@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: XForms <public-xformsusers@w3.org>
"12.5.5 The xforms-action-error Event" [1] covers this:

    "Target: the event observer that caused the action to be executed"

So it's the outer action element. Since the event bubbles you can listen to
it anywhere in the enclosing scope.

-Erik

[1]
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_xforms-action-error_Event

On Thu, Dec 1, 2016 at 5:45 AM, Steven Pemberton <steven.pemberton@cwi.nl>
wrote:

> https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The
> _action_Element
>
> "If the type attribute is present, and the language it indicates is not
> supported, then when the action element is activated, an
> xforms-action-error with error-type set to script-language-error is
> dispatched. \"
>
> "If an error occurs during execution, an xforms-action-error with
> error-type set to script-error is dispatched."
>
> Yes, but dispatched where? It can't be dispatched to the action element
> itself I think, because it would be hard listening to errors going to it.
>
> Steven
>
>
Received on Thursday, 1 December 2016 18:48:08 UTC

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