As I began developing XPages applications for users that were used to using Notes Client applications, a need developed to provide users with a name picker that was similar to what they were used to seeing in the Notes Client. The earliest iterations of this name picker existed before the ExtLib name picker was released. I believe this version provides developers with a little more flexibility than what is available in the ExtLib version. In addition, in my testing on a 40k name address book, performance exceeded that of the ExtLib version.

Key features:

  • Ability to choose People, People & Groups, or just Groups
  • Multi Select via a dual column dialog
  • Single Select via a single column dialog
  • Lazy loading of additional entries when scrolling up or down
  • Only creates one dojo dialog widget no matter how many names fields are needed on a form
  • In Firefox and XPiNC the dialog will also display the associated icon for an entry (IE and Chrome do not support option tag background images)
  • Ability have the name picker execute a function with the selected value(s) being passed to the function as a parameter
  • Ability to specify a partial refresh target on dialog close
  • No dependency on ExtLib
  • Will work on 8.5.3 and above (will probably work on 8.5.2 but this release has not been tested on that version)