[Lift] Re: Rough draft of JPA scaffolding

2008-12-13 Thread TylerWeir
Super good stuff Derek! On Dec 13, 12:25 am, Kris Nuttycombe kris.nuttyco...@gmail.com wrote: Hi, Derek, Have you considered making ScalaEntityManager a trait that can be mixed into something that provides an EntityManager, rather than an abstract class decorating one? I've taken that

[Lift] Re: Rough draft of JPA scaffolding

2008-12-13 Thread Derek Chen-Becker
Yes, that's actually where I'm going with it. I have some things in rough form that breaks out the different aspects of behavior into traits but I probably won't have it checked in until Monday. Derek On Fri, Dec 12, 2008 at 10:25 PM, Kris Nuttycombe kris.nuttyco...@gmail.com wrote: Hi,

[Lift] Crashing CometActor

2008-12-13 Thread Michael
I have a CometActor that crashes after rendering and then re-rendering after it responds to a message. The stack trace that gets printed looks like: ERROR - The ActorWatcher restarted foo.comet.myac...@1e6ee98 because scala.MatchError: None scala.MatchError: None at

[Lift] Re: Crashing CometActor

2008-12-13 Thread David Pollak
What version of Lift are you using? Please supply the entire stack trace. If you have some code that reproduces the problem, that would be helpful. It looks like the db connection is getting closed manually and then when the auto-close tries to close it again, the exception is thrown. On Dec

[Lift] Re: JPA and Record

2008-12-13 Thread philip
Hi Derek, Is there any demo code for this NEW record method of accessing/using database? Is there any docs on it? I want to understand it but don't know where to start - I know there is the other legacy way to do it and JPA. Thanks, Philip On Nov 26, 2:24 am, Derek Chen-Becker

[Lift] Re: Crashing CometActor

2008-12-13 Thread Michael
I'm using a 0.10 snapshot. Here is the full stack trace: ERROR - The ActorWatcher restarted org.developerworks.comet.auctionac...@7303e3 because scala.MatchError: None scala.MatchError: None at net.liftweb.mapper.DB$.releaseConnectionNamed(DB.scala:127) at

[Lift] Re: maven problem - can't make ToDo example work - or even get off the ground.

2008-12-13 Thread mike beckerle
These are already in todo/pom.xml. Other ideas? On Dec 11, 7:31 am, Josh Suereth joshua.suer...@gmail.com wrote: Thanks, and sorry for the typos. What you want (in either your ~/.m2/settings.xml or ${project.dir}/pom.xml) is the following: repositories     repository      

[Lift] Re: maven problem - can't make ToDo example work - or even get off the ground.

2008-12-13 Thread mike beckerle
This did not work. Still failed. There are disturbing messages in here about blacklisting sites due to errors and such. becke...@ubuntu810desktop:~/todo$ mvn jetty:run -U [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'jetty'. [INFO]

[Lift] Re: maven problem - can't make ToDo example work - or even get off the ground.

2008-12-13 Thread mike beckerle
Running mvn 2.0.9, and yes I am connected. On Dec 10, 9:19 pm, Erick Fleming efleming...@gmail.com wrote: What version of Maven are you using (mvn -version)? Also, it may seem silly but you need to be connected to the internet for Maven to work properly. On Wed, Dec 10, 2008 at 6:29 PM,

[Lift] Re: maven problem - can't make ToDo example work - or even get off the ground.

2008-12-13 Thread mike beckerle
I set this up as in the instructions. I still get 12 required artifacts are missing. On Dec 10, 8:49 pm, Matt Harrington mbh.li...@gmail.com wrote: Mike, Did you set up your settings.xml file? http://liftweb.net/index.php/Maven_Mini_Guide I temporarily removed mine, and todo still builds

[Lift] Re: maven problem - can't make ToDo example work - or even get off the ground.

2008-12-13 Thread David Pollak
On Sat, Dec 13, 2008 at 10:34 AM, mike beckerle mbecke...@gmail.com wrote: This did not work. Still failed. There are disturbing messages in here about blacklisting sites due to errors and such. becke...@ubuntu810desktop:~/todo$ mvn jetty:run -U [INFO] Scanning for projects... [INFO]

[Lift] More JPA goodness

2008-12-13 Thread Derek Chen-Becker
OK, party people. I've broken out behaviors into a number of traits. Since I'm coming at this from Lift, I've also added a nice trait to make using JPA from Lift nice and simple. For now I'll host the scaladocs up on my own website: http://chen-becker.org/scalajpa/scaladocs/index.html The code

[Lift] Hooking into /user_mgt

2008-12-13 Thread Juha L
Hi again, I have need to hook some extra code into user sign up, login, and logout. In archetype-basic project all things related to user management seem to happen in magical /user_mgt, and I couldn't really find any good information about how I could alter what happens there. Could anyone

[Lift] Re: Hooking into /user_mgt

2008-12-13 Thread Derek Chen-Becker
/user_mgt is handled via MetaMegaProtoUser. You may be able to override some things there. Derek On Sat, Dec 13, 2008 at 2:03 PM, Juha L sla...@gmail.com wrote: Hi again, I have need to hook some extra code into user sign up, login, and logout. In archetype-basic project all things related