Lines Matching defs:xhr

177       el.nav.xhr = new lib.element("A").attribute.addClass("Tab").update("XHR").event.addListener("click",lib.util.Curry(d.navigate,window,"xhr")).insert(el.nav.container);
300 el.button.str.watch = new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.navigate,window,"xhr")).update("Back").insert(el.button.str.container);
303 * xhr
305 el.left.xhr = {};
306 el.left.xhr.container = new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container);
308 el.right.xhr = {};
309 el.right.xhr.container = new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container);
312 el.button.xhr = {};
313 el.button.xhr.container = new lib.element("DIV").attribute.addClass("ButtonSet XHR").insert(el.button.container);
314 el.button.xhr.label = new lib.element("LABEL").update("XHR Path:").insert(el.button.xhr.container);
315 el.button.xhr.textbox = new lib.element("INPUT").event.addListener("keydown",listen.xhrTextbox).insert(el.button.xhr.container);
316 el.button.xhr.watch = new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.addXhrObject).update("Watch").insert(el.button.xhr.container);
416 d.xhr.addObject.apply(window,arguments);
417 if(env.dIndex!="xhr"){
418 d.navigate("xhr");
849 // xhr
850 el.left.xhr.container.environment.addStyle({"height":_height-32+"px"});
1552 source = internal.cache[uri]||lib.xhr.get(uri).responseText;
1607 xhr:{
1615 d.xhr.objects.push([item, val]);
1624 el.left.xhr.container.update("");
1625 el.left.xhr.name = new lib.element("DIV").attribute.addClass("BlockContent").insert(new lib.element("DIV").attribute.addClass("Block").environment.addStyle({ "width":"20%" }).insert(el.left.xhr.container));
1626 el.left.xhr.nameTitle = new lib.element("STRONG").update("Object Name:").insert(el.left.xhr.name);
1627 el.left.xhr.nameContent = new lib.element("DIV").insert(el.left.xhr.name);
1628 el.left.xhr.status = new lib.element("DIV").attribute.addClass("BlockContent").insert(new lib.element("DIV").attribute.addClass("Block").environment.addStyle({ "width":"10%" }).insert(el.left.xhr.container));
1629 el.left.xhr.statusTitle = new lib.element("STRONG").update("Status:").insert(el.left.xhr.status);
1630 el.left.xhr.statusContent = new lib.element("DIV").insert(el.left.xhr.status);
1631 el.left.xhr.readystate = new lib.element("DIV").attribute.addClass("BlockContent").insert(new lib.element("DIV").environment.addStyle({ "width":"15%" }).attribute.addClass("Block").insert(el.left.xhr.container));
1632 el.left.xhr.readystateTitle =el.left.xhr.nameTitle = new lib.element("STRONG").update("Ready State:").insert(el.left.xhr.readystate);
1633 el.left.xhr.readystateContent = new lib.element("DIV").insert(el.left.xhr.readystate);
1634 el.left.xhr.response = new lib.element("DIV").attribute.addClass("BlockContent").insert(new lib.element("DIV").environment.addStyle({ "width":(lib.env.ie?"50":"55")+"%" }).attribute.addClass("Block").insert(el.left.xhr.container));
1635 el.left.xhr.responseTitle = new lib.element("STRONG").update("Response:").insert(el.left.xhr.response);
1636 el.left.xhr.responseContent = new lib.element("DIV").insert(el.left.xhr.response);
1637 setTimeout(d.xhr.refresh,500);
1642 el.left.xhr.nameContent.update("");
1643 el.left.xhr.statusContent.update("");
1644 el.left.xhr.readystateContent.update("");
1645 el.left.xhr.responseContent.update("");
1646 for(var i=0,len=d.xhr.objects.length; i<len; i++){
1647 var item = d.xhr.objects[i],
1650 el.left.xhr.nameContent.child.add(new lib.element("span").update(item[0]));
1652 el.left.xhr.statusContent.child.add(new lib.element("span").update(item[1].status));
1653 } catch(e){ el.left.xhr.statusContent.child.add(new lib.element("span").update("&nbsp;")); }
1654 el.left.xhr.readystateContent.child.add(new lib.element("span").update(item[1].readyState));
1656 el.left.xhr.responseContent.child.add(new lib.element("span").child.add(
1660 if(env.dIndex=="xhr")
1661 setTimeout(d.xhr.refresh,500);
1717 case "xhr":
1719 d.xhr.open();
1771 d.xhr.addObject.apply(internal.targetWindow, el.button.xhr.textbox.environment.getElement().value.split(","));
1905 d.xhr.addObject.apply(internal.targetWindow, el.button.xhr.textbox.environment.getElement().value.split(","));
2466 pi.xhr = new pi.base;
2467 pi.xhr.init = function(_url){
2486 pi.xhr.body = {
2517 pi.xhr.body.environment = {
2536 pi.xhr.body.event = {
2546 pi.xhr = pi.xhr.build();
2549 * xml.xhr.get
2552 pi.xhr.get = function(_url,_returnPiObject){
2553 var request = new pi.xhr();