All
All
Projects
Snippets
Go
Explore
Home
About
Get Involved
IP
Legal
Interact With Us
Blog
Webinars
Discord
Twitter
YouTube
Facebook
OpenNTF GitHub
OpenNTF Connections GitHub
IBM Connections Downloads
DominoHelp (external)
Explore
Home
About
Get Involved
IP
Legal
Interact With Us
Blog
Webinars
Resources
Discord
Twitter
YouTube
Facebook
OpenNTF GitHub
OpenNTF Connections GitHub
IBM Connections Downloads
DominoHelp (external)
Resources
Discord
Twitter
YouTube
Facebook
OpenNTF GitHub
OpenNTF Connections GitHub
IBM Connections Downloads
DominoHelp (external)
Projects
Snippets
Collaboration Today
Sign In
Username
Password
Forgotten your login credentials?
Login
Register
All
All
Projects
Snippets
Go
Martijn de Jong: AJAX Name Picker revisited
Posted by
Martijn de Jong
on
April 21, 2010
The goal of the
AJAX Name Picker
project is to provide an easy to use component for selecting names from a Domino Directory (or Domino Directories) in a Lotus Domino Web application. The project was started by Steve McDonagh in 2007. He created a very feature rich component which actually works better than the default Name Picker in the Lotus Notes client. In contrast to the LoNo Name Picker, this Name Picker allows you to search on both first and last name at the same time and search in multiple directories and show the results of all directories in one list. It also has the possibility to show some details of the selected person, making it easier to find the right person. By using AJAX technology the Name Picker is very responsive.
For a series of applications for a large customer of ours, my colleague, Richard Brouwer, and I decided to use Steve's brilliant Name Picker. Though this Name Picker was more feature rich than anything else which was available as an open source name picker for Domino, we felt it did use more resources than strictly necessary. We therefore reduced the code to the bare basics needed to retain the same functionality and in the process tried to iron out any bugs still left in Steve's last version. In the best tradition of open source we decided to give our version back to the community. In consultation with Steve we publish our version as the v2.x series of the AJAX Name Picker. Compared to Steve's last version, this version features:
- Just one rather small Javascript library (Steve's version uses Yahoo's YUI libraries. Our version no longer needs those)
- Full support for special characters
- Small changes to the GUI
So what does it look like?
By setting a parameter in the onFocus call the Name Picker can be used in 4 different ways:
1. Type ahead suggestion
2. Simple popup
3. Popup with extra details of selected person
4. Popup for a multivalue name field
As this Name Picker is an important component in the applications for this customer, we are determined to solve any bugs as soon as possible. If you find any, please let us know using the form in the Project view. Also if you'd like to see more features in the Name Picker, you're more than welcome to submit those.
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus