« Back to home

Scope variables mysteriously null in XPages

I just spent about a day tracking down the cause of a problem in an XPages application, which turned out to be due to a truly trivial error that produced no warnings or error messages. So, here’s a writeup of the issue… I was building a live search page, with various form components set out for selecting search options. I followed the normal pattern of binding the components to various parameters on requestScope, and then having an event handler which pulled them out, constructed a search string, and passed that to the view.…

Read more »

Notes 8.5.3: ⊕/⊖

Things that make me happy about Notes 8.5.3: I can export my database designs to plain files, and put them in Git for version control. I can grep all my source code with ack. The built-in editor will let me see all the code for a design object in one window. Hover-over display of documentation comments for functions. Eclipse-style error summary. Real HTML and XML generation capabilities. HTML, ECMAScript and CSS in the Notes client.…

Read more »

Notes/Domino 8.5.3: Improving local replica efficiency

Recent versions of IBM Lotus Domino have included updates to the On-Disk Structure (ODS), the file format of Notes and Domino databases. However, if you have local replicas, they will not automatically be upgraded to the newer formats. In fact, even newly-created local replicas aren’t created in the new formats by default. To fix this, add the following two lines to NOTES.INI while Notes isn’t running: NSF_UpgradeODS=1 CREATE_R85_DATABASES=1 Now you can use the Admin client to compact your local replicas using copy mode, and it will upgrade them to 8.…

Read more »

Providing RFC3339 dates from Notes/Domino

I do a lot of integration work, and often it involves REST Web Services and other forms of XML data transfer. Generally I want to provide dates and times in RFC3339 format, or some variant of ISO8601; for example, 1996-12-19 16:39:57 -0800. When writing a Web Service in LotusScript, it’s not too hard; I built myself a function which converts a NotesDateTime or Variant of type 7 into UTC and then formats it appropriately, and I use that all over the place.…

Read more »

It's all about solving problems

Back in the 1960s, IBM observed that a lot of business time was spent retyping documents. A lot of business documents needed fairly frequent changes. While handwriting could be used for minor annotations, eventually the changes would need to be made in the typed version. This would require that a secretary re-type at least an entire page of the document. Hence, the development of what came to be called the word processor.…

Read more »