For a project I was asked to deliver a new user interface for the web browser with the help of XPages. This included a search functionality.
First step: Look on OpenNTF
OpenNTF is a great resource to check if someone has done development before and has made the code available for public.
Here are some results that offer some form of search out of the box:
- Advanced Search XPage Control (link)
- Xpages Multi Database Search Custom Control (link)
- Xpage Search And Tagcloud control (link)
- XPages Basic Search (link)
I decided to go for the Advanced Search control. In case I have missed a great project on OpenNTF that provides a good search please drop a line in the comments.
Step 2: Modification
The Advanced Search control did not use any fancy from the extension library. So instead of the viewPanel control I decided to use the dataView control, plus the tooltip control to reduce the initial amount of text on the screen. Then I added some pagers from the extension library control again and voila here is the result:
So my search is ready in a couple of hours. Who says XPages is not rapid application development?
A big thank you to all those who contributed their work to OpenNTF!