Hi Jeroen,

I soluted that kind of issue like this:

// Assert all resources for generator
#asset(webguiA/*);
#asset(webguiB/*);


On myapp.theme.Decoration you can set aliases like this:

qx.Theme.define("myapp.theme.Decoration",
{
  aliases : {
    decoration : "qx/decoration/Modern",
    myDecorations : "webguiA/decoration/*",
    myIcons : "webguiA/icons/*"
  }, ...

Now you can use this aliases on every part of your code (theming, images, 
icons). The generator will handle paths for you. To change any resource set, 
just change alias path.

Regards Mustafa Sak

Von: Jeroen Smit [mailto:[email protected]]
Gesendet: Donnerstag, 14. Juni 2012 10:38
An: qooxdoo Development
Betreff: [qooxdoo-devel] Question about including images/resources

Hi,

Currently we are using the following construction to get all our resources 
included in the generated script for the website:
#asset(webgui/*);

One of our customers has posted the request to be able to override certain 
images and/or add images to be used in configurable actions. Since all the 
resources are "compiled into" the script, I was wondering if this is possible 
and if so, how? Thanks in advance for any suggestions.

B.t.w. we are using Qooxdoo V1.4.1

Best regards,
Jeroen

------------------------------------------------------------------------------
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