[Lift] Re: Maven Issue

2008-09-09 Thread David Bernard
Hi, On Tue, Sep 9, 2008 at 2:28 AM, lloy0076 [EMAIL PROTECTED] wrote: Hi There, I'm following the instructions here: http://liftweb.net/index.php/HowTo_start_a_new_liftwebapp ...and I can build the liftone application. However...when I do this: ^Cbash-3.00$ mvn jetty:run -U

[Lift] Re: Missing Scala class?

2008-09-09 Thread Marius
Scala version is specified in the parent pom properties scala.version2.7.1/scala.version /properties Br's, Marius On Sep 8, 9:06 pm, Kris Nuttycombe [EMAIL PROTECTED] wrote: The deps in my pom.xml are lift-webkit 0.9, scala 2.7.1 Out of curiosity, why does the lift-webkit pom not

[Lift] Re: JPA w/Scala

2008-09-09 Thread Oliver Lambert
On 09/09/2008, at 7:47 PM, Tim Perrett wrote: I agree - its strange and not what we would expect. What version of SQL server are you running? Im using 2005 Enterprise here... I think thats what they are using at my company Its just a really strange thing, the 100 is always ignored... I

[Lift] Re: Validating Input

2008-09-09 Thread TylerWeir
Take a look at: http://github.com/dpp/liftweb/tree/master/lift/src/main/scala/net/liftweb/mapper/MappedEmail.scala Sample validator for email. On Sep 9, 9:45 am, Tim Perrett [EMAIL PROTECTED] wrote: Hey all, Just having a trawl through the wiki (as its been some time since I last wrote

[Lift] Re: One further: JPA + JTA + Lift

2008-09-09 Thread Oliver Lambert
Now, now lets not get testi ;-) On 09/09/2008, at 9:34 PM, Viktor Klang wrote: On Tue, Sep 9, 2008 at 10:09 AM, Oliver [EMAIL PROTECTED] wrote: Actually, is this the essence of the cookie. Why has the object been detached in the example Kris gives - is there something wrong with

[Lift] Re: One further: JPA + JTA + Lift

2008-09-09 Thread Viktor Klang
On Tue, Sep 9, 2008 at 3:59 PM, Oliver Lambert [EMAIL PROTECTED] wrote: Now, now lets not get testi ;-) *laugh* It's chill ;) Cheers, On 09/09/2008, at 9:34 PM, Viktor Klang wrote: On Tue, Sep 9, 2008 at 10:09 AM, Oliver [EMAIL PROTECTED] wrote: Actually, is this the essence of the

[Lift] Re: JPA w/Scala

2008-09-09 Thread Derek Chen-Becker
Looks like I missed a lot in the two days I was gone :). I'm going to look at Oliver's code and merge it. As for Tim's problem with the insertions, the AUTO ID generation should usually just work. I don't have a SQL Server instance to try it out on, but after I merge the code I'll test it again

[Lift] Re: One further: JPA + JTA + Lift

2008-09-09 Thread Kris Nuttycombe
On Tue, Sep 9, 2008 at 10:09 AM, Oliver [EMAIL PROTECTED] wrote: Actually, is this the essence of the cookie. Why has the object been detached in the example Kris gives - is there something wrong with RequestVar lifecycle? Right; sorry, I should have been more clear about my question. I

[Lift] Re: JPA w/Scala

2008-09-09 Thread Derek Chen-Becker
OK, the code is merged in and the latest version is attached. I made a few minor modifications to the JPA code that Oliver sent: 1. I made the openEM and closeEM methods abstract and protected. The idea is that the JPA class shouldn't be tied to the way the user wants to access JPA. Rather, when

[Lift] Re: One further: JPA + JTA + Lift

2008-09-09 Thread Derek Chen-Becker
I'm pretty sure that the RequestVar should be around for the life of the Lift session, which means that you should still have a valid lift session in *any* snippet that would get called. Viktor's correct that this is a common error that people run into with JPA, but it's usually because they're

[Lift] Log config resource filtering

2008-09-09 Thread Kris Nuttycombe
Hi, all, In looking at the code in Log and Props, I found that I could conceivably set up log4j by creating a 'default.log4j.xml' file. I added this to src/main/resources and added the following to my pom.xml: filters