[Lift] Re: edit: What happened to JsonCmd?

2009-10-16 Thread Chris
Aah right. OK, I see it now. Maybe there is something wrong with my build script then. Thanks. On Oct 15, 8:16 pm, Ross Mellgren dri...@gmail.com wrote: The class file names in the jar are determined by the class name /   scope / access modifiers and other such nonsense, so unlike java  

[Lift] Re: JSON... deserializing lists of parameterized case classes

2009-10-16 Thread Joni Freeman
Hi David, Please file a ticket, serialization does not support polymorphic Lists yet. It requires that we add type information into JSON. Something like: { who: [ { jsonClass = example.Foo1 ... }, { jsonClass = example.Foo2 ... } ] } Cheers Joni On

[Lift] Re: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-16 Thread Viktor Klang
On Thu, Oct 15, 2009 at 4:41 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Oct 15, 2009 at 4:18 AM, Viktor Klang viktor.kl...@gmail.comwrote: I started Scala 2 years ago by reading the Lift code. so DPPs basically responsible for my Scala code... ;) So what you're saying

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread GA
Is there any way to reset maven's repository? I think there is something corrupt because the behavior is really strange. I think this is the cause of my error. Thanks, On Oct 15, 2009, at 5:52 PM, GA wrote: It is strange. I do not have the entries that you are saying in the pom.xml

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread Timothy Perrett
Just remove ~/.m2 The next time you make a maven call it'll then download all the new JAR files. Cheers, Tim On 16 Oct 2009, at 09:35, GA wrote: Is there any way to reset maven's repository? I think there is something corrupt because the behavior is really strange. I think this is the

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread GA
Thanks for the info. I downloaded all the jars again, but it did not solved my problem. Now for some reason, if I initiate everything from scratch even with version 1.0 it does not work anymore. If I add the entry: dependency groupIdnet.liftweb/groupId

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-16 Thread Charles F. Munat
You have looked at Scala Time, right? I think some of this may already be implemented there, and it would probably be better to extend that rather than reinvent it. But maybe I'm thinking about something else? http://github.com/jorgeortiz85/scala-time Chas. Derek Chen-Becker wrote: Oh, I

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread Timothy Perrett
You must be missing the correct repository tag. Check that you have: repositories repository idscala-tools/id urlhttp://scala-tools.org/repo-snapshots/url /repository repository idscala-tools-releases/id urlhttp://scala-tools.org/repo-releases/url

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-16 Thread Timothy Perrett
I thought we had this discussion in some other thread and because scala-time wasn't 1.0 there was a general reluctancy to use it? We could cherry pick some of the code however; im sure Jorge wouldn't mind :-) Cheers, Tim On 16 Oct 2009, at 11:30, Charles F. Munat wrote: You have looked

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread GA
This is what it comes with my pom.xml repositories repository idscala-tools.org/id nameScala-Tools Maven2 Repository/name urlhttp://scala-tools.org/repo-releases/url /repository /repositories pluginRepositories pluginRepository

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread Indrajit Raychaudhuri
Hmm, as Tim pointed out, ensure that you have another repository/ section for the snapshots. Looks like that's missing in your pom.xml Put this one within repositories/ section and you'd be good to go: repository idscala-tools-snapshots/id urlhttp://scala-tools.org/repo-snapshots/url

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread Timothy Perrett
No - 1.1-SNAPSHOT is (surprisingly) in the snapshot repository. Make your repositories node look like the one I pasted and you should find your project working ones more. Cheers, Tim On 16 Oct 2009, at 11:59, GA wrote: This is what it comes with my pom.xml repositories repository

[Lift] Re: Ummm.. at the risk of crashing my browser........

