> On Tue, Feb 8, 2011 at 12:53, Derrell Lipman <
> [email protected]> wrote:
>
>> I am trying to use the same mechanism that widgetbrowser uses, to select
>> the theme via the URL query string. I've attached my config.json file,
>> which
>> correctly generates three files, one each for the three themes I've
>> included. The problem is that they all make use of the Modern theme
>> instead
>> of the theme specific to that file. For example, here's the beginning of
>> the
>> source/script/aiagallery.simple.js file:
>>
>> (function(){
>>
>> if (!window.qx) window.qx = {};
>>
>> qx.$$start = new Date();
>>
>> if (!window.qxsettings) qxsettings = {};
>> var settings =
>> {"qx.application":"aiagallery.Application","qx.theme":"qx.theme.Modern","qx.version":"1.4-pre"};
>>
>>
>> I must be missing something obvious, as I can't figure out why the
>> QXTHEME
>> setting for each file isn't taking effect.
>>
>
> Additional information:
>
>    - The theme changes (in all of the output files) if I put the QXTHEME
> in
>    the top-level "let" section instead of in the "let" section of
>    source-script-themename.
>    - If I add a "settings" section in the source-script-themename sub-job,
> I
>    can get it to put the proper qx.theme in the settings variable of the
> output
>    file, but that doesn't also change all of the files to be loaded to
> also be
>    the modified theme.
>
> Does this actually work in the widgetbrowser?

With the newest version ;-).

Have a fresh look at it. The trick is to block the "source" job from
application.json, in the corresponding "include" entry.

T.



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to