Robin,
And easy one: ev:target is not the attribute you want. Instead, use ev:observer:
http://gist.github.com/557755The reason is ev:observer tells what element the event handler must
look at (observe), while ev:target works in conjunction with
ev:observer to say "I ONLY want to see events that target this to
trigger the handler".
A bit tricky, but the good news is that in general you don't need ev:target.
-Erik
On Mon, Aug 23, 2010 at 1:38 PM, Robin Diederen <
[hidden email]> wrote:
> Hello all,
>
> I'm trying to trigger an event (using xxforms-value-changed) after values in
> an instance have changed (by changing the bound node on an xform). I'm
> getting no results, so I'm looking for some help :).
>
> From my model:
> <xforms:instance id="table" src="oxf:/table.xml"></xforms:instance>
>
> And from the form:
> <xforms:action ev:event="xxforms-value-changed" ev:target="table">
> ...... some action......
> </xforms:action>
>
> This doesn't do a thing. What am I doing wrong?
>
> I'm using Orbeon 3.7.1.
>
> Best, Robin
>
>
> --
> You receive this message as a subscriber of the
[hidden email] mailing
> list.
> To unsubscribe: mailto:
[hidden email]
> For general help: mailto:
[hidden email]?subject=help
> OW2 mailing lists service home page:
http://www.ow2.org/wws>
>
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws