Hi,

I finally managed to configure the config.json and run the "generate.py 
source" successfully for v0.8.1. But, after I run my application in the 
browser, I got the error:

[Exception... "'Error: The theme to use is not available: 
qx.theme.Classic' when calling method: 
[nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c 
(NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]

I checked the flow and it was : MyApplication.js extends  
qx.application.standalone which extends qx.application.AbstratcGui.

So, when this.base(arguments); is called from MyApplication.js, it 
eventually calls the constructor of qx.application.AbstratcGui, which 
has a call to qx.theme.manager.Meta.getInstance().initialize(), which 
throws this error.

Checking MyApplication.js, I found that earlier (v0.8), there was
qxsettings["qx.theme"]="qx.theme.Modern";
being set by the script which is missing now. (even when my config.json 
has "QXTHEME" : "qx.theme.Modern")

When I manually placed this code in my JS file, it runs fine. So, why 
does this setting get missed by the script?

Regards

-- 
Amit Rana 
SpagoBI Consultant 
www.eng.it            www.spagoworld.org


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