Gaetan de Menten schrieb:
> On Wed, Oct 8, 2008 at 10:19 AM, thron7 <[EMAIL PROTECTED]> wrote:
>
>
>> it might be that you are missing the qooxdoo setting for qx.theme. Are
>> you including the application.json in your config? And are you building
>> on its jobs? If so, your jobs would inherit the "settings" key. Try
>> copying over the common/settings key from base.json and see what it
>> does. Alex was struggling with the same issue and solved it, but he is
>> on vacation currently.
>>
>
> Ok, I dug deeper into the issue and found out what is happening. The
> thing is that my custom theme classes are only loaded after the
> theme.manager.Meta.initialize method is called. I've found a simple
> workaround, which might be the correct fix: I simply modified my
> config.json to read:
>
> "jobs" :
> {
> "common" :
> {
> "include" :
> [
> "${QXTHEME}",
> "${APPLICATION}.Application"
> ],
>
> instead of the (generated stuff from migration script):
>
> "include" :
> [
> "${APPLICATION}.Application",
> "${QXTHEME}"
> ],
>
> *IF* this is the correct fix, it should be applied to at least
> tool/data/config/base.json and
> component/skeleton/migration/config.tmpl.json.
>
Wow, this is a really ugly bug. We should modify the templates to fix
it for the moment but usually the order of the includes should not
matter. The dependency detection should be able to detect this
dependency. Could you open a bug for this issue?
Best Fabian
>
>> Gaetan de Menten wrote:
>>
>>> I'm using an "extended" modern theme for my application, that is I'm
>>> inheriting from the theme and adding some states ("invalid", ...) to
>>> some widgets. It works fine in source form, but I systematically get
>>> the following exception as the first message in my console:
>>>
>>> The theme to use is not available: pinte.theme.Common Meta.js (line 108)
>>>
>>> While my theme seem to work flawlessly (except from this error
>>> message) in source form, the error seem fatal in "build" form. Any
>>> idea what might be causing this?
>>>
>>> My config.json does contain those lines:
>>> ...
>>> "QXTHEME" : "pinte.theme.Common",
>>> ...
>>>
>>> "include" :
>>> [
>>> "${APPLICATION}.Application",
>>> "${QXTHEME}"
>>> ],
>>>
>
>
--
Fabian Jakobs
JavaScript Framework Developer
1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe
Amtsgericht Montabaur HRB 6484
Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel