[Lift] Re: Parcing Json

2010-01-03 Thread Joni Freeman
Hi, That's almost correct. I did following changes after looking into JSON content. 1. 'notice' and 'header' are JSON arrays just like 'data'. Therefore: case class Observation(notice: List[Notice], header: List[Header], data: List[Data]) 2. There's optional data in JSON (some datapoints are

[Lift] Re: Parcing Json

2010-01-03 Thread Joni Freeman
Google Groups does not shine in formatting code snippets. Here's nicer version: http://paste.pocoo.org/show/161578/ Cheers Joni On 3 tammi, 12:20, Joni Freeman freeman.j...@gmail.com wrote: Hi, That's almost correct. I did following changes after looking into JSON content. 1. 'notice' and

Re: [Lift] Problem with creating new project

2010-01-03 Thread Tim Nelson
I'm no maven expert, but I think you need to use generate instead of create. See the warning halfway down, before the stack trace. [INFO] [archetype:create {execution: default-cli}] [WARNING] This goal is deprecated. Please use mvn archetype:generate instead Try: $ mvn archetype:generate -U \

[Lift] Lift-base 280_port seems to work

2010-01-03 Thread Erkki Lindpere
Just reporting my experience for anyone who wants to live on the bleeding edge... for a limited use case (I only use lift-webkit, and probably only a small subset of that), the 280_port seems to be working well enough with a recent Scala 2.8 snapshot (once I applied the fix to a Scala class that

[Lift] Lift and Lift Ticket

2010-01-03 Thread Derek Chen-Becker
I don't know if anyone has noticed but I've basically been absent for a while now. My personal and day job commitments have simply become too much for me to spend much time on Lift or Lift Ticket. I can barely keep up with my email (currently 350+ unread messages! ), let alone tickets or coding.

[Lift] Re: Parcing Json

2010-01-03 Thread Randinn
I tried some of the changes you made but not all of them, and (json \ observations).extract[Observation], I had no idea about that one. Thank you very much for your help, it is appreciated. On Jan 4, 1:00 am, Joni Freeman freeman.j...@gmail.com wrote: Google Groups does not shine in formatting

[Lift] Re: [Lift committers] Lift and Lift Ticket

2010-01-03 Thread Ross Mellgren
On Jan 3, 2010, at 2:01 PM, Derek Chen-Becker wrote: Lift Ticket is very close to a basic functionality release, and in the interest of having something useful come out of the time that I've already invested in it, I'm keeping it licensed Apache. If anyone (Ross?) wants to continue working

[Lift] Mapper question / autogenerate some number

2010-01-03 Thread Julian Backes
Hi, I have the following problem: For simplicity, assume I want to store users in the database. Before storing a user the first time in the database (using someNewUser.save), I want to create a special unique number for this user (which we need in our company) and store this number together

[Lift] Templating in lift

2010-01-03 Thread Mads Hartmann
Hello everyone, I just wrote a small blog post that contains an example of how you use templates in Lift when you need to iterate over a collection of data. This took me a bit of researching and coding to figure out so I'm leaving a link to it here encase anyone new to lift is having the same

[Lift] Re: guid - function mapping not occuring for ajax generator rendered by CometActor

2010-01-03 Thread ChrisX
Marius, All working great now. Thanks for the quick response and fix. Chris On Dec 29 2009, 1:35 am, Marius marius.dan...@gmail.com wrote: This was a non trivial hustle to find the cause:) ... See each Lift function is bound to an owner. The owner can be the pageId (generated by Lift) or the

[Lift] using .java files in lift's compile cycle

2010-01-03 Thread Franz Bettag
Hey guys, maybe i got that concept wrong, but i want to include some .java-files (thrift library files) into my liftweb project. in #scala on freenode i was told that scalac can handle .java files. so i moved my files accordingly, now mvn scala:compile works fine, but mvn jetty:run drops these:

Re: [Lift] using .java files in lift's compile cycle

2010-01-03 Thread Naftoli Gugenheim
You may want to post your current POM. By the way M8 is more stable than M7. - Franz Bettagfr...@bett.ag wrote: Hey guys, maybe i got that concept wrong, but i want to include some .java-files (thrift library files) into my liftweb project. in #scala on

[Lift] Re: using .java files in lift's compile cycle

2010-01-03 Thread Franz Bettag
Ty. just switched to -M8. here is my pom.xml: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;

Re: [Lift] Re: using .java files in lift's compile cycle

2010-01-03 Thread Naftoli Gugenheim
Maybe someone will know the answer, but for now: Try mvn compile Try adding -e and/or -X to the maven command. - Franz Bettagfr...@bett.ag wrote: Ty. just switched to -M8. here is my pom.xml: project xmlns=http://maven.apache.org/POM/4.0.0;

Re: [Lift] Re: using .java files in lift's compile cycle

2010-01-03 Thread Ross Mellgren
Try adding this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration source1.6/source

[Lift] Re: using .java files in lift's compile cycle

2010-01-03 Thread Franz Bettag
plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin this

[Lift] Re: source of working demo of Lift+JPA on google app engine

2010-01-03 Thread qingshan
Looks like no one knows the answer or don't want to answer my first post in Lift group. and the only thing I can do is to try JDO? (thanks a lot to ymnk) Thanks anyway, Qingshan On Dec 26 2009, 8:51 pm, qingshan qingshan@gmail.com wrote: Hi, I am a new Lifter just came from Grails