Synchronize Repeated Grid, but not all rows/items.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Synchronize Repeated Grid, but not all rows/items.

hendri
Hi,

I want to synchronize 2 repeated grids. This can be done with:

<fr:synchronize-repeated-content left="left" right="right" version="2018.2">
    <fr:map left="dropdown" right="dropdown-readonly"/>
</fr:synchronize-repeated-content>

But now I only want to copy an item from "left" to "right" if an expression is true, for example $dropdown/string() = 'true'

I do not know how to do this. Maybe it is really simple but I'm not an XML/XForms/Orbeon Forms expert.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Synchronize Repeated Grid, but not all rows/items.

Alessandro  Vernet
Administrator
Hi Hendri,

I understand, unfortunately, right now, with the syntax we have, you can't
tell the sync to only run upon some condition. If there, it will always run.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet