rem:  var updater = RSF.getAJAXLinkUpdater(link, callback);  RSF.addEventToElement(link, "click", updater); updatedElements.push(link); 
context:     transformActionDomToAJAX: function (parentNode) {      var type = parentNode.nodeName.toLowerCase();      RSF.log("transformActionDomToAJAX: node=" + parentNode);      var updatedElements = [];      // define the callback function for the ajax response      var callback = function(results) {         // specifically purge the existing items before putting in the new stuff         while (parentNode.childNodes[0])  {            parentNode.removeChild(parentNode.childNodes[0]);         }         // now drop in the new xhtml result into this node         parentNode.innerHTML = results;         // rerun the dom transformer on the replacement xhtml         RSF.transformActionDomToAJAX(parentNode);      }      // get elementsbyname to get the forms      var forms = parentNode.getElementsByTagName("form");      for (var i=0; i < forms.length; i++) {         var form = forms[i];         var updater = RSF.getAJAXFormUpdater(form, callback);         RSF.addEventToElement(form, "submit", updater);         updatedElements.push(form);      }      // get elementsbyname to get the links (a)      var links = parentNode.getElementsByTagName("a");      for (var i=0; i < links.length; i++) {         var link = links[i];         if (!link.href || link.href.length == 0) {            RSF.log("link is empty or appears to be invalid so skipping it: " + link.href);            continue;                     }                  var parsed = parseUri(link.href);         if (parsed.host != document.domain) {            RSF.log("link is not in this domain so skipping it: " + link.href);            continue;         }         var updater = RSF.getAJAXLinkUpdater(link, callback);         RSF.addEventToElement(link, "click", updater);         updatedElements.push(link);      }      return updatedElements;    }
meta: 13	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/13/026ba65ff99020c163bdc3b1f318015816902c56/rsf.js/clean/rsf-web/templates/src/webapp/content/js/rsf.js