[Lift] Re: Great pictures from the Scala Lift Off

2009-06-09 Thread Richard Dallaway
On 9 Jun 2009, at 15:57, Kevin Wright wrote: I wish I could actually discover LSUG meets! I signed up on (the extremely minimalist) http://lsug.org/ but the only other hits I get are fleeting references to old meets on nabble and flickr Ah, good point. For London Scala User group

[Lift] Re: Great pictures from the Scala Lift Off

2009-06-09 Thread Richard Dallaway
On 9 Jun 2009, at 17:21, Kevin Wright wrote: BTW, are you in need of someone to actually add a bit of content to that site? lsug.org is Aaron's site, and the code is: http://code.google.com/p/lsug-website/ -- I suspect it's very close to a default Lift Hello World site. I'd say it's

[Lift] Submit like SHtml.text but with ajaxText

2009-07-31 Thread Richard Dallaway
I'm looking for some guidance on how best to have the value of text field that's been ajax-ified picked up on a regular submit. What I mean is: If I have a field of object word extends RequestVar() which I bind like this bind(f, xhtml, word - SHtml.text(word,word(_)),

[Lift] Re: Submit like SHtml.text but with ajaxText

2009-08-01 Thread Richard Dallaway
}), last - text(lastName, lastName = _, s = {S.notice(Last name +s); Noop}), submit - submit(Send, validate _)) You can have an onblur associated with a server-side function. On Fri, Jul 31, 2009 at 6:33 AM, Richard Dallaway dalla...@gmail.com wrote: I'm looking

[Lift] Cookie not being removed for custom user logout

2009-08-14 Thread Richard Dallaway
I'm seeing some odd behaviour with a cookie I'm setting not being removed. I'm unsure which phase of my code is broken or how deep my misunderstandings are here... so I'm looking for some clues. I'm setting a keep me logged in cookie for users of my application. That works fine using... val c

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

