W3C home > Mailing lists > Public > www-forms@w3.org > October 2001

Re: Events in XForms

From: xavier <xavier.gagneur@e-xmlmedia.fr>
Date: Tue, 9 Oct 2001 14:31:46 +0200
Message-ID: <002001c150be$608c2490$0b0aa8c0@ploussard>
To: <www-forms@w3.org>
Hi,

I also have this kind of problem. I'd like to do something like this :

<xform:input bind="a">
    <xform:caption>Title</xform:caption>
    <xform:action event="xforms-value-changing">
        <xform:setValue bind="a" value="abc"/>
    </xform:action>
</xform:input>

So that when the user changes the value of the input, it becomes straight
away
"abc".

Unfortunately, it doesn't seem possible.

Does anyone has a work-around ?

Thanks,

Xavier



----- Original Message -----
From: "Jérôme Nègre" <jerome.negre@ecl2000.ec-lyon.fr>
To: <www-forms@w3.org>
Sent: Friday, October 05, 2001 11:00 AM
Subject: Events in XForms


> Hi,
>
> in §11.3 it says "Unless otherwise noted, the target node for all events
is
> the xform element".
>
> I didn't find such a note, so e.g. an xforms-value-changing event is
> targeted to the corresponding xform element. Does this mean that a form
> control can't have an action (see §7.14.4.5) listening to these XForms
> events ?
>
> That would be surprising, so I think I must have misunderstood
something...
> If someone could enlighten me, thanks !
>
> Jérôme Nègre
>
>
>
Received on Tuesday, 9 October 2001 08:34:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:50 GMT