On Tue, May 15, 2012 at 10:53 AM, thron7 <[email protected]>wrote:

> On 05/15/2012 04:13 PM, Derrell Lipman wrote:
> >
> > Thomas, I don't think this does what I asked about. I believe what
> > you're describing is replacing the theme. The library (typically) does
> > not provide a replacement theme for the application; it only provides
> > its little portion of an existing theme, e.g. modern. Example: The
> > collapsablepanel contrib provides a "collapsable-panel" map in its
> > Appearance.js file as part of the modern theme. My question is about
> > merging the "collapsable-panel" appearance into the default modern
> > theme. I would think this should happen automatically, just by
> > including the library's manifest in my app. Even if not added by
> > default, will putting it in the "include" array include it in the
> > selected appearance theme? I'll give it a try.
>
>
> In general there is no automatic merging of themes classes. Theme
> classes are like simple qooxdoo classes, so what you can do is
> extending, including and patching. E.g. if you want to draw something of
> the CollapsablePanel theme into your own, use e.g.
>
>   {
>    ...
>    include : [collapseablepanel.theme.Appearance]
>
> in your own Appearance.js. Theme classes have to be used much like code
> classes.


Ok, that will solve it manually.

I still don't understand why Theme classes are _not_ treated like code
classes, though. I don't need to manually include any of the code classes
from collapsablepanel into my app. I list its manifest in the library list
of my app, and I'm done, so far as code classes go. My question here is why
is that library's appearance not automatically included in my app's
appearance by virtue of having included its manifest in my app's library
list. I believe the typical case is that one needs a library's appearance
classes in order to use the library. In the case of collapsablepanel,
without the appearance class, you get nothing resembling a collapsable
panel.

Thanks.

Derrell
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to