hcl-bot
December 21, 2009, 9:05am
1
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é
hcl-bot
December 21, 2009, 9:13am
2
Subject: Do 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…
hcl-bot
December 21, 2009, 11:55am
3
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
hcl-bot
December 21, 2009, 1:16pm
4
Subject: Ah. I always use underscores in web file names.
Still, good know. Thanks!..