1) I downloaded a how-to for repeat-insert from
https://raw.github.com/orbeon/orbeon-forms/master/src/resources/apps/xforms-sandbox/samples/howto/repeat-insert.xhtmland run with Orbeon 4.0.0.m7.201207162324 PE / Chrome 16.0.912.75 m – it works as expected.
2) I edited the code and changed
xforms:input rendered by
xforms:repeat to
xforms:output, so:
from
<xforms:repeat nodeset="fruit" id="fruit-repeat">
<xforms:output value="position()"/>
<xforms:input ref="."/>
<br/>
</xforms:repeat>
to
<xforms:repeat nodeset="fruit" id="fruit-repeat">
<xforms:output value="position()"/>
<xforms:output ref="."/>
<br/>
</xforms:repeat>
Result:
It does not work correctly under Chrome 16:
- click Insert: At the end -> inserted into instance, rendered
- click Insert: At the end -> inserted into instance (displayed by Inspector), NOT rendered
- click Insert: At the end -> inserted into instance, NOT rendered but now the previous one is rendered.
It works fine under Firefox and IE.
Any idea what causes the problem under Chrome?
--
Bartek Gawel