Hi James, I've recently implemented AJAX in Witango for a project I am working on. Just to be clear, are you using Witango to generate the XML (or text) document as a response to an XMLHTTPRequest, or are you using it to consume a document created on another server?
For the former case, you can use Results actions to print out an appropriate XML (or text) document for the given page arguments. The latter would most likely be done in client-side javascript; I'm not sure what level of javascript support is available in witango's server engine, or if they have implemented the objects needed to make AJAX calls. Perhaps someone more familiar with the script metatag could weigh in on this. -Mike -----Original Message----- From: Diodeus [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 5:08 PM To: [email protected] Subject: Witango-Talk: Implementing AJAX remote scripting I have decided to try to implement AJAX in WiTango. (see http://www.modernmethod.com/sajax/) AJAX is a methodology to call data remotely, using javascript, from within a page without doing a browser refresh. I have been using my own remote scripting technique so far with great success but wish to follow emerging standards. AJAX is used extensively by Google for GMail and maps.google.com. I am following the ASP example, whitten in server-side javascript, which I sucked into Tango in a SCRIPT element. The problem I'm running into is that I don't know what WiTango uses to send output from within the javascript block. ASP uses Resonse.write(), which is an ASPism. I don't know the WiTango equivalent. - James MacFarlane ->|- Diodeus, noun: the Greek God of diodes, as opposed to Typos, the Greek God of typing mistakes. He keeps moving the keys on me. ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
