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
Tuesday, December 13, 2011
ClassNotFoundException with the new Java design element
Last week Vince Shuurman blogged about having to recompile when opening an XPage app in Domino Designer.
I had the same issue. I was using some Java code in an XPage, and every time I opened the app in designer, I got ClassNotFoundException when opening the XPage. A build of the project fixed the issue.
My java code was in the new Java design element (new in Domino 8.5.3), so I suspected that it might have something to do with this.
I moved the code to a "custom" java source folder, and the error went away. Closing/opening the app in Designer did not result in ClassNotFoundException.
I had the same issue. I was using some Java code in an XPage, and every time I opened the app in designer, I got ClassNotFoundException when opening the XPage. A build of the project fixed the issue.
My java code was in the new Java design element (new in Domino 8.5.3), so I suspected that it might have something to do with this.
I moved the code to a "custom" java source folder, and the error went away. Closing/opening the app in Designer did not result in ClassNotFoundException.
Labels:
java,
random tip,
xpages
Friday, October 21, 2011
Java Debugging in Designer without hacks
I found this today: How can I enable Java debugging?.
Not sure if this is new in 8.5.3, but I never heard of it. It makes it a lot easier to debug than the using the two headed beast method which seemed like too much trouble.
The full instructions are in the Designer help. Search for java debugging.
Not sure if this is new in 8.5.3, but I never heard of it. It makes it a lot easier to debug than the using the two headed beast method which seemed like too much trouble.
The full instructions are in the Designer help. Search for java debugging.
Labels:
domino designer,
java,
random tip
Wednesday, September 28, 2011
Collecting data for HTTP hang or performance issues on a Lotus Domino server
We're currently having problems with one of our old Domino servers. The HTTP task randomly hangs.
In the process of looking for help to track down the reason, I found this document from IBM.
Collecting data for HTTP hang or performance issues on a Lotus Domino server
In the process of looking for help to track down the reason, I found this document from IBM.
Collecting data for HTTP hang or performance issues on a Lotus Domino server
Labels:
random tip
