[Lift] Broken 1.1-M7 jpa archetypes

2009-11-24 Thread Oscar Picasso
It seems that 1.1-M7 jpa archetypes other than lift-archetype-jpa-basic are broken, both in snapshots and releases repositories. -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscrib

Re: [Lift] Exploring record and alternative backends

2009-11-24 Thread Oscar Picasso
badly) but when you do, its a powerful one. > > What is your use case for getting started with Record? What is it you want > to achieve? > > Cheers, Tim > > On 24 Nov 2009, at 15:41, Oscar Picasso wrote: > > > Hi, > > > > I would like to learn Record and so

[Lift] Exploring record and alternative backends

2009-11-24 Thread Oscar Picasso
Hi, I would like to learn Record and some alternative backend. I have read a post about a good Akka / Record bridge. Where should I start? Is the Akka / Record bridge part of the lift distribution (didn't see it)? Is there an example somewhere? Thanks. -- You received this message because you

Re: [Lift] Controlling fields in form generation

2009-11-23 Thread Oscar Picasso
de def dbIncludeInForm_? = false > } > ... > > -Ross > > On Nov 23, 2009, at 11:38 PM, Oscar Picasso wrote: > > HI, > > I generate a form with .toForm and want some fields to not appear in the > form. > I have tried to subclass fieldOrder in the MetaMapper but while it

[Lift] Controlling fields in form generation

2009-11-23 Thread Oscar Picasso
HI, I generate a form with .toForm and want some fields to not appear in the form. I have tried to subclass fieldOrder in the MetaMapper but while it controls the order, all the fields keep appearing in the form even if they are not in the list returned by the overrided fieldOrder methods. I have

[Lift] Re: Generic Form Customization

2009-11-22 Thread Oscar Picasso
t that I need to write CustomMappedField[String, Expense] while it's already known that the description object inherits from MappedField[String, Expense]. There should be something more elegant. On Mon, Nov 23, 2009 at 1:11 AM, Oscar Picasso wrote: > Hi, > > The out of the box form

[Lift] Generic Form Customization

2009-11-22 Thread Oscar Picasso
Hi, The out of the box form generated by a Mapper looks like that: > > ... > > description >value="" /> > > ... > >   > > > > > I would like however something like that: > > ... > > Expense Description > >

Re: [Lift] Mapper vs. Record vs. JPA

2009-11-22 Thread Oscar Picasso
you absolutely > must test for null. In scala you use the Option monad, so middleName is > no longer of type String but Option[String]. NPEs are now effectively > impossible. > > chris > > Oscar Picasso wrote: > > I am starting to (re)learn lift and wondering which persi

[Lift] Mapper vs. Record vs. JPA

2009-11-22 Thread Oscar Picasso
I am starting to (re)learn lift and wondering which persistence mechanism I should use: Mapper, Record or JPA? It should be ready for for prime time and fit perfectly with the lift / scala way of doing things but still be powerful enough. - I have read that Mapper has some limitations like whe

[Lift] Basic view question

2009-11-21 Thread Oscar Picasso
Hi, I just created a simple project with the maven archetype and tried to add a view as explained in the "The Definitive Guide to Lift". package org.opicasso.two.view > > import net.liftweb.http.LiftView > import scala.xml.NodeSeq > > class SomeView extends LiftView { > > override def dispatc

Re: [Lift] scala eclipse plugin with lift

2009-11-21 Thread Oscar Picasso
, 2009 at 10:40 PM, David Pollak < feeder.of.the.be...@gmail.com> wrote: > Hey Oscar, > > Welcome back to Lift-land... haven't seen you in almost two years. > > Thanks, > > David > > On Tue, Nov 17, 2009 at 6:56 PM, Oscar Picasso wrote: > >> Hi, >

Re: [Lift] Re: scala eclipse plugin with lift

2009-11-21 Thread Oscar Picasso
I am finally able to use the plugin. I noticed the plugin version is 2.7.7 and that the lift project scala version was 2.7.3 so I changed the scala version to 2.7.7 It works now. Actually I am not sure this was the change that made it work because just before I restarted eclipse and it already see

[Lift] scala eclipse plugin with lift

2009-11-17 Thread Oscar Picasso
Hi, I did import a new created lift project in a eclipse as a maven project. The project is recognized as a scala project but there is neither syntax syntax highlighting nor auto completion while it works fine, in the same workspace when I create directly a scala project with the scala eclipse plu

[Lift] Re: a plea for documentation

2008-11-30 Thread Oscar Picasso
Which book are you talking about? I didn't know that they were already chapters of a lift book we could read. On Wed, Nov 26, 2008 at 9:15 PM, David Stein <[EMAIL PROTECTED]> wrote: > I started looking at a few chapters a while > ago, but they were more outlines at the time. Somehow I missed

[Lift] Re: Scala 2.7.2 and documentation?

2008-11-17 Thread Oscar Picasso
Two book? Wow! Any idea when they are expected? Oscar On Mon, Nov 17, 2008 at 1:51 PM, David Pollak <[EMAIL PROTECTED] > wrote: > > > On Mon, Nov 17, 2008 at 10:33 AM, tacobandit <[EMAIL PROTECTED]> wrote: > >> >> I noticed mvn pulled a new lift today and it seems it's still not >> working with

[Lift] Re: Recommended tools ?

2008-11-16 Thread Oscar Picasso
I have tried it with a simple project. When importing the build path and dependencies are ok. But when I try to run or debug the application directly from Netbeans it actually launches: NetBeans: Executing '/opt/maven/bin/mvn -Dexec.args=-Xdebug -Djava.compiler=none -Xnoagent -Xrunjdwp:transport=dt

[Lift] Re: Recommended tools ?

2008-11-15 Thread Oscar Picasso
> Derek > > > On Sat, Nov 15, 2008 at 11:25 AM, David Pollak < > [EMAIL PROTECTED]> wrote: > >> I've been using netbeans very succesfully. I recomend it. >> >> Thanks, >> >> David >> >> On Nov 15, 2008 8:53 AM, "Oscar Picasso

[Lift] Recommended tools ?

2008-11-15 Thread Oscar Picasso
Hi, Which tools would you recommend to work for a lift project, and more generally with scala? The requirement being that the project also uses maven. I have tried the Eclipse plugin a number of times and I found it too unstable. The last Intellij IDEA plugin is decent, I was considering switchi

[Lift] Re: Two years loving Scala

2008-11-13 Thread Oscar Picasso
For me: + very nice language: it's really a pleasure to code with scala + very nice community: high quality discussions, very helpful, very smart people, very clever answers without being condescending, very responsive + good documentation (Programming with Scala) + a very good web framework (lift