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
Le 25/06/2012 21:49, Alain Couthures a écrit :
> Hi Grégoire,
>
> Both <xf:label><xf:output ref="something"/></xf:label> and <xf:label
> ref="something"/> should now work rendering the same content.
>
> -Alain
>
> Le 25/06/2012 21:42, Grégoire COLBERT a écrit :
>> Hi Alain,
>>
>> Thanks for the answer but I haven't checked the list for at least 6
>> months, can you tell me what has changed in the way label/@ref are
>> processed?
>>
>> I have lots of <xf:label><xf:output ref="something"/></xf:label> in my
>> form, should I change them to <xf:label ref="something"/>?
>>
>> Thanks!
>> Grégoire
>>
>> Le 25/06/2012 20:32, Alain Couthures a écrit :
>>> Hi Grégoire,
>>>
>>> This is a very poor trace but I can read that it concerns a label and an
>>> output which might sound as how label/@ref is now implemented.
>>>
>>> Could you please check this?
>>>
>>> Could you give me a minimal test case?
>>>
>>> Thanks!
>>>
>>> -Alain
>>>
>>> Le 25/06/2012 12:12, Grégoire COLBERT a écrit :
>>>> Hi Alain,
>>>>
>>>> I updated from revision 535 to revision 546 and I now get the following
>>>> error on loading my form :
>>>>
>>>> XSLTForms Exception
>>>> --------------------------
>>>>
>>>> Error initializing :
>>>>
>>>> ([object
>>>> Object],"xsltforms-mainform-label-40")@http://localhost:8080/xsltforms/trunk/build/xsltforms.js:5060
>>>>
>>>>
>>>> XsltForms_output([object
>>>> Object],"xsltforms-mainform-label-40",0,[object
>>>> Object],null)@http://localhost:8080/xsltforms/trunk/build/xsltforms.js:6108
>>>>
>>>>
>>>> xsltforms_initImpl()@http://localhost:8080/:872
>>>> xsltforms_init()@http://localhost:8080/:1070
>>>> onload([object Event])@http://localhost:8080/:1
>>>>
>>>>
>>>> TypeError
>>>>
>>>> this.element is null
>>>>
>>>> ---------------------------
>>>>
>>>> Any idea of the problem?
>>>>
>>>> Thanks!
>>>> Grégoire
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>>
>>>> Live Security Virtual Conference
>>>> Exclusive live event will cover all the ways today's security and
>>>> threat landscape has changed and how IT managers can respond.
>>>> Discussions
>>>> will include endpoint security, mobile security and the latest in
>>>> malware
>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>> _______________________________________________
>>>> Xsltforms-support mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
>>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Xsltforms-support mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
>>
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support