W3C home > Mailing lists > Public > public-xformsusers@w3.org > November 2016

Repeat processing

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Fri, 18 Nov 2016 22:14:33 +0100
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.yq46mjz7smjzpq@steven-aspire-s7>
   <data xmlns="">
<bind ref="i" calculate="../a"/>
<setvalue ref="a" ev:event="xforms-ready">123456789</setvalue>
<repeat ref="x" indexref="i">
    <output ref="."/>

The problem here is that indexref is readonly.

So when a (and therefore i) is set out of bounds of the repeat, processing  
states that
  * xforms-scroll-last is sent to the repeat,
  * the repeat index is set to the size of the repeat collection
  * therefore indexref is set to the value of the repeat index.

But that last is not allowed, since i is readonly.

Received on Friday, 18 November 2016 21:15:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:47 UTC