[Lift] Bug in the examples

2009-11-01 Thread Petter Egesund
Hi, we have just started looking at Lift and are considering using it in our next project. We have started by looking at the examples. It seems to be a bug with the autocomplete example? No suggestions seems to show up in any of my browsers. http://demo.liftweb.net/ajax Cheers, Petter

[Lift] Re: Error mvn install on lift-actor

2009-11-01 Thread Indrajit Raychaudhuri
Parser failing for sure. Hope your local repo isn't corrupt by some chance. /IRC On 01/11/09 9:24 AM, Naftoli Gugenheim wrote: What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -e install + Error stacktraces are turned on. [INFO] Scanning for projects... WAGON_VERSION:

[Lift] Re: Error mvn install on lift-actor

2009-11-01 Thread Josh Suereth
It looks like the pom is in a different encoding then maven expects. That's a fun issue! I would check maven's JIRA to see if someone else has reported this issue and has a workaround. Who is deploying/configuring Lift's POM files? Are you using UTF-8 or UTF-16 encoding? In either case, I

[Lift] Re: LiftTicket and AJAX

2009-11-01 Thread Marius
I think it would be great to have the editable in SHtml. On Nov 1, 1:43 am, Derek Chen-Becker dchenbec...@gmail.com wrote: I have at least two different pieces of functionality here. The main workhorse is the AjaxUtils.editable method that actually generates the dynamic div. I was thinking

[Lift] Re: Error mvn install on lift-actor

2009-11-01 Thread Indrajit Raychaudhuri
Josh, Of late, I have deploying/configuring Lift's POM files. Have been using UTF-8 all along. I have encountered this earlier while parsing XMLs (unrelated to Lift, Maven). Don't recall how it got fixed :( In this case, probably causes could be: - different encoding of pom - different

[Lift] Scala Lift Off East

2009-11-01 Thread Bryan
I'm waiting for a ride to Union Station, so I thought I'd use this time to discuss some of the questions and concerns I heard about lift at the recent Scala Lift Off East. Personally, I did not attend any of the lift sessions, so I'm definitely leaving a lot out. I like lift and its

[Lift] Re: Error mvn install on lift-actor

2009-11-01 Thread Naftoli Gugenheim
It can't be the POM -- it built it. It just couldn't install it. I wonder if it's related to the new structure. I emptied .m2/repository/new/liftweb and it seems to be working now. Thanks. - Josh Suerethjoshua.suer...@gmail.com wrote: It looks like the pom

[Lift] Re: Error mvn install on lift-actor

2009-11-01 Thread David Pollak
Yeah, I do rm -rf ~/.m2 about once a week. Usually on Monday mornings just before I go make myself some tea. On Sun, Nov 1, 2009 at 7:55 AM, Naftoli Gugenheim naftoli...@gmail.comwrote: It can't be the POM -- it built it. It just couldn't install it. I wonder if it's related to the new

[Lift] camelCase to snake_case

2009-11-01 Thread aw
I am using Lift-Mapper with Oracle. Oracle is a case-insensitive database. For Hibernate projects, I have used the Enhanced Naming Convention to translate Java camelCase to a more Oracle friendly snake_case. I am interested in doing the same thing with Lift Mapper/ Record. In the mean time, I

[Lift] Re: camelCase to snake_case

2009-11-01 Thread Naftoli Gugenheim
Probably not too hard to do on your own via a trait: the trait should extend MappedField, override dbColumnName, and calculate it based on getClass. - awanth...@whitford.com wrote: I am using Lift-Mapper with Oracle. Oracle is a case-insensitive database.

[Lift] Re: camelCase to snake_case

2009-11-01 Thread David Pollak
It's not currently a feature, but please open a ticket http://github.com/dpp/liftweb/issues . We'll get it into M8 On Sun, Nov 1, 2009 at 10:55 AM, aw anth...@whitford.com wrote: I am using Lift-Mapper with Oracle. Oracle is a case-insensitive database. For Hibernate projects, I have used

[Lift] Re: camelCase to snake_case

2009-11-01 Thread Jeppe Nejsum Madsen
Naftoli Gugenheim naftoli...@gmail.com writes: Probably not too hard to do on your own via a trait: the trait should extend MappedField, override dbColumnName, and calculate it based on getClass. While this works, I think it is too tedious to do on all classes and fields. I think a better

[Lift] Re: camelCase to snake_case

2009-11-01 Thread David Pollak
On Sun, Nov 1, 2009 at 1:04 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: Naftoli Gugenheim naftoli...@gmail.com writes: Probably not too hard to do on your own via a trait: the trait should extend MappedField, override dbColumnName, and calculate it based on getClass. While this works,

[Lift] Re: camelCase to snake_case

2009-11-01 Thread aw
Thank you. I will open an Issue for this. I was reluctant to do it thinking that it was a user issue. ;-) On Nov 1, 11:57 am, David Pollak feeder.of.the.be...@gmail.com wrote: It's not currently a feature, but please open a tickethttp://github.com/dpp/liftweb/issues.  We'll get it into M8

[Lift] List of Users

2009-11-01 Thread Randinn
I'm trying to generate a list of users onto the screen but am unable to see the model here's me code so far package com.scalalist.project.snippet import com.scalalist.project.model.User import net.liftweb.util.BindHelpers._ import scala.xml._ class ListUser { def list(html: NodeSeq) :

[Lift] Re: List of Users

2009-11-01 Thread David Pollak
On Sun, Nov 1, 2009 at 2:00 PM, Randinn rand...@gmail.com wrote: I'm trying to generate a list of users onto the screen but am unable to see the model here's me code so far package com.scalalist.project.snippet import com.scalalist.project.model.User import net.liftweb.util.BindHelpers._

[Lift] Re: List of Users

2009-11-01 Thread Randinn
Doh!, very sorry about that. On Nov 2, 11:14 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Sun, Nov 1, 2009 at 2:00 PM, Randinn rand...@gmail.com wrote: I'm trying to generate a list of users onto the screen but am unable to see the model here's me code so far package

[Lift] Re: Error mvn install on lift-actor

2009-11-01 Thread Josh Suereth
There's something just wrong about this On Sun, Nov 1, 2009 at 10:06 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Yeah, I do rm -rf ~/.m2 about once a week. Usually on Monday mornings just before I go make myself some tea. On Sun, Nov 1, 2009 at 7:55 AM, Naftoli Gugenheim

[Lift] Re: Possible bug in xml to json conversion

2009-11-01 Thread Jonathan Ferguson
Thanks for the update Joni and sorry for not getting back sooner. I'll try the code change you've suggested. Should I open a bug for the final example? Cheers Jono 2009/10/28 Joni Freeman freeman.j...@gmail.com Hi Jonathan, Current toJson conversion does not support this case very well.