[Lift] Re: Parsing JSON POST

2009-07-24 Thread fbettag
Still one problem when parsing: results: {"name":"New Content","language":"en","content":"","layout": 22} java.lang.NumberFormatException: For input string: "22.0" at java.lang.NumberFormatException.forInputString (NumberFormatException.java:48) at java.lang.Long.parseLong(Long.j

[Lift] Re: Realtime integration of YUI and jQuery Widgets

2009-07-24 Thread marius d.
On Jul 24, 11:02 pm, verlsnake wrote: > I've just read the following on Dave Pollak's Blog: YUI and jQuery are > Lift's out-of-the-box libraries; my question now is: Are all those YUI > and jQuery Widgets integrated with Lift's realtime capabilities ? No not at all. For YUI we just provide the

[Lift] Realtime integration of YUI and jQuery Widgets

2009-07-24 Thread verlsnake
I've just read the following on Dave Pollak's Blog: YUI and jQuery are Lift's out-of-the-box libraries; my question now is: Are all those YUI and jQuery Widgets integrated with Lift's realtime capabilities ? Which means: - They can be bound to data changing in realtime - They update their display

Re: Lift + Scala 2.8 (Was: Re: [Lift] Re: Is there any eclipse setup that actually works for lift?)

2009-07-24 Thread Naftoli Gugenheim
The reason I asked is that paulp recently said he was going to try again to get scalacheck to work. - Jorge Ortiz wrote: No, sorry. I haven't spent any more time on this. --j On Thu, Jul 23, 2009 at 10:13 PM, Naftoli Gugenheim wrote: > Any update on this?

Re: Lift + Scala 2.8 (Was: Re: [Lift] Re: Is there any eclipse setup that actually works for lift?)

2009-07-24 Thread Jorge Ortiz
No, sorry. I haven't spent any more time on this. --j On Thu, Jul 23, 2009 at 10:13 PM, Naftoli Gugenheim wrote: > Any update on this? > > > On Mon, Jun 22, 2009 at 10:55 PM, David Pollak < > feeder.of.the.be...@gmail.com> wrote: > >> >> >> On Mon, Jun 22, 2009 at 7:51 PM, Jorge Ortiz wrote: >>

[Lift] Re: Good build tool for Lift/Scala projects

2009-07-24 Thread Sean Reque
I haven't tried running buildr on OSX, but did you try using buildr with jruby instead of ruby? Buildr with CRuby has to rely on a C library rjb, which I wouldn't trust to work as well as jruby and from what I've seen only reliably works with Java 1.5. The latest JRuby just added nailgun support t

[Lift] JavaRebel has expired

2009-07-24 Thread ess
Well, if I start maven, I get the following expired-message mvn archetype:create -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-basic \ -DarchetypeVersion=1.0\ -DremoteRepositories=http://scal

[Lift] Re: JavaRebel has expired

2009-07-24 Thread Timothy Perrett
Thanks Ty, you beat me too it. I've sent new installers for DPP to put up onto scala-tools, when he does that, this issue will go away forever. Thanks Tim On Jul 24, 4:05 pm, TylerWeir wrote: > http://groups.google.com/group/liftweb/browse_thread/thread/ca49bc965... > > On Jul 24, 11:04 am, e

[Lift] Re: JavaRebel has expired

2009-07-24 Thread TylerWeir
http://groups.google.com/group/liftweb/browse_thread/thread/ca49bc9657726c36/535b8db8c794f6ac?hl=en&lnk=gst&q=javarebel#535b8db8c794f6ac On Jul 24, 11:04 am, ess wrote: > Well, if I start maven, I get the following > expired-message > > mvn archetype:create -U  \ >  -DarchetypeGroupId=net.liftwe

[Lift] Re: todo app., Oracle: Invalid column type

2009-07-24 Thread Jon
I should be able to do the pulling and building myself, but a few directions on how to do it will be necessary. The pulling/building I can try quite soon, but the actual testing may have to wait a few days. (I'll let you know.) /Jon On Jul 24, 3:41 pm, Derek Chen-Becker wrote: > If I built a sp

[Lift] Re: SQL dumping in log?

2009-07-24 Thread Derek Chen-Becker
It's JDBC drivers. Essentially, we're calling toString on the PreparedStatement object. Different vendors do different things, since there's nothing in the spec about toString behavior. The advantage to using something like log4jdbc (or p6spy, haven't looked at that one) is that they will log the e

[Lift] Re: todo app., Oracle: Invalid column type

2009-07-24 Thread Derek Chen-Becker
If I built a special branch to test this out would you be OK with pulling and building that yourself? Otherwise I can build it and send you the jars. Thanks, Derek On Thu, Jul 23, 2009 at 11:24 PM, Jon wrote: > > Hi Derek, > For me this sounds fine, but then I'm still a Lift and Scala newbie.

[Lift] Re: Good build tool for Lift/Scala projects

2009-07-24 Thread Timothy Perrett
Wow great tip david! Its for reasons like this that you are the maven master ;-) Cheers, Tim On 24/07/2009 13:39, "David Bernard" wrote: > if what you dislike in pom, it's the xml (like me) try yaml > (http://wiki.github.com/mrdon/maven-yamlpom-plugin) ;) --~--~-~--~~-

[Lift] Re: Good build tool for Lift/Scala projects

