[Lift] Re: Change and New Features

2008-10-01 Thread Charles F. Munat
Wow. That's a lot of work. Nice job. Chas. David Pollak wrote: Folks, I've moved the JavaScript for Comet and Ajax to separately loaded JS files rather than putting them on the page. LiftRules.autoIncludeComet allows you to determine if the Comet stuff will be automatically included

[Lift] Re: Caching JPA entities and JPA vs Hibernate

2008-10-01 Thread Martin Ellis
On Tue, Sep 30, 2008 at 11:54 PM, Tim Perrett [EMAIL PROTECTED] wrote: Having an issue with ehcache.xml being picked up. The docs say that it need to be on the classpath - I've tried having it in META-INF, WEB- INF/classes/META-INF but yet nothing seems to work. It never gets picked up...?

[Lift] Re: Change and New Features

2008-10-01 Thread Derek Chen-Becker
Dude, when are you not working? :) Seriously, though, very cool. Derek On Tue, Sep 30, 2008 at 5:50 PM, David Pollak [EMAIL PROTECTED] wrote: Folks, I've moved the JavaScript for Comet and Ajax to separately loaded JS files rather than putting them on the page. LiftRules.autoIncludeComet

[Lift] Re: Suggestion for JPA Tutorial

2008-10-01 Thread Derek Chen-Becker
One more note regarding transactions with JPA: The actual DB changes aren't made until the current transaction completes. Because of this, in my current code I actually aggressively close the transaction so that I can catch things like constraint violations. If you wait until the session ends to

[Lift] Re: HTTP Client?

2008-10-01 Thread Tim Perrett
Yea i'll probably make it the constructor - seems a bit more logical. My plan is to implement IPN, then roll up the IPN and PDT stuff into a maven module and release it Cheers Tim On Oct 1, 5:45 pm, jon [EMAIL PROTECTED] wrote: Is there a way to set the authToken in the instance rather than

[Lift] Re: HTTP Client?

2008-10-01 Thread jon
Is there a way to set the authToken in the instance rather than globally? On Sep 23, 12:29 pm, Tim Perrett [EMAIL PROTECTED] wrote: Hey guys, Ok, i've abstracted it all out into a class which you call a little like this:     var paypal: PayPal = new PayPal(sandbox)    

[Lift] Re: Who wants to write Oracle, SQL Server, and MaxDB drivers for Lift?

2008-10-01 Thread jfbaro
Hi David, I am not sure I am up to the task, but I´d love to help, mainly if I could get some help from you about how to make it right. If you are interested, please let me know. Cheers On Sep 26, 2:51 pm, David Pollak [EMAIL PROTECTED] wrote: Copying and pasting the below and fixing stuff:

[Lift] Re: JPA and enumerations

2008-10-01 Thread Derek Chen-Becker
Hmmm. Oliver, I'm working on using the UserType you wrote now, but when I try to test it, I'm getting this error: org.hibernate.MappingException: Cannot instantiate custom type: com.foo.jpaweb.model.EnumvType At first I thought this was because EnumvType was abstract, but changing that didn't do

[Lift] Re: JPA and enumerations

2008-10-01 Thread Oliver
You have to extend it - I did it at the top of the model, but it probably makes sense to create a separate file(s). So Gender would have a corresponding type class GenderType extends EnumvType(Gender) {} and then you can use @Type{val `type`=com.foo.jpaweb.model.GenderType} I hadn't coded a