Java

Home » Java

Java and Selections Part Eight: Value Pickers With Label-Value Pairs

About six months ago I did a tutorial series on passing a List or Set into a Value Picker. That covered the scenario where the label and value are the same. Somewhat belatedly, I’m concluding the series with the code for passing in a Map – the scenario where the label and the value need […]

Java and Selections Part Eight: Value Pickers With Label-Value Pairs Read More »

Moving from LotusScript/SSJS to Java: Interfaces and Enums

In this blog post, I’m going to explain two of the concepts I covered when describing my work on XPages OpenLog Logger – interfaces and enums. Firstly, I will state categorically that diving into Java not a step I recommend to those starting out on XPages development from a Notes Client development background. There is

Moving from LotusScript/SSJS to Java: Interfaces and Enums Read More »

XPages OpenLog Logger and OpenNTF Domino API: Class Structure

The structure prior to my recent work was one-dimensional. As part of the development for XPages OpenLog Logger, I made all the methods of the OpenLogItem class static. The reasoning was so that developers didn’t need to create an OpenLogItem object before calling any method, like logError(). So instead of: OpenLogItem oli_ = new OpenLogItem();

XPages OpenLog Logger and OpenNTF Domino API: Class Structure Read More »

Session slides from ICON UK and OpenNTF Domino API Demo Database

Yesterday I presented two sessions at ICON UK, one on the OpenNTF Domino API and the other on XPages Mobile Controls. Both were busy sessions and thanks to everyone who attended. Here are the slides and also a demo database for the OpenNTF Domino API. A few things to bear in mind for using the

Session slides from ICON UK and OpenNTF Domino API Demo Database Read More »

Generating Javadocs for XPages Applications

A few weeks ago Stephan Wissel blogged about securing XPages applications using an ANT script and, in a side note, also recommended generating a Javadoc at the same time. For some time I’ve seen the Generate Javadoc… option on the Project menu of Domino Designer. If you’ve ever tried clicking on it, you’ll have found that

Generating Javadocs for XPages Applications Read More »

Programmatically Accessing and Updating DataContexts

XPages provides a number of options for holding global variables at various hierarchical levels. Scoped variables allow data items to be scoped to application, session (browser session), view and request. But the values cannot be calculated dynamically within the map itself. However, they can easily be updated by accessing the map from SSJS or Java

Programmatically Accessing and Updating DataContexts Read More »

Java and Selections Part Seven: ArrayLists and Value Pickers Addendum

I blogged a few weeks ago about adding dataProviders for the Value Picker control. Following recent investigations, I managed to get an ArrayList as the source of a simpleValuePicker dataProvider. As I found out, it fails if the valueList property is computed on page load (i.e. “${…}”). The error thrown, if you investigate in FireBug,

Java and Selections Part Seven: ArrayLists and Value Pickers Addendum Read More »

Scroll to Top