On 4/6/10 3:39 AM, thron7 wrote: > Greg, > > On 04/04/2010 11:01 PM, Greg Beaver wrote: > >> Hi, >> >> I'm trying to include some oxygen icons and also some icons from the >> htmlarea demo browser in my application, but qooxdoo is unable to find >> them. >> > When does the error show (compile time / run time)? Which message do you > get? > The error was runtime > Which qooxdoo version are you running anyway? > 1.0.1 >> I have an #asset() declarative in my source file and have run >> generate.py source-all, is there anything else I need to do that I am >> missing? >> > For one thing, you have to add all libraries to your application > configuration which you want to use resources from (e.g. adding them to > the "libraries" job in your config). For another, you have to make sure > these have a proper qooxdoo library structure (Manifest, source/resource > folder, etc.). For a third, you have to reference those resources > properly, starting with their name space identifier, e.g. > "qx/decoration/....". > After writing, I found this section of the manual:
http://qooxdoo.org/documentation/1.0/ui_resources which helped answer my questions. I ended up copying the files I wanted inside my own resource section, but the "libraries" job of the config.json is not explicitly mentioned there and sounds like it would be simpler. Would you (or anyone else who knows what thron7 is speaking of) be willing to add a short example of this to that page? this might work as a fourth option under the "Using qooxdoo icons with widgets" section. Thanks, Greg ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
