• getImagePrefix() not found when printing from client

    By Ulrich Krause 1 decade ago

    The Print.xsp is missing a resource file. This throws an error when you try to print.



    To fix, simply add


    &lt;xp:this.resources&gt;<br/>
        &lt;xp:script src=&quot;/application.jss&quot; clientSide=&quot;false&quot;&gt;&lt;/xp:script&gt;<br/>
    &lt;/xp:this.resources&gt;<br/>
    



    to the page.

    • Fixed

      By Paul S Withers 1 decade ago

      The function was put in application.jss, which needed adding into resources for Print.xsp. Fixed in 2.0.2.