Awesome, Richard! P.S. David wrote that Tomcat incorrectly returns HTTP 302 status: http://groups.google.com/group/liftweb/browse_thread/thread/ed0945b9dd6278e5?hl=en and browser then add trailing '/' to the URL.
Have you discover it? Vladimir 2011/4/7 Richard Hirsch <[email protected]> > Good news - it looks I already solved the problem. I had time during > my train ride home and I think that something has changed in lift. The > servlet context is now set correctly. > > I tried it in Tomcat and jetty. > > The change actually simplifies our code. I'll commit my changes on > Friday and let everyone else take a look at it. > > D. > > On Wed, Apr 6, 2011 at 5:53 PM, Vladimir Ivanov <[email protected]> > wrote: > > Ethan, > > > > For sure ;s) Great that you found it! > > > > Vladimir > > > > 2011/4/6 Ethan Jewett <[email protected]> > > > >> Oh .... we *might* want to keep an eye on this thread: > >> > >> > http://groups.google.com/group/liftweb/browse_thread/thread/ed0945b9dd6278e5?hl=en > >> > >> Ethan > >> > >> On Wed, Apr 6, 2011 at 5:06 PM, Richard Hirsch <[email protected]> > >> wrote: > >> > Double Arggggh > >> > > >> > D. > >> > > >> > On Wed, Apr 6, 2011 at 4:58 PM, Ethan Jewett <[email protected]> > wrote: > >> >> Ok, this stuff has nothing to do with the timeline, I think :-( > >> >> > >> >> Do the button images start working again if you just use > >> >> LiftRules.context.path instead of Message.root? I don't really see > why > >> >> that would make a difference, but it's possible. > >> >> > >> >> Regarding the script links, in the old base_top.html I think they > were > >> >> more like scripts/ instead of ../scripts/. Does making that change > >> >> break things on other pages? Probably it does, in which case we need > >> >> to figure out another way.... Arggggh :-) > >> >> > >> >> Ethan > >> >> > >> >> On Wed, Apr 6, 2011 at 4:48 PM, Richard Hirsch < > [email protected]> > >> wrote: > >> >>> @Ethan - I'd love to wait and see you work your magic ;-> > >> >>> > >> >>> The problem is in base.html: > >> >>> > >> >>> <link rel="stylesheet" href="../style/style.css" > >> >>> type="text/css" media="screen" /> > >> >>> <link rel="stylesheet" href="../style/tipTip.css" > >> >>> type="text/css" media="screen" /> > >> >>> <script id="jquery" src="/classpath/jquery.js" > >> type="text/javascript"/> > >> >>> <script id="json" src="/classpath/json.js" > >> type="text/javascript"/> > >> >>> <script src="../scripts/jquery.TipTip.js" > >> type="text/javascript"/> > >> >>> <script src="../scripts/esme_tool_tip.js" > >> type="text/javascript"/> > >> >>> <script src="../scripts/jquery.validate.js" > >> type="text/javascript"/> > >> >>> <script src="../scripts/esme_validate.js" > >> type="text/javascript"/> > >> >>> > >> >>> All the scripts with "../" don't work on Tomcat. I deleted > >> >>> base_top.html but without testing the change on Tomcat ;-> > >> >>> > >> >>> Also the sign-out and search images are broken which is a little > >> >>> strange, since they are based on Vassil's Message.root code. > >> >>> > >> >>> def logoutimage: MetaData = ("src" -> (Message.root + > >> >>> "/images/btn-signout.gif")) > >> >>> def searchimage: MetaData = ("src" -> (Message.root + > >> >>> "/images/btn-search.gif")) > >> >>> > >> >>> In Tomcat, these are turned into > >> >>> "http://localhost:8080/esme/esme/images/btn-signout.gif" > >> >>> > >> >>> D. > >> >>> > >> >>> On Wed, Apr 6, 2011 at 4:40 PM, Vladimir Ivanov < > [email protected]> > >> wrote: > >> >>>> Should separate issue be created or the old one ESME-327 be > reopened? > >> >>>> > >> >>>> 2011/4/6 Richard Hirsch <[email protected]> > >> >>>> > >> >>>>> Hi, > >> >>>>> > >> >>>>> I just wanted to inform the list that ESME in Tomcat is currently > >> >>>>> tweaked... > >> >>>>> > >> >>>>> In base.html, the paths are messed up again. Arghhhh. > >> >>>>> > >> >>>>> I'll take a look at it and see if I figured how out how best to > fix > >> it. > >> >>>>> > >> >>>>> D. > >> >>>>> > >> >>>> > >> >>>> > >> >>>> > >> >>>> -- > >> >>>> Best Regards, > >> >>>> Vladimir Ivanov > >> >>>> > >> >>> > >> >> > >> > > >> > > > > > > > > -- > > Best Regards, > > Vladimir Ivanov > > > -- Best Regards, Vladimir Ivanov
