Taking Advantage of AJAX Code From the Domino Community
The past two weeks have included some
hair-pulling developing a domino web application for a client. The hair-pulling
was not the result of coding extensive
JavaScript and DHTML.
It was poorly defined requirements from the project owner. Let me put a
caveat here. The project owner did not appreciate the difficulty in transferring
what was on paper to the web in a way that would be easy to understand
and follow by the end users. It was complicated by the fact that the requirement
was dropped off and the project owner left country for two weeks.
One of the last requirements I had to
code for is the ability to select multiple values from a list. In the past,
I have used Jamie
McGee's client demo of this functionality,
modified to be an application access management tool for business owners
of applications. In those projects, I went from using a tool for list selections
to a tool for name and role selections. But now I needed a tool for the
web that would run squeek free. Since I have become enamored with AJAX
(Asynchronous JavaScript and XML)
because of the performance and user interface gains it provides, I turned
to a demo Name Picker
application written by Matt White
over in the United
Kingdom, and went from there.
My Requirements
I needed to give users of the application
the ability to select one or more values from a list of 205 choices. Because
the users are all external to the organization, there is no way to control
the browser options and settings. In particular, I did not want to deal
with pop-up blockers. I also did not want to deal with the amount of screen
real estate I would have to use for a listbox.
Alan's Name Picker
Matt set out to write an AJAX application that would suit every Lotus Notes
& Domino developers dream of effectively and efficiently providing
the Lotus Notes client name picker functionality on the web. This turned
out to be a great and easy to implement/modify solution.
The Changes I Am Making
Matt's demo name picker application is designed to be opened as a pop-up
window, which did not meet my needs. At first, I though about calling the
form in a <IFRAME>, but decided against this. What I decided to do
was take his code and make it part of the form. So the steps I took were
to
Comment posted by 01/23/2006 08:55:18 AM