Hi Joseph, Good question for so early in the morning! :-)
I'm also curious as to how this might work, as I need to do the same thing (and I would imagine most people trying to use qx inline will also). I hadn't tried it yet, but had just assumed that one could simply adjust the path to the loader .js file in the target html page and things would be happy, regardless of where the html file was located. Doesn't appear to be the case... Cheers, -Chris > I am building my website to include some qooxdoo Inline components, > and I have encountered a hurdle getting them to render (or, for the > generate.py script to do what I need it to do) in my html file. I have > a separate html file for my website which is NOT the same as the > default index.html created by generate.py and lives one directory > higher than the qooxdoo application folder. That is, for example: > > website is at C:/website/site.html > > qooxdoo Inline component at C:/website/qooxdoo/... (contains the > index.html, which I don't intend to use, and all of the class, script, > and resource folders). > > I want to include the qooxdoo application in a script tag in site.html > (in a div element, to be specific), but generator.py of course builds > the entire application relative to the file structure one directory > lower at /website/qooxdoo. I want to do this, rather than use the > default index.html generated by qooxdoo, because I expect to use > multiple qooxdoo elements separately around my website, and therefore > no single index.html will apply. From the online documentation I > suspect I will need to edit the config.json file, but exactly what I > need to edit is unclear. Some tentative test edits I made (in > particular, trying to code absolute file paths into config.json rather > than the relative paths that generate.py generates) didn't work. If > there is already an online discussion on this topic that I have missed > I would be very happy to be directed to it. > > Best regards and thanks, > > Joseph Gangestad ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
