Hi thron, I can only use build version so I'm using it. It's built using qxbuild.
- Petr 2009/9/17 thron7 <[email protected]>: > > > Petr Kobalíček wrote: >> Hi thron, >> >> problem is that all things that starts with 'qx' are loaded (path is >> resolved and it's correct), but all things starts with 'qxet' are not >> - Path is totally incorrect. I don't know where I'm doing something >> wrong. >> >> For me the generated output also seems good - everything 'qx' and >> 'qxet' seems to be registered as you wrote. >> >> And to give you example: when I run application the 'qx' resources >> path is (correct): >> >> http://localhost:28639/jfly/resources/com.jfly.core.resources.Resources/support/qx//resource/qx/decoration/Classic/table-combined.png >> and qxet (incorrect): >> >> http://localhost:28639/jfly/admin/qxet/decoration/Light/tabview-button-inactive-top.png >> >> it seems that it's relative to current context, but why? >> > > What is it - a source or a build version? If it is a build version, all > resources should have common root. Since this is not the case here, I > assume this is a source version. Then running it through a web server > is problematic; you have to set up your web server so it mimics the > relative paths of the file system. See here for hints: > http://qooxdoo.org/documentation/0.8/snippets#running_a_source_version_from_a_web_server > > T. > >> 2009/9/17 thron7 <[email protected]>: >> >>> Petr Kobalíček wrote: >>> >>>> To be more clear, I posted some generated code I think that is >>>> important. Everything seems to be ok, but 'qxet' theme things are not >>>> loaded, because resulting path is wrong. But look at libinfo, it seems >>>> to be correct. Resources also seems to be correct. >>>> >>>> Code: >>>> >>>> if (!qx.$$libraries) qx.$$libraries = {}; >>>> var libinfo = {"qx": {"resourceUri": qxsettings["qx.path"] + >>>> "/resource", "version": "trunk", "sourceUri": qxsettings["qx.path"] + >>>> "/script"}, "qxet": {"resourceUri": qxsettings["qx.path"] + >>>> "/resource", "version": "trunk", "sourceUri": qxsettings["qx.path"] + >>>> "/script"}}; >>>> for (var k in libinfo) qx.$$libraries[k] = libinfo[k]; >>>> >>>> qx.$$resources = >>>> {"qx/decoration/Classic/arrows/down-small-invert.gif": [5, 3, "gif", >>>> "qx", "qx/decoration/Classic/arrows-combined.gif", -82, 0], >>>> "qx/decoration/Classic/menu/checkbox-invert.gif": [16, 7, "gif", "qx", >>>> "qx/decoration/Classic/menu-combined.gif", 0, 0], >>>> ... [spurious more entries from qx.$$resources] >>>> >>>> >>> What do you mean? The code you posted only shows that the 'qxet' lib is >>> registered, and that various images from that lib are registered. I >>> don't see any wrong paths. What do you mean with "theme things are not >>> loaded"? It would be more interesting to know whether your theme classes >>> are loaded. >>> >>> T. >>> >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry® Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart your >>> developing skills, take BlackBerry mobile applications to market and stay >>> ahead of the curve. Join us from November 9-12, 2009. Register now! >>> http://p.sf.net/sfu/devconf >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >>> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> >> > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
