Search code examples
xpageslotus-domino

XPages Resource Servlet


my xPages app (with oneUI theme set) works perfect when I use e.g. this URL:

      https://testserver.xxxx.xxxx.com/app_folder/Home.xsp

and then our Domino admin mapped it to a new URL

      https://myApp.xxxx.xxxx.com

that by default opens Home.xsp page

but now I see several UI issues - some icons/images are not shown, some controls displayed incorrectly. What could cause this problem? It's the same Domino server but just two different ways to log in. Is it something related to "XPages Resource Servlet" configuration? Where can I check it?

For example. I have an image on xPage that has following resource:

      "../../oneuiv2/images/sortDescending.png"

then when I log in through https://myApp.xxxx.xxxx.com - it doesn't show the image... OK, then I replaced it with:

      "/.ibmxspres/domino/oneuiv2/images/sortDescending.png"

same result. but this works:

      "/.ibmxspres/global/theme/oneui/images/sortDescending.gif"

I can replace all images/icons with new resource URLs but anyway other standard controls are not shown correctly..


Solution

  • OK.. it's fixed. The problem was in Virtual Server Mapping document.

    Names.nsf -> Web -> Web Configuration -> Virtual Server -> Mapping tab...

    we had to set

       HTML directory: domino\html 

    which was

       HTML directory: /myappdbname.nsf 

    instead