AJAX Sample for Domino

Mindwatering Incorporated

Author: Tripp W Black

Created: 12/19/2005 at 04:38 PM

 

Category:
Notes Developer Tips
Agents, LotusScript

See Attached Files
xml_js.jsxml_agent.txt

URL that feeds to agent is in format of:http://server.mindwatering.com/folder/dbapp.nsf/myajaxagent?OpenAgent&action=myscriptfunction&paramnm=paramvalue

Calling Function
for - sendHttpRequestSetDiv(url, params, form, divid):
urlagentpath = 'http://server.mindwatering.com/folder/dbapp.nsf/myajaxagent?OpenAgent';
paramsinstring = 'action=somefunctionkey&paramnm=paremvalue';
sendHttpRequestSetDiv(urlagentpath, paramsinstring, formnameonwebpage, dividtoplacecontent)

previous page