Ugh. I am trying to use DarkTheme in my oddball app that sends almost
all JS over to the client for eval-ing, with Application.js just kicking
off the first load.
I have it working to use qx.theme.Modern by first including a simple
reference to the class in Application.js, which I have end with an XHR
on a URL "/begin" that gets back a ton of JS defining the interface,
including:
qx.theme.manager.Meta.getInstance().setTheme(qx.theme.Modern);
I added the bits to my config.json as specified here:
http://qooxdoo.org/contrib/project/darktheme
...and it seems to work because I see it fussing over DarkTheme and I
did find the whole theme in a temp download directory.
In application.js I simply mention darktheme.DarkTheme, and I pass the
same to setTheme. I suspect, btw, this is where I am messing up.
I then do a "generate.py build"* and when I call up the site I get a JS
error saying "qx.Class is not defined", which sounds odd (as if all of
qx is missong) but I think I get the same whenever I start sending over
JS that references a new widget but forget to add a mention to
Application.js.
As a sanity check I can switch everything back to Modern and all goes well.
So I am guessing it is just the name. Should that be
qx.darktheme.DarkTheme? qx.theme.darktheme.DarkTheme? Some other
permutation?
Or am I barking up the wrong tree?
ken
--
http://www.stuckonalgebra.com
"The best Algebra tutorial program I have seen... in a class by itself."
Macworld
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel