Philip, http://myhost/gate/apps.dashboard.projectdashboard/myxml/ does not appear to be a valid url, so none of us can examine either your javascript or your xml eventSource.
Jon On Fri, Apr 1, 2011 at 4:28 AM, Philip <[email protected]> wrote: > Hi, > To introduce me, i am Philip, a trainee in germany and currently > working on my final project. > To put it brief I want to integrate a dashboard in a application, > written with python. With simpleTAL I'm able to > make templates(html, xml whatever) and fill them with python. I'm > loading Data from database and put them to that template and get my > XML File which i want to load to TIMELINE Framework. > My problem is, that I get a URL simar to this: > > and the Framework can't read this file. I tried to copy the content to > a real xml and tested it sucessfully on a local example. > > I get following error: > > http://dl.dropbox.com/u/3372654/fehler.png > > which just tells me, that a object was expected. > > My Codesnipped: > > tl.loadXML("http://myhost/gate/ > apps.dashboard.projectdashboard/myxml/", function(xml, url) { > eventSource.loadXML(xml, url); > }); > > I also set content_type("text/xml"), but it didn't work. > > I'm very in despair, because I wasted some time to parse my data to a > good formed xml file and my time is very limeted :( Some ideas? > > Thx a lot > Philip > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
