After trying around millions of things i finally got the solution.
I added this
"${APPLICATION}.theme.*"
To the "include"-part of the config.json and now the theme is getting
loaded correctly.
Thanks.
Tobi
Von: Tobias Koller (GERMO GmbH) [mailto:[email protected]]
Gesendet: Donnerstag, 21. Februar 2013 16:56
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] qooxdoo 0.7 with current qooxdoo-version
mix ?
Ok, sorry for all my mails but i'm getting closer to solution ;)
i just noticed that in the config.json-file there is a
qx.legacy.theme-Setting which I set now to myapp.theme.Classic.
The compiler doesn't crash anymore but now I'm getting this error:
Error: The meta theme to use is not available: myapp.theme.Classic
I debugged the qx.Theme.define-method and all themes (qx.theme...) are
registered but not myapp.theme.Classic.
Can somebody help me here?
Von: Tobias Koller (GERMO GmbH) [mailto:[email protected]]
Gesendet: Donnerstag, 21. Februar 2013 16:01
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] qooxdoo 0.7 with current qooxdoo-version
mix ?
Hello,
I found out that my own theme has to start with qx.Theme.define and not
with qx.legacy.theme.define.
But how can I use a legacy-theme in my config.json ?
Von: Tobias Koller (GERMO GmbH) [mailto:[email protected]]
Gesendet: Donnerstag, 21. Februar 2013 12:58
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] qooxdoo 0.7 with current qooxdoo-version
mix ?
Thanks for your detailed answer.
Yes, I discovered this documentations already and checked also the
theming-section.
But when I Change the configuration from
"let" : {..., "QXTHEME" : "qx.theme.Modern",... },
To
"let" : {...,"QXTHEME" : "myapp.theme.Classic",...},
my generate.py source stops in the middle of compiling...
this is the last entry from the generate.py-logfile.
>>> Scanning libraries...
- Use memory cache for
C:\data\eclipse\qooxdoo\0.8.3\qooxdoo-0.8.3-sdk\framework
- Use memory cache for C:\data\eclipse\qooxdoo\0.8.3\myapp
>>> Loaded 2 libraries
>>> Preparing include configuration...
- Including 3 items smart, 0 items explicit
- Expanding expressions...
When I don't change the config.json file the log looks like this:
>>> Scanning libraries...
- Use memory cache for
C:\data\eclipse\qooxdoo\0.8.3\qooxdoo-0.8.3-sdk\framework
- Use memory cache for C:\data\eclipse\qooxdoo\0.8.3\myapp
>>> Loaded 2 libraries
>>> Preparing include configuration...
- Including 3 items smart, 0 items explicit
- Expanding expressions...
>>> Preparing exclude configuration...
- Excluding 0 items smart, 0 items explicit
- Expanding expressions...
....
There is no error message or anything else.
Thanks.
tobi
Von: thron7 [mailto:[email protected]]
Gesendet: Donnerstag, 21. Februar 2013 12:34
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] qooxdoo 0.7 with current qooxdoo-version
mix ?
On 02/21/2013 12:01 PM, Tobias Koller (GERMO GmbH) wrote:
Hi thron,
I'm still converting my 0.7.4 to 0.8.3 and I guess I'm close to
finish it (with still all legacy-namespaces included).
Now I have a problem with the theming.
In my application I'm using my own theme with some alias for
Colors, borders ,.....
These themes are inherited from the qx.legacy.theme-classes.
My "make-file" from 0.7.4 has this setting:
APPLICATION_THEME = myapp.theme.Classic
How can I set this theme to be my default-theme in 0.8.3 ?
Do I have to change the config.json-file here?
Exactly. In the config.json file, in the top-level "let" section, set
"QXTHEME" : "myapp.theme.Classic"
That should do the trick. You probably already discovered the migration
guide 0.7 -> 0.8, which is part of the 0.8 documentation:
http://attic.qooxdoo.org/documentation/0.8/migration_guide_from_07
On that page, there is also a link to a dedicated page dealing with
mappings of old Makefile macros to new config settings:
http://attic.qooxdoo.org/documentation/0.8/migration_makefile
Mind, though, that config settings have also evolved since 0.8, so you
might want to cross-check the information of that page with the current
(2.1.x) settings:
http://manual.qooxdoo.org/2.1.x/pages/tool/generator/generator_config_ma
cros.html
http://manual.qooxdoo.org/2.1.x/pages/tool/generator/generator_config_re
f.html
(Though tedious, once you address the 0.8.3 -> 2.1.1 migration, it might
be a good idea to go through the "Migration" sections of the release
notes of all intervening releases:
http://qooxdoo.org/project/release_notes).
T.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel