Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by xaxan on Jul 17, 2009 04:05
open dhtmlx forum
Scheduler loading

Scheduler.load(" does not works path there for me");

I have http://localhost:8080/calendar.do

How is possible to load xml data if i can't indicate some.xml file in url?
does it has loadXMLString or something for loading xml with out URL or ... ?
Answer posted by Support on Jul 17, 2009 04:46
load command must fetch any possible xml data stream, so you can use 
             scheduler.load("calendar.do");
it will work while calendar.do returns valid xml ( with valid content type ) 

>>loadXMLString
there is no such command but next may work

var loader = new dtmlXMLLoaderObject(function(a,b,c,d,xml){
        scheduler.on_load(xml)
});
loader.loadXMLString("your xml data here");