I want to retrieve the document based on 2 keys for example Reqid-111 has 5 applicants with appid-1 to appid5 Reqid-222 has 3 applicants with appid-6 to appid7
if i select the Requid-111(from dialoglist) the following field which is also a dialog list should display 5 values i.e.,(appid-1 to appid-5)
if i select Requid-222 then it should display 2 values in dialoglist
Then based on this appid the entire document should be displayed USING AJAX
please if any one can help me out in this??
Subject: Ajax
Kiran,
I you insist on using AJAX for this rather than letting Notes handle it for you (which it will) then you must:
-
Write an agent that will provide the event handler in 2) with a list of AppID values given a specific ReqID.
-
Write javascript event handler for field1 which will retrieve the values for field2 and update the DOM.
-
Write javascript event hanlder for field2 which updates the DOM to display the rest of the information on the form. This may involve writing another agent to provide it.
Seems like a lot of work to me, but maybe you have a valid reason for needing to use client-side processing rather than server side.
HTH