Monday, November 08, 2010 at 12:01 AM.


on set (adrSitePrefs, s, windowInfoTable) {
	<<Set the text of the JavaScript on the server.
		<<02/06/00; 9:24:05 PM by PBS
			<<Try to send the window info table. This try is necessary while we transition the Manila RPC interface.
		<<02/19/00; 6:48:23 PM by PBS
			<<Removed the try statement. now that manila.root has been updated.
		<<03/23/00; 12:32:05 PM by PBS
			<<Turn off httpClient messages so Pike can display its own message.
		<<9/6/01; 8:12:46 PM by JES
			<<Changed params from a list to a record of named parameters, for SOAP compatibility.
	with adrSitePrefs^ {
		local (params = {"username":username, "password":string (password), "siteName":sitename, "s":string (s), "windowInfoTable":windowInfoTable});
		return (manila.callHandler (host, port, "manila.javaScript.set", @params, rpcPath:rpcPath, flShowMessages:false))}}

This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.