• xsp.properties single quote

    By Allen Montejo 1 decade ago

    Hi Guys, Would you know how to define the below code on the xsp property file. I tried to use escape("\") character too but no luck.

    xsp.client.script.dojo.djConfig=extraLocale\:\ \'ln-ln\'

     

    on the browser I get:

    SyntaxError: illegal character
    

    error source line:

    <tbody>
        <tr>
            <td>
                <img class="errorBreak a11yFocus " role="checkbox" src="chrome://firebug/content/blank.gif" tabindex="-1" title="Break On This Error"/></td>
            <td>
                <pre class="errorSourceCode " title="({ locale: 'en-us', parseOnLoad: true, extraLocale: \'ln-ln\' })">
    

    ({ locale: 'en-us', parseOnLoad: true, extraLocale: \'ln-ln\' })

                    <a class="objectLink objectLink-sourceLink a11yFocus " tabindex="-1">@Fx&amp;@E...&amp;@Et.js (line 3, col 52)</a></div>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </tbody>
    

     

    anyone encounter this also? what is the workaround? thanks in advance.