You should be able to use index('grid-2-grid-repeat').
We can't guarantee that this will always work though. We should
instead make index('grid-2-grid') work somehow…
-Erik
On Tue, Aug 7, 2012 at 4:41 PM, AlexFet <
[hidden email]> wrote:
> Hi.
>
> I need to get current index of <fr:grid repeat="true" (replacement
> <xforms:repeat) in Orbeon 4 M7.
>
> In my form I have:
>
> <xforms:instance id="fr-form-instance">
> <form>
> <section-1>
> <grid-2>
> <sb-01/>
> <sb-02/>
> </grid-2>
>
> </section-1>
> </form>
> </xforms:instance>
> ...
> <fr:grid min="1" repeat="true" id="grid-2-grid"
> bind="grid-2-bind"
> origin="instance('grid-2-template')">
>
> And how I can use index() function to know current index of repeater?
> Something like index('grid-2-grid') don't work.
>
> Can anyone help me?
>
>
>
>
>
>
> --
> View this message in context:
http://orbeon-forms-ops-users.24843.n4.nabble.com/How-to-use-index-with-fr-grid-repeat-true-in-Orbeon-4-tp4655590.html> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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