2009-08-15 Thread Richard Dallaway
? LiftRules.onEndServicing.append {  case (req, Full(resp)) =   val cookies = resp.toResponse.cookies   // trace the cookies  case _ = } Br's, Marius On Aug 14, 8:20 pm, Richard Dallaway dalla...@gmail.com wrote: I'm seeing some odd behaviour with a cookie I'm setting not being

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

2009-08-15 Thread Richard Dallaway
to LiftRules.onEndServicing ? LiftRules.onEndServicing.append {  case (req, Full(resp)) =   val cookies = resp.toResponse.cookies   // trace the cookies  case _ = } Br's, Marius On Aug 14, 8:20 pm, Richard Dallaway dalla...@gmail.com wrote: I'm seeing some odd behaviour with a cookie I'm

[Lift] Menu.builder li_item being applied to all?

2009-08-25 Thread Richard Dallaway
I've been running mvn -o for a while, but didn't today and noticed a change in behaviour for the menu builder (1.1 SNAPSHOT). I'm seeing all my menus being given the selected item class, not just the one that's selected for the page you're on. I'm using... lift:Menu.builder

[Lift] Re: Menu.builder li_item being applied to all?

2009-08-26 Thread Richard Dallaway
issue. On Tue, Aug 25, 2009 at 5:48 AM, Richard Dallaway dalla...@gmail.com wrote: I've been running mvn -o for a while, but didn't today and noticed a change in behaviour for the menu builder (1.1 SNAPSHOT).   I'm seeing all my menus being given the selected item class, not just the one that's

[Lift] Props.userName minor minor minor suggestion

2009-08-27 Thread Richard Dallaway
As Props.userName is public, it would be good if it didn't include a trailing . in the return value. I see why it does for use in toTry but as a user of Lift it was a surprise to ask for Props.userName and see the . on the end. The same applies for Props.hostName (even though there's

[Lift] Small wiki contribution for log4j configuration

2009-08-27 Thread Richard Dallaway
What's the protocol for making a Wiki contribution: just go in and do it? Turns out I'm not that brave. I've pulled together the start of a logging wiki entry, just covering what is (for me) the common case. I've put it here for the moment...

[Lift] Re: Small wiki contribution for log4j configuration

2009-08-27 Thread Richard Dallaway
...@getintheloop.eu wrote: Looks great to me! Add it to the lift wiki with the prefix How To: as that follows our convention. Cheers, Tim On 27/08/2009 15:56, Richard Dallaway dalla...@gmail.com wrote: What's the protocol for making a Wiki contribution: just go in and do it? Turns out I'm

[Lift] Re: Props.userName minor minor minor suggestion

2009-09-01 Thread Richard Dallaway
Tried it - works great for me. Thanks. Richard On Thu, Aug 27, 2009 at 4:31 PM, David Pollakfeeder.of.the.be...@gmail.com wrote: On Thu, Aug 27, 2009 at 7:07 AM, Richard Dallaway dalla...@gmail.com wrote: As Props.userName is public, it would be good if it didn't include a trailing

[Lift] Re: Google Analytics

2009-09-18 Thread Richard Dallaway
I'm a bit late to this thread, but found it really useful. In case this is of any use to future explorers of the thread, I thought I'd contribute what we ended up doing: we put lift:Analytics.google / (snippet below) before /body in our template. I guess this may have been all over-taken by the

[Lift] Re: Bug in MappedEmail: emailPattern is wrong

2009-09-20 Thread Richard Dallaway
Apologies if I've duplicated the ticket, but I couldn't find it one, and this issue is going to impact me too. http://github.com/dpp/liftweb/issues/#issue/65 Cheers Richard On Fri, Sep 18, 2009 at 6:32 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Please open a ticket On Wed, Sep

[Lift] Re: suggestion: make Mailer use n.l.util.Props

2009-09-22 Thread Richard Dallaway
Couldn't find a ticket for this, and it'd save us a few lines of code too. http://github.com/dpp/liftweb/issues/#issue/73 Again, apologies if this is a duplicate. Richard On Thu, Sep 17, 2009 at 1:15 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Open a ticket... I'll see what I can

[Lift] lift-json and attributes

2009-10-05 Thread Richard Dallaway
Loving the new lift-json code. We've been producing XML for a REST API, and now need to produce JSON. lift-json to the rescue, except...the Xml converter doesn't handle attributes: scala val xml = user id=7nameBert/name/user xml: scala.xml.Elem = user id=7nameBert/name/user scala val json =

[Lift] Re: lift-json and attributes

2009-10-07 Thread Richard Dallaway
On Mon, Oct 5, 2009 at 9:01 PM, Joni Freeman freeman.j...@gmail.com wrote: Thanks Richard! This is a feature request and I just committed an implementation to my branch. I've just pulled 1-1 SNAPSHOT, tried it, and it works just how I need it to. Thank you Richard

[Lift] Re: java.sql.SQLException | ERROR 07000

2009-10-13 Thread Richard Dallaway
On Tue, Oct 13, 2009 at 8:27 AM, Hannes hannes.flo...@gmx.li wrote: I'm almost sure that this error didn't occured before..I also updated to 1.1-M6 but the error is still there. Do I've to do some other update? I think the problem is related to some actor stuff.??? This is a long

[Lift] Re: Props file example

2009-10-13 Thread Richard Dallaway
On Mon, Oct 12, 2009 at 2:55 PM, my_li...@me.com wrote: And how do I switch runtimes? within the boot.scala? If I need to, I change the run mode at start up time: $ MAVEN_OPTS=-Drun.mode=pilot mvn jetty:run ...if that helps Richard --~--~-~--~~~---~--~~ You

[Lift] Re: java.sql.SQLException | ERROR 07000

2009-10-13 Thread Richard Dallaway
On Tue, Oct 13, 2009 at 10:37 AM, Hannes hannes.flo...@gmx.li wrote: OK, thanks. I'll have a look! Ah, it won't be that. I've just seen the error I had documented here: http://wiki.github.com/dpp/liftweb/10-11-possible-code-changes ...and it looks nothing like the error you're getting.

Re: [Lift] Re: London Lift talk

2010-02-22 Thread Richard Dallaway
On Sun, Feb 21, 2010 at 1:09 AM, Timothy Perrett timo...@getintheloop.eu wrote: Man, I really must try and drag my ass along to this... There'll be a trip to the pub after, if that's any use as an incentive to come along :-) Cheers Richard -- @d6y -- You received this message because you are

Re: [Lift] London Lift talk

2010-03-09 Thread Richard Dallaway
On Sat, Feb 20, 2010 at 8:22 PM, andy andy1...@gmail.com wrote: The London Scala User Group (LSUG) will be presenting a talk by Richard Dallaway on 'Getting started with Lift' at SkillsMatter It is done: http://icanhaz.com/gswl ... where you will find a link to the Skillsmatter video. Richard