thron7 wrote: > Can you get a static HTML page from Grails? Then you can generate a > build version of the standard Hello World skeleton of qooxdoo, and put > it under the DocumentRoot, and it should run as well. You can then go on > and dig into ways to request dynamic content from Grails, and integrate > it in your qooxdoo app. Bear in mind, though, that you are not > interested in page changes, in case Grails sends complete pages back, > but rather in data you will evaluate in your qooxdoo client, using e.g. > qx.io.remote.Request. > I'm using rails, and I could get 3 techniques to work.
1) I used the index.html from the source or build dir to be placed in the public/ folder of rails and rails loaded the qooxdoo app when I accessed the rails at the default http://localhost:3000 2) I added a route like this: > map.root :controller => "application", :action => "qooxdoo" And then, in application.rb main controller added this: > public > > def qooxdoo > render :text => "", :layout => "qooxdoo" > end And I had the source or build's index.html placed as the qooxdoo.erb in the appropriate layout dir. 3) Just placed the app inside the public dir and accessed the app like "http://localhost:3000/testproject/source/index.html". For build, just replace 'source' with 'build' in the previous URL and it worked too :) I'm preferring the 3rd technique as it's the simplest and needs to config at all :) cheers, skar. -- -- The life so short, the craft so long to learn. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
