Background resource image on Xpage : does it work?

Hello

I try to get a background image on an Xpage :

Thru properties \ style\ background, fetch a resource image.

Viewing it with Firefox or Notes 8.5.1, I get nothing (no error but white background).

Other attempts :

background in a panel : same problem

Thanks for help.

Pierre Frappé

Subject: Do this:

  • Add an image resource for your background image.- Go to the Source tab.

  • Edit your xp:view line like this:

<xp:view xmlns:xp=“http://www.ibm.com/xsp/core

style="background-image:url(nav_middle.gif)">

Took me nearly a day figure this one out.

  • When you have serious issues with the total lack of documentation from Lotus, remember that XPages are a Java Server Faces implementation. Search for how JSF developers do things and, in general, it applies to XPages.

Hope this helps…

Subject: Solved : Firefox doesn’t like spaces within the image name !

Thx for reply, David

… but when I do this via properties it’s exactly the sentence I get.

I tried to write it manually without change…

I Tried with IE without problem

Finally, I guess the space within the image name may be the problem

I just replace spaces by “%20”

and it works.

Thanks for help

Subject: Ah. I always use underscores in web file names.

  • Still, good know. Thanks!..