On 09/17/2010 05:18 PM, madhead wrote:
> 
> Hello,
> i am a newbie in qooxdoo!

Hi, and welcome.

> qooxdoo generates an infinite loop and firebugs says:

This is probably not an infinite loop, but the attempt to load all
source files for your app, which are quite a few. Your screenshot
indicates the issue is always with a different file, so it would
eventually stop :).


> 
> syntax error
> [Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD
> XHT...org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n
> Bootst...4952225 (Zeile 1)
> ...
> 
> http://qooxdoo.678.n2.nabble.com/file/n5543196/syntaxerror.jpg 

This is indeed strange.

> It looks like that the routing for the js files doesnt work correctly.

What do you mean with "routing"? The URLs, with which the js files are
being accessed?

> Here the first syntax error for Bootstrap: (first line in Firebug)
> http://www.mydomain//controller/action/index/themaid/2/vtartid/1/id/4/qooxdoo/framework/source/class/qx/Bootstrap.js?nocache=0.25506964394952225

Well, nothing I can access, right?! - But are you trying to run a source
version of your app from a web server? Maybe your web server doesn't
respond with a 404, but delivers 200 together with an error page if a
resource cannot be found?! That would explain why HTML files are parsed
as JS, with the ensuing syntax errors.

If you use a web server for your source verson, take a look at this
piece of information:

http://manual.qooxdoo.org/1.2/pages/snippets.html#running-a-source-version-from-a-web-server

> 
> this Url responses a HTML Document.

Yep, that's what I thought above.

> 
> Where can i configure the routing? Do you need more Infos about that Bug?
> Please help me!

First, try your app from the file system. If you are forced to run it
from a web server, see the above documentation snippet. Make sure your
web server delivers 404 on page misses so error pages are not parsed as
JS (look into Firebug's Net tab).

If all doesn't help, get back.

T.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to