I don't like both things. We cannot use server side processing in this case. And I also don't like that one needs to process the files first. I really like the current file header, which doesn't differ between the "source" and the "build" version.
If you have already used XmlHttp to load the files, why not use window.eval to evaluate the code afterwards. Is there any reason why we need to write script tags at all? Regards, Sebastian Alessandro Sala schrieb: > Hi Andreas, > >>> The solution is to launch the loading of the next script from the previous >>> one. >>> >>> You can insert this call in each loaded script: >>> >>> loadNextOne(); >>> By simple server side processing you can add this line at the end. >>> >>> This function would be defined in the main HTML page. >>> >> >> Well, your solution may work, but unfortunately I think it is not an >> option here. No server side (pre-)processing should be needed to load >> the source files. >> >> Anyone having ideas on how to get solutions for all browsers? >> >> > I agree. As I a said in a previous post, I found a cross-browser > solution by using a synchronous > XMLHttpRequest to serialize script loading. > > Another solution I'm thinking about is to avoid dynamic loading of > script at all! After all > at compile time we know what scripts are needed, so generator.py could read > a template index file, say qx_index.html, and create the default > index.html (or php, asp > or whatever) by statically adding <script src...> tags in place of the > <script src="custom/script.js"> > tag. > > This would be perfectly cross-browser and very efficent. What do you > think about this idea? > > Alessandro > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
