I think my problem is more fundamental than that. I've read (and reread)
the documentation on theme support. I've edited the make file. I've created
a new meta theme. I've created a new color theme (extending an existing
one). I just can't get them to work.

I've managed to test my change to the make file by choosing ClassicLunaBlue
as my new theme. That worked fine. It's when I create my own theme that I
get into trouble. I can't seem to figure out how to introduce my new .js
files into the collection of scripts. I can see that it must be done AFTER
some of the sdk scripts have already been loaded, so I edited my custom.js
file to include my new scripts. That's when I got the error

Invalid key "extend" in class "com.cvmkt.themes.QuickstoreColor"!

I added the new entries right before the entry for my Application.js file.

Sorry this is such a newbe question. I seem to be missing something very
basic here.

Thanks

Bob



On Wed, 13 Jun 2007 11:10:21 -0500 (EST), Alex Back
<[EMAIL PROTECTED]> wrote:
> Hi Bob,
> 
> hired-gun wrote:
> > I am trying to extend an existing color scheme. I couldn't figure out where
> > to add the script file. I tried editing my 'make' generated custom.js file
> > with the line:
> >
> > <script type="text/javascript"
> > src="./class/com/cvmkt/themes/QuickstoreColor.js"></script>\
> >
> > right before the line that loads my Appliaction.js script. Then I add this
> > line to my Application.js file:
> >
> > qx.theme.manager.Appearance.getInstance().setAppearanceTheme(com.cvmkt.them
> >es.QuickstoreColor);
> >
> > But I get an error trying to parse the color theme:
> >
> > Invalid key "extend" in class "com.cvmkt.themes.QuickstoreColor"! The value
> > is undefined/null!
> The best way to change the existing themes is to extend an existing meta 
> theme
> and change the themes you wish in your meta theme file.
> 
> If you only want to change the color theme this would be sufficient:
> 
> --snip--
> qx.Theme.define("YOUR_NAMESPACE.theme.YOUR_META_THEME",
> {
>   title : "YOUR META THEME",
>   extend : qx.theme.ClassicRoyale, // this is only used for example
> 
>   meta :
>   {
>     color : YOUR_NAMESPACE.theme.YOUR_META_THEME.YOUR_COLORTHEME
>   }
> });
> --snip--
> 
> Just take a look at the folder layout of the Ext theme.
> 
> qx.theme.Ext -> Meta theme
> qx.theme.ext.Color -> Color theme
> qx.theme.ext.Appearance -> Appearance theme
> ...
> 
> To use the created meta theme you can use the "APPEARANCE_THEME" makefile
> variable. Just insert this variable into your makefile (located at the root
> of your application).
> 
> e.g.
> APPLICATION_THEME=qx.theme.Ext
> 
> would use the Ext meta theme as default theme (after executing a "make").
> 
> Hope that helps,
>   Alex
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to