Useful shortcut for editing XPages source code - Ctrl+1  

By Tommy Valand | 10/7/15 11:36 AM | - | Added by Oliver Busse

In this blog post I show some useful shortcuts and techniques to handle the XPages source code easily.

Configuring input field for DateTime picker with localized date/time format  

By Tommy Valand | 10/9/13 12:35 AM | - | Added by Niklas Heidloff

In a new application a colleague of mine is working on, he wanted to let the user set date and time with Norwegian date and time format.

Workaround for issues with XPage in iframe on external website  

By Tommy Valand | 7/4/13 12:35 AM | - | Added by Per Henrik Lausten

A colleague of mine had some issues with an XPage running in an iframe on a customer's website. The customer notified us that some users with Chrome/Safari had issues with the page going blank.

Benchmark: Fetching NoteIDs and documents from view  

By Tommy Valand | 6/28/13 7:08 AM | - | Added by Per Henrik Lausten

In relation to an experiment I'm working on, I wrote a Java test agent to find the fastest way to get note id's from a view/fetching document values from documents in a view.

Custom Control for custom layout of checkboxes  

By Tommy Valand | 5/21/13 11:38 PM | - | Added by Niklas Heidloff

In a recent project, I wanted to create an interface to toggle different settings for different user types in an app. To save real estate on the page and (hopefully) make it more intuitive, I wanted to have a column per user type, and organize the checkboxes vertically.

Fix for partial refresh on Dojo Tab Container/Content Pane  

By Tommy Valand | 3/21/13 12:32 AM | - | Added by Niklas Heidloff

I wrote this a while back, but I couldn't find that I'd shared it. You need to use the partial refresh hijacker to use the code snippet.

Small LS class that can be used to check if fields have changed  

By Tommy Valand | 1/21/13 12:40 AM | - | Added by Niklas Heidloff

We've had some issues with semaphore locks on one of our import databases. The import database has routines that import/update data, then replicate it to a cluster when it's done.

Code Snippet - Close dialog if all fields are valid  

By Tommy Valand | 10/12/12 4:53 AM | - | Added by Per Henrik Lausten

Today I was working on a dialog that had fields with validation. I only want to close the dialog if all fields are valid. I'm not aware of any inbuilt XSP methods that does this. This code snippet checks for any invalid fields in the dialog. If all fields are valid, the dialog is closed.