Re: Target of xforms-binding-exception

Hi Jérôme,

This is a good question. One way to solve this would be to change the
target of this event to the element, which contained the flawed binding
expression. Since it bubbles, it would be possible for the author to
catch it e.g. at the root anyway. Would this make sense for you?

-mikko

Jérôme Nègre wrote:

>
> Hi,
>
> the spec says that the event xforms-binding-exception is dispatched when
> a model attributes fails to point to the ID of a model element. It also
> says that this event's target is a model element, but which one? Since
> the model attributes doesn't point to a model element, there's no
> obvious answer IMHO. In such a situation, should the event be dispatched
> to the first model element of the document, to all model elements, or to
> none?
>
> Thanks in advance for your answers,
>
> Jérôme
>
>
>

Received on Thursday, 19 December 2002 06:01:46 UTC