Hi Alain,
Indeed, quotes are sometimes missing from the generated JavaScript. It
seems to come from <xf:label> tags. For example:
<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>
Thanks!
Grégoire
Le 23/11/2011 21:10, Alain Couthures a écrit :
> Hi Grégoire,
>
> I've already been fixing some issues like this one since rev. 513.
>
> Quotes are missing in the generated Javascript instructions some
> parameter ("modele-something") is written by mistake as a Javascript
> expression (modele-something).
>
> Could you please locate this in your form?
>
> I generally prefer using the Opera Debugger for locating this kind of
> issues.
>
> Thanks!
>
> -Alain
>
> Le 23/11/2011 16:27, Grégoire COLBERT a écrit :
>> Le 23/11/2011 14:53, Grégoire COLBERT a écrit :
>>> Hi Alain,
>>>
>>> I didn't updated my local copy since rev. 512 (my project being quite
>>> dead now), and it happens that I got a strange error with rev. 519 :
>>>
>>> XSLTFormXSLTForms Exception
>>> --------------------------
>>>
>>> Error initializing :
>>>
>>> xsltforms_initImpl()@https://localhost:8443/:851
>>> xsltforms_init()@https://localhost:8443/:1039
>>> onload([object Event])@https://localhost:8443/:1
>>>
>>>
>>> ReferenceError
>>>
>>> modele is not defined
>>>
>> Note that I never used anywhere the string "modele" as is, I only used
>> "modele-something" (on many places). Could there be a problem with
>> hyphens?
>>
>> Regards,
>> Grégoire
>>
>>
>> ------------------------------------------------------------------------------
>>
>> All the data continuously generated in your IT infrastructure
>> contains a definitive record of customers, application performance,
>> security threats, fraudulent activity, and more. Splunk takes this
>> data and makes sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-novd2d
>> _______________________________________________
>> Xsltforms-support mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
>>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support