[Lift] Re: The first Lift tutorial: a ToDo application

2008-12-06 Thread philip
Its great! reading through it now. (sorry my comment isn't anymore helpful than that) On Dec 6, 9:09 am, David Pollak [EMAIL PROTECTED] wrote: Folks, I've got a first draft of the first Lift tutorial: a ToDo application. The application demonstrates creating a new Lift project, creating a

[Lift] Re: The first Lift tutorial: a ToDo application

2008-12-06 Thread Mateusz Fiołka
The IdPK paragraph explains trait behaviour in Scala but doesn't say what does this trait mean. One can suspect it flags the class to have primary key but it is not obvious. lift:Util.out I think the name is too generic. I know it is a tutorial but it may be seen as kind of small code smell. How

[Lift] Re: The first Lift tutorial: a ToDo application

2008-12-06 Thread Matt Harrington
Two thumbs up! ---Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

[Lift] Re: Why JPA?

2008-12-06 Thread Derek Chen-Becker
Here are a couple of features that JPA has that can be very useful: 1. More powerful query language. The tradeoff is that HQL is not type-safe like Mapper's findXXX methods, so you need to test your query syntax to make sure it returns what you want. Granted, you can use SQL directly

[Lift] Re: How does lift wrap the templates

2008-12-06 Thread Tim Perrett
Hey David, I see you unified TemplatePf and ViewDispatchPf - in lift of this re- factoring, how does that now change what i need to do here? Cheers Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group.

[Lift] Re: Massively huge *BREAKING CHANGES*

2008-12-06 Thread Tim Perrett
Excellent - this has been needed for some time and is a very welcome addition :-) Cheers, Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com

[Lift] Re: How does lift wrap the templates

2008-12-06 Thread Tim Perrett
David, Thanks for your previous example - I tried the following code: object ExampleLoader { def template: LiftRules.ViewDispatchPF = { case badger :: Nil = Full(demo) } def demo: NodeSeq = html/html } And then i get this error: [INFO] found :

[Lift] Re: How does lift wrap the templates

2008-12-06 Thread Jorge Ortiz
Try: case badger :: Nil = Left(() = demo) An Either[A, B] means it can be either a Left[A] or a Right[B]. --j On Sat, Dec 6, 2008 at 12:35 PM, Tim Perrett [EMAIL PROTECTED] wrote: Sorry, the code should have been: object ExampleLoader { def template: LiftRules.ViewDispatchPF = {

[Lift] Re: How does lift wrap the templates

2008-12-06 Thread Tim Perrett
A - thats some scala Voodoo - never seen the Either construct before! Thanks Jorge On Dec 6, 6:39 pm, Jorge Ortiz [EMAIL PROTECTED] wrote: Try:   case badger :: Nil = Left(() = demo) An Either[A, B] means it can be either a Left[A] or a Right[B]. --j

[Lift] Re: Massively huge *BREAKING CHANGES*

2008-12-06 Thread mbh.li...@gmail.com
On Dec 5, 4:14 pm, David Pollak [EMAIL PROTECTED] wrote: If you are using any of those packages (99% chance you are), you must make sure your pom.xml has the following in the dependencies tag:    dependency       groupIdnet.liftweb/groupId       artifactIdlift-util/artifactId