you can pass on parameters through qxsettings array, as is done here: https://github.com/ssinyagin/gerty-reports/blob/master/frontend/source/index.html.in
"generate.py" will then copy your index.html into the build directory as-is. Also in the example above, the parameter comes from ./configure options. ----- Original Message ---- > From: aditya siram <[email protected]> > To: qooxdoo Development <[email protected]> > Sent: Tue, February 22, 2011 7:10:20 PM > Subject: [qooxdoo-devel] Set App Root according to Installation > > Hi all, > I am using Qooxdoo as part of a web application where the application > root is determined by the specific installation. In some cases it > could be http://localhost:8080/app/ or http://app/ or any number of > other variations. > > Also my Qooxdoo javascript code is accessed through an HTML templating > system (Velocity) which means that it might be loaded from a number of > different (sometimes dynamically generated) HTML files and so I don't > have a way of setting a reliable relative path to my javascript file. > > I have a non-Qooxdoo javascript function that outputs the application > root. How can I use that in my config.json for my app-root setting? ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
