I tried with a simple version too but got the same error.

The issue which Firebug states (when I click on say qx.Class) is :
GET qx.Class.js - Error 404

It tries to look for /api/script/qx.Class.js but actually the file name on server (under api/script) is qx.class.js (Note that qx.class.js is with "c" and not "C")

qx.class.js code snippet:

{type:"class",attributes:{"isStatic":"true","name":"Class","packageName":"qx","fullName":"qx.Class","type":"bootstrap"}...


So, api/index.html#qx.Class should be calling qx.class.js but tries to look for qx.Class.js.

This thing works properly if api/index.html is called independently in the browser.

Amit

thron7 wrote:
Amit Rana wrote:
Hi,

I saw the source and its pretty straightforward. I don't get why my code doesn't work. :-( My index.html is similar but the api/index.html is nested deep inside (which should not be a problem):

<li>
   <h2>API Viewer</h2>
       <p>qooxdoo-based API viewer featuring the API reference.</p>
<span class="local"><a href="myJSfolder/custom/api/index.html"><b>Open API viewer</b></a> <span class="publish"><a href="myJSfolder/custom/api/index.html"><b>Open API viewer</b></a></span>
</li>


Why are you using two links with different 'class' attributes around them? Is there some magic in the CSS for those classes going on? Are the resulting URLs correctly requested by the browser once you click them (check Firebug Net tab)? What happens to the URLs on the server (aliases, rewriting, ..)?

Can you reproduce the issue in a stripped-down scenario (simple HTML page, no CSS, one link to Apiviewer, no server-side rewriting, ...)?

Thomas


------------------------------------------------------------------------------
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

Reply via email to