Update: This workaround is only needed if you use "folders" in the image resource name.
E.g. backgrounds\home.png.
If you have multiple local stylesheets on a page, the CSS files are combined into a single file.
This changes the url to the stylesheet (adds xsp/.ibmmodres/.css after the path to the db).
If you have an image reference like url(image.png), the image can no longer be loaded, as the url is relative to the path of the stylesheet.
To work around this issue, add ../../../ to the image reference.
E.g.
url(../../../image.png)
Thursday, January 26, 2012
Runtime optimized JavaScript and CSS - workaround for multiple stylesheets
Labels:
random tip,
xpages
Thursday, January 5, 2012
Useful tool when working with text files (CSV, source code, etc)
WinGrep is a tool that let's you search one/several folders for parts of strings. It supports searching in zip files, and lets you use Regular Expression (Perl syntax?) for searching strings.
The result pane shows all the matching lines in the file(s) you are searching.
The result pane shows all the matching lines in the file(s) you are searching.
Labels:
random tip,
software
Monday, January 2, 2012
Thing to be aware of when using "Generate unique keys.." in view
I had trouble with a couple of views today. The views had the option Generate unique keys in index checked.
When the views were replicated to other servers, they weren't built. When trying to open them I got the error message Entry not found in index
I found the solution on the Domino forums, add @IsUnavailable($Conflict) to the view selection.
When the views were replicated to other servers, they weren't built. When trying to open them I got the error message Entry not found in index
I found the solution on the Domino forums, add @IsUnavailable($Conflict) to the view selection.
Labels:
random tip