[Lift] Re: TextileTestSpec failure with latest lift/scala 2.7.2

2008-12-03 Thread Sebastien Bocq
It's ok now. Thanks. 2008/12/2 David Pollak [EMAIL PROTECTED]: Sorry. THe build should be fixed (Thanks Jorge!) On Tue, Dec 2, 2008 at 6:42 AM, Sebastien Bocq [EMAIL PROTECTED] wrote: It fails at the beginning with this error now: [INFO] Compiling 118 source files to

[Lift] Re: TextileTestSpec failure with latest lift/scala 2.7.2

2008-12-03 Thread David Pollak
Cool. Thanks for taking the time to help. On Dec 3, 2008 5:31 AM, Sebastien Bocq [EMAIL PROTECTED] wrote: It's ok now. Thanks. 2008/12/2 David Pollak [EMAIL PROTECTED]: Sorry. THe build should be fixed (Thanks... --~--~-~--~~~---~--~~ You received this message

[Lift] Re: Liftweb cheat sheet

2008-12-03 Thread David Pollak
On Tue, Dec 2, 2008 at 11:56 PM, philip [EMAIL PROTECTED] wrote: Hi, Don't get excited, its not very good - I started on a cheatsheet for liftweb, but at the moment don't have time to continue doing it. Hopefully it inspires someone to continue? In particular I want to know more about

[Lift] Re: Joins in Lift mapper

2008-12-03 Thread Derek Chen-Becker
Will this support preload for HasManyThrough? Derek On Tue, Dec 2, 2008 at 6:27 PM, David Pollak [EMAIL PROTECTED]wrote: On Tue, Dec 2, 2008 at 10:48 AM, Sasha Kazachonak [EMAIL PROTECTED]wrote: Hi, David. What do you think about JPA approach to joins, which can be adapted to Mapper

[Lift] Re: Joins in Lift mapper

2008-12-03 Thread David Pollak
On Wed, Dec 3, 2008 at 2:05 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote: Will this support preload for HasManyThrough? No. Sorry. Derek On Tue, Dec 2, 2008 at 6:27 PM, David Pollak [EMAIL PROTECTED] wrote: On Tue, Dec 2, 2008 at 10:48 AM, Sasha Kazachonak [EMAIL

[Lift] Re: Joins in Lift mapper

2008-12-03 Thread Derek Chen-Becker
No problem, I just wanted to confirm before writing it in the book :) On Wed, Dec 3, 2008 at 3:21 PM, David Pollak [EMAIL PROTECTED]wrote: On Wed, Dec 3, 2008 at 2:05 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote: Will this support preload for HasManyThrough? No. Sorry. Derek On

[Lift] Mapper's BySql not validated?

2008-12-03 Thread Derek Chen-Becker
I was just wondering why the BySql QueryParam doesn't require the IHaveValidatedThisSql case class. Looking at the source it seems that it could be just as vulnerable to some shenanigans, although admittedly I'm not an expert on SQL injection attacks. Derek

[Lift] Re: Rewrite from root?

2008-12-03 Thread Tim Perrett
Awesome - this works! The only slight issue i have now is that calls for: /ajax_request/liftAjax.js /classpath/jquery.js etc etc (the default lift stuff) is not being processed. I guess i need to create a static exceptions list or something and check if were talking about one of those paths

[Lift] Re: Rewrite from root?

2008-12-03 Thread David Pollak
On Wed, Dec 3, 2008 at 2:30 PM, Tim Perrett [EMAIL PROTECTED] wrote: Awesome - this works! Cool The only slight issue i have now is that calls for: /ajax_request/liftAjax.js /classpath/jquery.js etc etc (the default lift stuff) is not being processed. I guess i need to create a

[Lift] Re: Mapper's BySql not validated?

2008-12-03 Thread David Pollak
On Wed, Dec 3, 2008 at 2:27 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote: I was just wondering why the BySql QueryParam doesn't require the IHaveValidatedThisSql case class. Looking at the source it seems that it could be just as vulnerable to some shenanigans, although admittedly I'm not an

[Lift] Re: Mapper's BySql not validated?

2008-12-03 Thread Derek Chen-Becker
Another thing I noticed is that Mapper doesn't seem to support a DECIMAL type, which is very useful in financial applications (among others). I'm writing a custom one for both Mapper and Record in the book, would anyone be interested in seeing those make it into the library? Besides the fields

[Lift] Re: Mapper's BySql not validated?

2008-12-03 Thread David Pollak
On Wed, Dec 3, 2008 at 3:09 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote: Another thing I noticed is that Mapper doesn't seem to support a DECIMAL type, which is very useful in financial applications (among others). I'm writing a custom one for both Mapper and Record in the book, would anyone

[Lift] Re: Joins in Lift mapper

2008-12-03 Thread Sasha Kazachonak
On Wed, Dec 3, 2008 at 3:27 AM, David Pollak [EMAIL PROTECTED]wrote: On Tue, Dec 2, 2008 at 10:48 AM, Sasha Kazachonak [EMAIL PROTECTED]wrote: Hi, David. What do you think about JPA approach to joins, which can be adapted to Mapper like this: Documents.findAll(By(Document.name,

[Lift] Re: Joins in Lift mapper

2008-12-03 Thread David Pollak
On Wed, Dec 3, 2008 at 9:43 AM, Sasha Kazachonak [EMAIL PROTECTED]wrote: On Wed, Dec 3, 2008 at 3:27 AM, David Pollak [EMAIL PROTECTED] wrote: On Tue, Dec 2, 2008 at 10:48 AM, Sasha Kazachonak [EMAIL PROTECTED]wrote: Hi, David. What do you think about JPA approach to joins, which can

[Lift] Re: Mapper's BySql not validated? *Breaking Change*

2008-12-03 Thread David Pollak
The validation parameters are now required. On Wed, Dec 3, 2008 at 2:27 PM, Derek Chen-Becker [EMAIL PROTECTED]wrote: I was just wondering why the BySql QueryParam doesn't require the IHaveValidatedThisSql case class. Looking at the source it seems that it could be just as vulnerable to some

[Lift] noob question: working with scala 2.7.2

2008-12-03 Thread Harshad RJ
Hi, How do I create a blank lift project (as given in the hello darwin tutorial) with scala 2.7.2? (I am not good at maven) This is the command I issued: ~/local/apache-maven-2.0.9/bin/mvn archetype:generate -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-blank \