Ways to create documents without submitting a form and without an agent

This weeks [tag]Show-n-Tell Thursday[/tag] revealed as usually some cool things. I would like to point out Tim Tripcony over at TimTripcony.com who has done some testings in the domino-form-agent-document creations thing. This is something we used a couple of years ago but without the XMLHttpRequest object. We used a hidden iframe approach back then, so taking this to a new level by implementing an Ajax-pattern is really cool. Have a look at his post which will contain this code-fragment:


function postMessage (strSendTo, strContent) {
// NOTE: in this example, strMyName, strServerName, and strDbPath are defined elsewhere
var messageBody = “__Click=0&
From=” + strMyName + “&SendTo=” + strSendTo + “&Content=” + strContent;
var AJAXPost = new Ajax.Updater(”PostResponse”,”http://” + strServerName + “/” + strDbPath + “/Message?OpenForm&Seq=1″,{postBody: messageBody});
}

Tags: ajax, lotus, lotus domino

Leave a Comment

Formatting Your Comment

The following XHTML tags are available for use:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

URLs are automatically converted to hyperlinks.