Problems with xforms:repeat and index()

Posted by Markku Laine on
URL: https://discuss.orbeon.com/Problems-with-xforms-repeat-and-index-tp788711.html

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.

Erik, see the attached files for reproducing the issues.

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

testxformsrepeatandindex1.jsp (3K) Download Attachment
testxformsrepeatandindex2.jsp (3K) Download Attachment