[Lift] Re: Cookie not being removed for custom user logout

2009-08-15 Thread marius d.
Your code looks fine to me. There is notmagic withXHtml.link just that when you click the link on server-side your function gets called before the /logout page gets rendered. Can you add a function to LiftRules.onEndServicing ? LiftRules.onEndServicing.append { case (req, Full(resp)) = val

[Lift] Re: Cookie not being removed for custom user logout

2009-08-15 Thread Richard Dallaway
Thank you for the debugging clue (very handy function; I can see myself using that in other situations). What I see when the logout link is followed is: List() When I set the cookie originally, I do see a List(HTTPCookie(...)) I'm running all of this on 127.0.0.1:8080. Thanks Richard On

[Lift] Re: Cookie not being removed for custom user logout

2009-08-15 Thread Richard Dallaway
I've made some progress with this. By changing my link to go to a different page, I do see the cookie being removed. So by going from... SHtml.link(/logout, LoginContext.logout, spanLogout/span ) to SHtml.link(/blank, LoginContext.logout, spanLogout/span ) It works: the cookie is deleted

[Lift] Re: Db.addLogFunc

2009-08-15 Thread Derek Chen-Becker
OK, a preliminary version of log wrappers is checked in on wip-dcb-sql-log-wrappers. I'll merge it on Tuesday if no one sees any problems with it. Derek On Tue, Aug 11, 2009 at 11:08 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Will do. On Tue, Aug 11, 2009 at 2:33 AM, marius d.

[Lift] Re: ws-generated code in lift

2009-08-15 Thread Timothy Perrett
Sounds like a classic situation what is technically possible is one thing but what you should do to preserve your sanity is most probably another ;-) Good luck! Cheers, Tim On Aug 15, 4:29 am, Meredith Gregory lgreg.mered...@gmail.com wrote: Tim, Viktor, Thanks for the insights and

[Lift] Re: ws-generated code in lift

2009-08-15 Thread David Pollak
I think there will be an important Goat Rodeo/Lift/SOAP story that I'll be able to tell in a week or so... integrating WS into Lift (rather than running on the side) will, I think, have benefits. On Sat, Aug 15, 2009 at 9:45 AM, Timothy Perrett timo...@getintheloop.euwrote: Sounds like a

[Lift] Re: ws-generated code in lift

2009-08-15 Thread Timothy Perrett
Id be interested to hear those stories... all the ones i've heard so far that involve anything to do with SOAP have usually been tales of woe ;-) Cheers, Tim On Aug 15, 6:47 pm, David Pollak feeder.of.the.be...@gmail.com wrote: I think there will be an important Goat Rodeo/Lift/SOAP story that

[Lift] Re: how to do basic joins

2009-08-15 Thread harryh
class Foo extends LongKeyedMapper[Foo] with IdPK {  def getBazes = {    Baz.findAll(In(Baz.barid, Bar.id, By(Bar.fooid, this)))  } OK, upgrading to 1.1-M4 got rid of the NPE so I'm just gonna assume there was a bug that has been fixed. However the SQL query that lift is generating is no

[Lift] ScalaTest dependency

2009-08-15 Thread Bill Venners
Hi Derek, I noticed you checked in a change to Lift that updated the Maven ScalaTest ref. However the ref is to version 0.9.4, whereas the current version is 0.9.5. Thanks. Bill Bill Venners Artima, Inc. http://www.artima.com On Aug 15, 2009, at 7:02 AM, Derek Chen-Becker