Hi all, Has anyone tried generating API for their applications ? I try to call api/index.html from my server's index.html and get the errors as mentioned below.
If I open api/index.html directly in web browser, it works perfectly. Do I have to edit my config.json ? regards Amit Amit Rana wrote on 16-12-2008: > Hi, > > I am trying to configure API viewer for my application. > > I have done no changes in config.json or any file. I simply run > "generate.py api" and when I launch index.html, I see the API tree > with qx part and my application class and its structure and everything > works fine. > > But, if I call index.html from a different path, I only see the > structure. When I click on any node in the tree, I get popup errors > saying Couldn't load file: ./script/qx.application.AbstractGui.js > etc. (for both qx part and my application path). I guess I have to > change some setting but not sure what ? > > I have traced the flow (index.html refers script/apiviewer.js which i > turn refers apiviewer-0.js), but am unable to correct the problem. I > tried changing the path in index.html and apiviewer.js but then I get > blank screens. :-( > > Can anyone help me out here? > > regards > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
