It’s no surprise that, despite coming from a background of minimal Java in the days before XPages, I now use Java as my main language in XPages back-end coding. There are a few areas where I’ve had to put my thinking cap on to work out how to use Java correctly when mapping between components and Domino, not least in number handling and Collections. Some time ago I put out a blog post of a useful cheat sheet for the plethora of core Collections objects available.
Those Collections are very useful for managing content, but sometimes it’s not obvious how to provision those Collections for selection components such as Combo Box, Radio Button, Value Picker etc. In this series I plan on covering those, some of which are easier than others, and include a set of PickerData classes that can be used once in an app, dynamically mapping to a collection you pass in.