Re: [Xsltforms-support] Rev 546 initialization error
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2012-07-01 21:14:37
|
Hi Grégoire, When I added label/@ref in every situation, I didn't forget to consider select1/itemset/label/@ref as a special case but I forgot to consider select1/item/label/@ref too... Thank you for pointing at this! -Alain Please check again with rev 547. Le 26/06/2012 09:59, Grégoire COLBERT a écrit : > Hi Alain, > > Line 873 of the generated XML file is : > > new XsltForms_output(xsltforms_subform,xsltforms_subform.id + > "-label-40",0,new XsltForms_binding(null, > "instance('instance-langues')/chaine[@name='groupees-par-commune'][@xml:lang=/configuration/langue]"),null); > > which corresponds to the first label of this select1 : > > <xf:select1 appearance="minimal" > ref="instance('instance-tri-des-annonces')//xsl:variable[@name = > 'grouper']/@select"> > <xf:item> > <xf:label model="modele-configuration" > ref="instance('instance-langues')/chaine[@name='groupees-par-commune'][@xml:lang=/configuration/langue]"/> > <xf:value>'par-commune'</xf:value> > </xf:item> > <xf:item> > <xf:label model="modele-configuration" > ref="instance('instance-langues')/chaine[@name='dans-une-liste-globale'][@xml:lang=/configuration/langue]"/> > <xf:value>'liste-globale'</xf:value> > </xf:item> > <xf:action ev:event="xforms-value-changed"> > <xf:dispatch name="action-monter-drapeau-et-appeler-trier-annonces" > targetid="modele-annonces"/> > </xf:action> > </xf:select1> > > Do you see something wrong with this select1? > > Thanks! > Grégoire > > |