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

Re: Target of xforms-binding-exception

From: Jérôme Nègre <jerome.negre@e-xmlmedia.fr>
Date: Thu, 19 Dec 2002 15:42:56 +0100
Message-ID: <3E01DAF0.6050301@e-xmlmedia.fr>
To: Mikko Honkala <honkkis@tml.hut.fi>
CC: www-forms@w3.org

Hi Mikko,

> 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?

But you can't have an action anywhere in the document. For instance, 
how do you trigger a <message> action on the xforms-binding-exception in 
the following form:

<html xmls=...>
     <xform:model id="m1">
     <!-- b1 points nowhere -->
     <xform:output bind="b1"/>

I suggest sending the event to the first (default) model or to all models.

Received on Thursday, 19 December 2002 09:44:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:07 UTC