Do you have the id of the repeat?
If so, count(xxforms:repeat-nodeset('repeat-id')) should work.
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-xpath-functions#TOC-xxforms:repeat-nodeset--Erik
On Thu, Aug 23, 2012 at 2:13 AM, javierpc <
[hidden email]> wrote:
> I'm trying to get the total amount of repeat components while being inside
> one of the nested components.
> While processing errors inside an xforms-valid event i've managed to get the
> current index (xxforms-repeat-index) but i'd like to get the maximum/total
> index for that specific block the component being analyzed is part of.
>
> E.g.
> Name A
> Surname A
> --
> Name B
> Surname B
>
> While analyzing the A block, how can i know there are 2 blocks total?
> Thanks-
>
>
>
> --
> View this message in context:
http://orbeon-forms-ops-users.24843.n4.nabble.com/Total-number-of-repeat-components-tp4655657.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