371 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Forum | Blogs | Search | myPL | About 
 
Latest 7 Posts
XPages Toolbox - Really nice profiling tool
Thu, Apr 19th 2012 352
Showing horizontal notes data as vertical in view
Thu, Mar 15th 2012 187
Patch for bug in XSP.partialRefreshGet/-Post in 8.5.3
Thu, Mar 8th 2012 284
Runtime optimized JavaScript and CSS - workaround for multiple stylesheets
Thu, Jan 26th 2012 299
Useful tool when working with text files (CSV, source code, etc)
Thu, Jan 5th 2012 200
Thing to be aware of when using "Generate unique keys.." in view
Mon, Jan 2nd 2012 178
ClassNotFoundException with the new Java design element
Tue, Dec 13th 2011 180
Top 10
XPages Toolbox - Really nice profiling tool
Thu, Apr 19th 2012 352
Runtime optimized JavaScript and CSS - workaround for multiple stylesheets
Thu, Jan 26th 2012 299
Patch for bug in XSP.partialRefreshGet/-Post in 8.5.3
Thu, Mar 8th 2012 284
Simple trick to format XPages Checkbox group
Thu, Apr 14th 2011 206
Useful tool when working with text files (CSV, source code, etc)
Thu, Jan 5th 2012 200
XPages: SSJS code snippet that lets you parse/stringify JS-JSON
Wed, Sep 29th 2010 199
Indicator for all partial refreshes
Tue, Sep 27th 2011 192
Showing horizontal notes data as vertical in view
Thu, Mar 15th 2012 187
ClassNotFoundException with the new Java design element
Tue, Dec 13th 2011 180
Thing to be aware of when using "Generate unique keys.." in view
Mon, Jan 2nd 2012 178


Runtime optimized JavaScript and CSS - workaround for multiple stylesheets
   

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)


---------------------
http://feedproxy.google.com/~r/dontpanic82/~3/0AbpMH-CjfY/runtime-optimized-javascript-and-css.html
Jan 26, 2012
300 hits



Recent Blog Posts
352


XPages Toolbox - Really nice profiling tool
Thu, Apr 19th 2012 12:43a   Tommy Valand
If you feel that your XPage application is too slow, XPages Toolbox can help you to find the biggest bottlenecks in your code. If you haven't tried it, I highly recommend that you give it a spin (it's free). If you like it, give it a good rating. +1 to Philippe Riand for sharing it with the community :) [read] Keywords: xpages application blogger community openntf
187


Showing horizontal notes data as vertical in view
Thu, Mar 15th 2012 3:04p   Tommy Valand
Today at work, I needed to transfer some data from a Notes application to SQL. The documents in question were horizontal. An example of what I mean: An order form in Notes with five order lines. For each line, there may be five fields that contains information about the order. Making it a total of 25 fields for five order lines. Traditionally, if you want to show this data in a regular notes view, you have to have a column per field. Thanks to the way the index is organized in a Notes view [read] Keywords: lotus notes application blogger sql
284


Patch for bug in XSP.partialRefreshGet/-Post in 8.5.3
Thu, Mar 8th 2012 5:43a   Tommy Valand
Someone made a really stupid mistake in the code for XSP.partialRefreshGet/-Post in 8.5.3.. I won't go into specifics of the code as I'm uncertain if it's breaking some license. Let's just say that if they moved a line of code four or five lines upwards, there wouldn't be any bug. I wrote a simple patch for the bug. Put it in a CSJS library, and your code will work like it did on 8.5.2 (unless I made a stupid mistake). /** * Fix for bug with partialRefreshGet/-Post in 8.5.3 */ (functio [read] Keywords: blogger bug
300


Runtime optimized JavaScript and CSS - workaround for multiple stylesheets
Thu, Jan 26th 2012 4:02a   Tommy Valand
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) [read] Keywords: blogger css javascript
200


Useful tool when working with text files (CSV, source code, etc)
Thu, Jan 5th 2012 5:03a   Tommy Valand
WinGrep is a tool that let's you search one/several folders for parts of strings. It supports searching in zip files, and let's you use Regular Expression (Perl syntax?) for searching strings. The result pane shows all the matching lines in the file(s) you are searching. [read] Keywords: blogger
178


Thing to be aware of when using "Generate unique keys.." in view
Mon, Jan 2nd 2012 5:03a   Tommy Valand
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 !@IsAvailable($Conflict) to the view selection. [read] Keywords: domino ldd lotus blogger




180


ClassNotFoundException with the new Java design element
Tue, Dec 13th 2011 3:02a   Tommy Valand
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 [read] Keywords: domino blogger java
158


Java Debugging in Designer without hacks
Fri, Oct 21st 2011 4:02a   Tommy Valand
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. [read] Keywords: domino javadomino ldd lotus blogger eclipse java
144


Collecting data for HTTP hang or performance issues on a Lotus Domino server
Wed, Sep 28th 2011 4:23a   Tommy Valand
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 [read] Keywords: domino ibm lotus blogger server
192


Indicator for all partial refreshes
Tue, Sep 27th 2011 11:03a   Tommy Valand
Sometimes partial updates take a while. To make users aware of updates happening, I made a small JS object that automatically shows a dojox.widget.Standby over the area being updated. Initially I thought that it would be too much, showing the mask over every refreshed area. So far, I quite like the effect. The app isn't in production yet, so I don't know how users will react, but hopefully they will appreciate being made aware of that things are happening. To load the object, put this in a J [read] Keywords: xpages blogger dojo javascript widget




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - FAQ - Mobile Edition