2009-07-24 Thread David Bernard
if what you dislike in pom, it's the xml (like me) try yaml ( http://wiki.github.com/mrdon/maven-yamlpom-plugin) ;) On Fri, Jul 24, 2009 at 14:10, night_stalker wrote: > > I hate pom.xml and prefer something like rake,scala code best. > > On Jul 24, 5:23 pm, Jeppe Nejsum Madsen wrote: > > Hi, >

[Lift] Re: Did something change with the Lift repos lately?

2009-07-24 Thread David Pollak
Jeppe, Nothing has changed. Josh was noodling with upgrading to the latest version of Hudson, but I don't believe he's actually upgraded. Thanks, David On Fri, Jul 24, 2009 at 1:59 AM, Jeppe Nejsum Madsen wrote: > > Hi, > > I'm building our releases with Gradle (which uses Ivy for dependency

[Lift] Re: Good build tool for Lift/Scala projects

2009-07-24 Thread night_stalker
I hate pom.xml and prefer something like rake,scala code best. On Jul 24, 5:23 pm, Jeppe Nejsum Madsen wrote: > Hi, > > We're currently using Gradle to build our Lift app. I've used Gradle > previously on a Java project and really liked it. Unfortunately, it's > Scala support is just a patch aga

[Lift] Re: SQL dumping in log?

2009-07-24 Thread Jeppe Nejsum Madsen
Jon writes: > With Lift 1.0 and my tiny test app. against Oracle, and this: > DB.addLogFunc ((q, t) => Log.info("Query("+t+"): "+q)) > > ... I get this: > INFO - Query(73): oracle.jdbc.driver.t4cpreparedstatem...@10b868 > INFO - Query(241): oracle.jdbc.driver.t4cpreparedstatem...@10b868 > INFO -

[Lift] Re: SQL dumping in log?

2009-07-24 Thread Jon
With Lift 1.0 and my tiny test app. against Oracle, and this: DB.addLogFunc ((q, t) => Log.info("Query("+t+"): "+q)) ... I get this: INFO - Query(73): oracle.jdbc.driver.t4cpreparedstatem...@10b868 INFO - Query(241): oracle.jdbc.driver.t4cpreparedstatem...@10b868 INFO - Service request (GET) /sho

[Lift] Re: Good build tool for Lift/Scala projects

2009-07-24 Thread Timothy Perrett
They have a pretty extensive plugin architecture so its my understanding you can just write scala to do whatever you want... http://code.google.com/p/simple-build-tool/wiki/SbtPlugins Checkout n8han's dbDispath - it uses SBT so might give you more of a feel how it can work: http://databinder.ne

[Lift] Re: SQL dumping in log?

2009-07-24 Thread Ewan
Logging works ok with MySQL but not Derby as I discovered when moving to MySQL when playing with stax. -- Ewan On Jul 23, 11:27 pm, Jeppe Nejsum Madsen wrote: > Jon writes: > > On Jul 23, 8:56 pm, Jeppe Nejsum Madsen wrote: > >> "marius d." writes: > >> > I'm not sure if that logs the statem

[Lift] Re: SQL dumping in log?

2009-07-24 Thread Ewan
You might want to look at how p6spy do things. From memory they supply a proxy jdbc driver that delegates to the actual driver to do the work. -- Ewan On Jul 23, 9:33 pm, Derek Chen-Becker wrote: > Well, I'm looking at the code in DB and what we may have to do is write > wrappers for Statement

[Lift] Re: todo app., Oracle: Invalid column type

2009-07-24 Thread Jon
Hi Derek, For me this sounds fine, but then I'm still a Lift and Scala newbie. I think the best way is just to try it. ;-) Whenever you have something that I can try, let me know. /Jon On Jul 23, 10:02 pm, Derek Chen-Becker wrote: > OK, I think that this is happening because when we use the JDB

[Lift] Re: Good build tool for Lift/Scala projects

2009-07-24 Thread David Bernard
a little OT (because not applied to a lift project but to a scala project). * we use maven to build and capistrano to deploy release (previously a python script). * build doesn't need scripting and developer should be allowed to deploy to environment. at the end build generate an archive deployed i

[Lift] Re: Good build tool for Lift/Scala projects

2009-07-24 Thread Jeppe Nejsum Madsen
Timothy Perrett writes: > Jeppe, > > I recently explored SBT and was really impressed by how far they have come - > you can use it today, they have a lift example on their wiki. How easy is it to do system automation stuff in SBT? I.e. create archives, scp them somewhere, run remote ssh command

[Lift] Re: Good build tool for Lift/Scala projects

2009-07-24 Thread Timothy Perrett
Jeppe, I recently explored SBT and was really impressed by how far they have come - you can use it today, they have a lift example on their wiki. When they add code-generation (a la archetypes) then I'll make some SBT plugins for lift as its a pretty sweet all-scala system. Good luck Cheers,

[Lift] Good build tool for Lift/Scala projects

2009-07-24 Thread Jeppe Nejsum Madsen
Hi, We're currently using Gradle to build our Lift app. I've used Gradle previously on a Java project and really liked it. Unfortunately, it's Scala support is just a patch against an older version, which doesn't work with the latest releases. So before I jump in and try to hack some Scala suppo

[Lift] Did something change with the Lift repos lately?

2009-07-24 Thread Jeppe Nejsum Madsen
Hi, I'm building our releases with Gradle (which uses Ivy for dependency management) and this has been working fine until a few days ago (Coincidentally, I think after Hudson was restarted which means that before July 9th things were working fine) Now it fails with this error: io problem