SSJS

Home » SSJS

Thoughts on the Problem of XPages

Jesse Gallagher posted a thoughtful blog about the challenges for the way forward with XPages. It’s a challenge I’ve had a number of discussions around, many of which are ongoing. The reason there’s not a simple solution – throw whatever resources are required into XPages – is that it simply doesn’t make business sense. There …

Thoughts on the Problem of XPages Read More »

SSJS Revisited: The Good, the Bad and the Ugly

It is a number of years now since I decided to commit to Java, for a number of reasons. The biggest were: lack of good compile-time validation, which meant it was possible to mistype a variable name or method name lack of templating, which meant constantly typing try/catch blocks difficulty troubleshooting – this was before …

SSJS Revisited: The Good, the Bad and the Ugly Read More »

OpenNTF Domino API: New Release and Serializing Databases / Documents

Nathan has uploaded a new release of OpenNTF Domino API. There are a few significant differences in the upload this time. Firstly there is a separate install for Designer Client and Domino Server. That’s to minimise the footprint for the server. Those who have used M4.5 may have noticed the Javadoc support was lost, because …

OpenNTF Domino API: New Release and Serializing Databases / Documents Read More »

The Perils of getColumnValues().get(0)

Bill F posed a good question on StackOverflow about the issue of object.recycle and when to use it. It’s un understandable question and one I hit years ago after crashing a server looping through 20,000 documents in a search. I raised a PMR, got a response directing me to technotes on recycling in Java. Searching …

The Perils of getColumnValues().get(0) Read More »

Understanding SSJS

There have been a few posts today on StackOverflow about SSJS being run when it’s not expected. I think a lot of that comes from a misunderstanding of what’s happening on the server. Parsing of Values Firstly, property values are just plain text.That’s reinforced if you look at the Java class for an XPage or …

Understanding SSJS Read More »

XPages OpenLog Logger Project on OpenNTF

Late last night I released the XPages OpenLog Logger project on OpenNTF. There have been options for logging to OpenLog from XPages for some time – Matt White’s OpenLogXPages SSJS library from TaskJam and the OpenLogItem class I included in XPages Help Application. So why did I bother with this? Firstly, if you think this …

XPages OpenLog Logger Project on OpenNTF Read More »

A Couple of SSJS Usability Suggestions

I’ve recently been looking back at an application I added some XPages functionality into a while ago and realised there were a couple of Server-Side JavaScript tips I have not shared before. The first is actually unnecessary where I’ve used it. I think Tim Tripcony mentioned it and I started using it all over the …

A Couple of SSJS Usability Suggestions Read More »

Combining $ and #: An Alternative Approach

Over the last couple of days there have been a few discussions about combining Compute on Page Load and Compute Dynamically. The full trails are below: Sven Hasselbach’s initial post My explanation of what’s happening in the source code and Java Sven Hasselbach’s response A possible alternative from Mark Roden Both make good points and …

Combining $ and #: An Alternative Approach Read More »

Scroll to Top