Re: Re: Problems with xforms:repeat and index()
Posted by
Erik Bruchez on
URL: https://discuss.orbeon.com/Problems-with-xforms-repeat-and-index-tp788711p960780.html
Markku,
I think that now the two methods (variable / no variable) work the
same. We recently changed the way the index is made available during
controls construction.
But I still reproduced the issue of the first insert after removing
all items, and I fixed that:
http://github.com/orbeon/orbeon-forms/commit/3c02a42579cfe4ef3317bc863fa2f7de8f05b465Please let us know if that works for you!
-Erik
On Mon, Dec 7, 2009 at 2:44 AM, Markku Laine <
[hidden email]> wrote:
> Hi,
>
>
>> It seems that the index() function does not work within the xforms:group
>> ref="..." attribute (see testxformsrepeatandindex2.jsp) in the latest
>> nightly builds. As a work around, you can use xxforms:variable (see
>> testxformsrepeatandindex1.jsp). However, when you delete all items in the
>> example and then insert a new item the item will not get selected (index =
>> 0). I ever tried to use xforms:setindex but it didn't work.
>
> Resurrecting the topic ... just to make sure, is anyone else facing similar
> problems with the index() function? Erik, were you able to reproduce the
> issue?
>
> Kind regards
>
>
> -Markku
>
>
> --
> 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