Hi Joseph,

Joseph Gangestad wrote:
> Alex,
> 
> It worked! In fact, I simply copied the sample config.json file included in
> the article, modified it to use my application's filenames, and voila!
Nice to hear I could help you out here and the article is helpful.

> One question (which I suppose is actually a couple): will I still be able to
> access all of the qooxdoo javascript variables from within the main HTML
> file?
That should be no problem, because changing the application-root only 
affects the relative paths to the qooxdoo framework files. As the 
framework files will be loaded within the HTML page every qooxdoo 
framework variable is available there.

> So that, say, if I have two Inline components running in different
> places on the same HTML file, I'll be able to allow one to access the
> variables of the other. For my own purposes I have a situation where I need
> the Inline components to talk among each other, but they really won't work
> as one monolithic application. And if they can in fact see each other's
> variables (where in practice they become variables floating in the main
> HTML(?)), can I/we be sure that any default variables generated by qooxdoo
> will not overlap and cause unpredictable or fault-causing behavior?
Every variable will live within the scope of the window object, so if 
you have variables with the same name they will be overwriting each 
other, but also be accessible/visible. If you run into problems, let me 
know. Just drop a short code snippet and we have a look at it to solve 
the problem.

qooxdoo is using namespaces to avoid overwriting any other variables and 
if you organizing your application also with namespaces you can be more 
safe of overwriting any important variable.

> 
> In the article, you might want to mention that the "root" field should
> include the path to the *directory *of the user's HTML file, not to the HTML
> file itself. For example, on my first attempt I put "C:/website/site.html"
> and it failed; it needs to be just "C:/website".
Thomas has already corrected this. Thanks for the hint!


cheers,
   Alex

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

Reply via email to