Thanks Thomas for your answer!
>This is generally not the case. All resources, from whatever library,
>are referenced by their so called "resource id", which is a globally
>unique identifier. Resource id's always start with the library's name
>space, so you have to make sure that app 1's resources are stored under
>"source/resource/app1/..." (or some other name space identifier). Then
>you can refer to them from any library with e.g. "app1/icons/smile.png".
we do this and it works if the resources is only in "app"
>The other thing you might be stumbling over is qooxdoo's AliasManager,
>which allows you to use aliases for resource id's, which allows to
>shorten them and abstract away e.g. the theme in effect. So you will see
>code like this:
> new qx.ui.form.Button("My button", "icon/22/actions/edit-clear.png")
We use the AliasManager and we have posted a code addition to comply with it
and url generation qx.data.store.Json too.
>where the icon reference will get resolved by the AliasManager to e.g.
>qx/icon/Tango/22/actions/edit-clear.png. The AliasManager has a few
>pre-defined rewrite rules, but that doesn't mean they work for your
>particular application. You can add new rules that suite you. If in
>doubt, just use the full resource id in your code and you should be
>fine. We have a lot of apps using resources from various libs, and it's
>working smoothly so there is no general issue.
Thanks for this last statement. Then it might be some error in the way we do it.
If I understood you correctly the "run" directive of the generator use the
local ("app 1" and "app 2") resource code?
It is here we get the problem.
Where is the local data, like paths et, saved? in respective package or in the
boot package?
Stefan
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel