Re: [Xsltforms-support] Fwd: Is xf:select1 containingitemset allowed in xf:itemset
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2012-12-09 15:58:27
|
Hello Alex, > > I have xforms with > <xf:select1 ref="value_check" class="baseInput"> > <xf:itemset nodeset="../itemset/info/row"> > <xf:label ref="name" /> > <xf:value ref="uid" /> > </xf:itemset> > </xf:select1> > > inside > xf:repeat element(line 327 in attached file). > > > When I click to checkbox the error message appears.(output from > firebug console): > TypeError: this.select.firstChild is null > [????????? ?? ???? ??????] > if (!this.full && this.select.firstChild.value === "\xA0") {(xsltforms.js (line 7250) > I haven't reproduced this issue with latest version of Firefox for Windows. The line number is not enough to be sure that you're using the latest build. > Thus results to an unexpected behaviour: clicking on one checkbox may > change value of another( from another repeat iteration). After an exception, behavior is quite hazardous ;-) > > Otherwise, when I delete select1 from repeat element everything works > properly. I don't understand what you want to do with ref="value_check" for this select1 control. It means that the value of this element is set by this control but the itemset has not boolean values. > > Is itemset allowed inside repeat? Yes, of course... -Alain |