2009-10-16 Thread David Bernard
I requested an account (for dev) but no reply. So If you can invite me. thanks. On Fri, Oct 16, 2009 at 13:50, Markus Kolb liftweb...@tower-net.de wrote: On Oct 15, 9:18 pm, Jim Barrows jim.barr...@gmail.com wrote: Who wants a wave invite? I'm following the wave development, too. Would

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread Timothy Perrett
Yes, the error is important. Can you try a: mvn clean jetty:run Cheers, Tim On 16 Oct 2009, at 12:40, GA wrote: Ok, now we have an improvement. I did the following: I replaced the following part of my pom.xml: repositories repository idscala-tools.org/id

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread GA
More errors. Shouldn't this be working right after the creation? I am talking about brand new projects. It is absolutely empty. It has only the delivered User model. [WARNING] Multiple versions of scala libraries detected! [INFO] includes = [**/*.scala,] [INFO] excludes = [] [INFO] Compiling

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread Timothy Perrett
Try creating a blank project, not a basic one... Lets see what happens then. Cheers, Tim On 16 Oct 2009, at 13:39, GA wrote: More errors. Shouldn't this be working right after the creation? I am talking about brand new projects. It is absolutely empty. It has only the delivered User

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread GA
I did it. This is the first par of my pom.xml modelVersion4.0.0/modelVersion groupIdcom.server/groupId artifactIdServer/artifactId version1.1-SNAPSHOT/version packagingwar/packaging nameServer/name inceptionYear2007/inceptionYear properties

[Lift] Re: [Sorta Not Related] Ummm.. at the risk of crashing my browser........

2009-10-16 Thread Eros Candelaresi
Hi, I'm be interested too. So if you still have invitations left... :) Regards, Eros Jim Barrows schrieb: Who wants a wave invite? Not sure how long Google will take to process them.. but I have some! I just added the lifehack list to my wave account, and I think firefox nearly died.

[Lift] Re: Ummm.. at the risk of crashing my browser........

2009-10-16 Thread Juozas
Hi, i would love to try it out:) -Juozas Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. On Fri, Oct 16, 2009 at 3:05 PM, David Bernard david.bernard...@gmail.comwrote: Correction, I receive my

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread David Pollak
You have to make sure that the version of Scala in your pom.xml file is 2.7.5. On Fri, Oct 16, 2009 at 4:40 AM, GA my_li...@me.com wrote: Ok, now we have an improvement. I did the following: I replaced the following part of my pom.xml: repositories repository

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread GA
Why is it getting the 2.7.1 version in first place? The pom.xml is created by maven from the archetype and repository right? Is it perhaps some environment setup that I have or I should have? On Oct 16, 2009, at 4:24 PM, David Pollak wrote: You have to make sure that the version of Scala

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread GA
Could you please send me a pom.xml example for lift 1.1? Cheers, GA On Oct 16, 2009, at 4:28 PM, GA wrote: Why is it getting the 2.7.1 version in first place? The pom.xml is created by maven from the archetype and repository right? Is it perhaps some environment setup that I have or I

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread David Pollak
On Fri, Oct 16, 2009 at 7:28 AM, GA my_li...@me.com wrote: Why is it getting the 2.7.1 version in first place? The pom.xml is created by maven from the archetype and repository right? It seems that you created your project against the Lift 1.0 archetype and are try to upgrade it to 1.1-X.

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-16 Thread David Pollak
On Fri, Oct 16, 2009 at 3:46 AM, Timothy Perrett timo...@getintheloop.euwrote: I thought we had this discussion in some other thread and because scala-time wasn't 1.0 there was a general reluctancy to use it? We could cherry pick some of the code however; im sure Jorge wouldn't mind :-) We

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-16 Thread Naftoli Gugenheim
What's exactly the problem if it's pre 1.0? That it may have bugs? - Derek Chen-Beckerdchenbec...@gmail.com wrote: Right. Fortunately most of the work setting up Joda Time will make switching to Scala Time pretty simple. Derek On Fri, Oct 16, 2009 at 4:46

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-16 Thread Derek Chen-Becker
I haven't even looked at his code yet, so I'll just plug on with straight Joda Time. On Fri, Oct 16, 2009 at 9:01 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Oct 16, 2009 at 3:46 AM, Timothy Perrett timo...@getintheloop.euwrote: I thought we had this discussion in some

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-16 Thread David Pollak
On Fri, Oct 16, 2009 at 8:18 AM, Naftoli Gugenheim naftoli...@gmail.comwrote: What's exactly the problem if it's pre 1.0? That it may have bugs? It may have bugs. The APIs may change. Jorge (now that he has a day job) may not continue to maintain it. In general, unless there's a compelling

