• Quick fix if using a frontend proxy Apache / IHS

    By Janko Stefancic 1 decade ago

    We use a frontend proxy server to access Domino via HTTP/S and I found
    an issue that the application was throwing a cryptic Javascript error when
    loading module dojo/string/trim.js, which doesn't exist.

    Here is the fix - in Custrom Control “ccProfileRegister” change

        <span style="line-height: 1.428571429;"><xp:this.resources></span>
    
            <xp:dojoModule name="<b>dojo.string.trim</b>"></xp:dojoModule>
        </xp:this.resources>
    

    to

        <xp:this.resources>
            <xp:dojoModule name="<b>dojo.string</b>"></xp:dojoModule>
        </xp:this.resources>
    
    • By Janko Stefancic 1 decade ago

      Sorry problem with code markup:

      <xp:dojoModule name="<b>dojo.string.trim</b>"></xp:dojoModule>
      

      to


      • By Janko Stefancic 1 decade ago

        Third times the charm…

        &lt;xp:this.resources&gt;

        &amp;lt;xp:dojoModule name=&amp;quot;dojo.string.trim&amp;quot;&amp;gt;&amp;lt;/xp:dojoModule&amp;gt;
        

        &lt;/xp:this.resources&gt;

        to

        &lt;xp:this.resources&gt;

        &amp;lt;xp:dojoModule name=&amp;quot;dojo.string&amp;quot;&amp;gt;&amp;lt;/xp:dojoModule&amp;gt;
        

        &lt;/xp:this.resources&gt;

        • By Janko Stefancic 1 decade ago

          I guess I don't know how to use Markdown properly.
          Change the dojoModule in xp.this.resources from dojo.string.trim to dojo.string

          • By Vikas Tiwari 1 decade ago

            Sure, I'll have a look and fix it. Thanks for the feedback!