Hi,

I'm using an insert inside an action that's inside an xf:repeat. What it's
meant to do is insert a new copy of the current node as a sibling. like so:

<xf:action ev:event="xforms-value-changed">
<xf:insert context="context()/.." at="last()" position="after"
origin="context()" />

The problem is that context() returns the node I'm currently working with
in all cases but when I use it in origin. In that case it's returning the
parent of the current node.

The background to this is I'm logging control changes, and using insert as
a way to get event context to an observer, so ideally I need the origin of
the insert to be generic.

Rgds,

Mark Lawson
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to