xxforms:iterate on xforms:action

Posted by Grégoire Neuville on
URL: https://discuss.orbeon.com/xxforms-iterate-on-xforms-action-tp3013305.html

Hi,

In an XBL component (component A) I'm writing, I need to call through
an event, an action declared in an other component (component B). But
B components are declared inside a repeater that A contains.  Thus, in
A, I wrote an action that iterates on the repeater's nodeset and
dispatches and event to each B component (very much like another
thread on the list advised to do, by using xforms:setindex). So far,
so good, except that the action in B is responsible for the deletion,
under certain conditions, of the node it is bound to ; the repeater
index is thus messed up during the iteration, and I can't manage to
have the whole thing behave as expected.

Is there a way to make such a procedure operative, or should I
consider using a totally different approach ?

A use case is attached to make things clearer.

Thanks,

--
Grégoire Neuville


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

form.xhtml (4K) Download Attachment