What is the purpose of serving index.cache.html? Its not clear to me.
Cheers, Tim
> --
> You received this message because you are subscribed to the Google Groups "Lift" group.
> To post to this group, send email to lif...@googlegroups.com.
> To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
I'm trying to combine a simple GWT application with Lift. To keep it simple the GWT application is client side only so no client-server communication is needed.Basically I have taken the Lift 2.1 prototype and exchanged the index.html page with the GWT host page- a simple page that loads the .nocache.js. I did not include any Lift surround tags to keep it as simple as possible. The GWT code resides in a directory webapp/gwtapp.I have commented out access control through SiteMap: //LiftRules.setSiteMap(SiteMap(entries:_*))When I open the index.html page directory in a browser all loads fine, however when I try to serve the page through Lift (running sbt jetty-run) the following happens:- the page loads- the GWT nocache.js is found and loads- the GWT CSS files get loaded- GWT creates an iframe on the page in which it should load the compiled file xxx.cache.html from webapp/gwtapp, however this file cannot be loaded:"The Requested URL /gwtapp/3A9A9066398FE8F1910EF123A5D2CED1.cache.html was not found on this server"
I then copied index.html to index2.cache.html and tried to load this (after a server restart) which also failed.So I guess there is some switch preventing Lift from loading .cache.html files...I also tried to adapt the ObjJServer object and statelessDispatchTable as David showed in the Frothy Cappuccino example:LiftRules.statelessDispatchTable.prepend {case r @ Req( "invoicezero" :: Nil, _, GetRequest) => ObjJServer.serve(r)}But that didn't help- probably because I did something wrong.Can someone point me in the right direction on how to enable loading the .cache.html files? If it helps I'll upload the project to GitHub or BitBucket.Thanks,Torsten.
--Torsten Uhlmann
AGYNAMIX(R). Passionate Software.
Inh. Torsten Uhlmann
Buchenweg 5, 09380 Thalheim
Phone: +49 3721 273445
Fax: +49 3721 273446
Mobile: +49 151 12412427
Web: http://www.agynamix.deSkype: torsten.uhlmannFacebook, Twitter: agynamix
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
<lift-gwt.zip>