[Lift] Re: error: not found: type IdPK in Lift 1.1

2009-10-16 Thread GA
You were right. I was making things complicated. the mvn command I was writing was wrong... I stopped and started all over. I retyped it from scratch and I found the errors. Thanks for your help guys. My project works in 1.1-M6 just fine. Cheers, GA On Oct 16, 2009, at 5:04 PM, David

[Lift] Re: Newbee question Datamapper

2009-10-16 Thread Naftoli Gugenheim
I think there is support somewhere in the MappedField hierarchy for a MappedField that represents to database columns. Take a look at MappedPassword. - harryhhar...@gmail.com wrote: Make MyMappedTimeSpan a trait: trait MyMappedTimeSpan[T :Mapper[T]](val

[Lift] Re: Ummm.. at the risk of crashing my browser........

2009-10-16 Thread Marius
pick me, pick me ! On Oct 15, 10:18 pm, Jim Barrows jim.barr...@gmail.com wrote: Who wants a wave invite? Not sure how long Google will take to process them.. but I have some! I just added the lifehack list to my wave account, and I think firefox nearly died.  Quite amusing.. in many

[Lift] Re: Ummm.. at the risk of crashing my browser........

2009-10-16 Thread Indrajit Raychaudhuri
and me, and me ! On 17/10/09 12:34 AM, Marius wrote: pick me, pick me ! On Oct 15, 10:18 pm, Jim Barrowsjim.barr...@gmail.com wrote: Who wants a wave invite? Not sure how long Google will take to process them.. but I have some! I just added the lifehack list to my wave account, and I

[Lift] Re: [Sorta Not Related] Ummm.. at the risk of crashing my browser........

2009-10-16 Thread Ross Mellgren
can haz invite? sorry sorry. If you have any spare, I'd love to try it, but at a lower priority than other people. Thanks, -Ross On Oct 15, 2009, at 3:18 PM, Jim Barrows wrote: Who wants a wave invite? Not sure how long Google will take to process them.. but I have some! I just added

[Lift] Re: Are we willing to make a breaking change for Joda Time?

2009-10-16 Thread Charles F. Munat
I was thinking more that if you're duplicating efforts, why not use those efforts to help Jorge move ScalaTime forward simultaneously? I haven't found any problems with ScalaTime being pre-1.0. It just means that not all Joda functionality is available in ScalaTime, and sometimes you need to

[Lift] Re: Ummm.. at the risk of crashing my browser........

2009-10-16 Thread javier
I would love one too, thanks! javier --~--~-~--~~~---~--~~ 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

[Lift] Re: Newbee question Datamapper

2009-10-16 Thread David Pollak
On Fri, Oct 16, 2009 at 9:42 AM, Naftoli Gugenheim naftoli...@gmail.comwrote: I think there is support somewhere in the MappedField hierarchy for a MappedField that represents to database columns. Take a look at MappedPassword. Having a field represent two columns (as MappedPassword does)

[Lift] Re: Wizard code in master

2009-10-16 Thread Randinn
That would be a great added feature, sorry for the late comment on the subject. Ah, full disclosure, I do not care for green... On Sep 12, 4:14 am, David Pollak feeder.of.the.be...@gmail.com wrote: The wizard stuff is in the lift-wizard package.  Right now, it's random thoughts that are

[Lift] Re: Detecting when user has left a page

2009-10-16 Thread David Pollak
Sorry. You can set CometActor.lifespan = Full(1 minute) and the CometActor will be destroyed 1 minute after it's not on a page anymore. This is the best resolution I can get to. On Sep 22, 1:46 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Sep 22, 2009 at 1:37 PM, Xavi Ramirez

[Lift] Re: Lift's CometActor and multiple dynamic charts

2009-10-16 Thread David Pollak
On Thu, Oct 15, 2009 at 4:05 PM, Java1Guy mark.cha...@gmail.com wrote: FWIW - I went with choice #1. Seems like CometActor name method doesn't really get the value of the name parameter in the XML :( how were you testing this? Appended uniqueId on all the variables and functions -