• The base URLs revert back to the server settings and not the application setting

    By sean cull 1 decade ago
      • ahhh - rss feeds only - hardcoded fix

        By sean cull 1 decade ago

        I changed the following lines in the xpWikiStyle SSJS library



        from

        url=@LeftBack(database.getHttpURL(),"/")+facesContext.getExternalContext().getRequestContextPath();

        to url="http://www.deliverytoolkit.com"+facesContext.getExternalContext().getRequestContextPath();

        • a relative path works better

          By sean cull 1 decade ago

          Removing the absolute path and just using a relative path seems to fix the problem

          originally

          //url=@LeftBack(database.getHttpURL(),"/")+facesContext.getExternalContext().getRequestContextPath();



          then tried

          url="www.deliverytoolkit.com"+facesContext.getExternalContext().getRequestContextPath();



          but best is a relative path

          url=""+facesContext.getExternalContext().getRequestContextPath();

          • By Bernd Szarkowski-Tegtmeier 1 decade ago

            Yes, this works fine, but let me say a few remarks:


            • Before i change this line the url works in the "Table Of Contents" of a page, not only in rss


            • If i click on "edit" at the bottom of a page, the url will change again to the server-settings. (Then the page isn't in edit-mode until i change the url manually in the browser.)