- From: Jérôme Nègre <jerome.negre@e-xmlmedia.fr>
- Date: Thu, 19 Dec 2002 15:42:56 +0100
- 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=...>
<head>
<xform:model id="m1">
<xform:instance>
<my:data/>
</xform:instance>
</xform:model>
</head>
<body>
<!-- b1 points nowhere -->
<xform:output bind="b1"/>
</body>
</html>
I suggest sending the event to the first (default) model or to all models.
Regards,
Jérôme
Received on Thursday, 19 December 2002 09:44:52 UTC