Re: [Lift] Schemify has SQL Exception, IDENIFY instead of IDENTIFY is in the SQL query

2009-12-04 Thread David Brooks
Hi, I've searched the 1-1-SNAPSHOT sources and found: lift-persistence/lift-mapper/src/main/scala/net/liftweb/mapper/Driver.scala: def integerIndexColumnType = INTEGER NOT NULL GENERATED BY DEFAULT AS IDENITY so it looks as if someone's made a typo. I suggest you open a ticket at

[Lift] Re: JSON Reponses

2009-12-04 Thread deadfolk
Wow - thanks for the reponses, guys! Plenty to look at here. Doesn't look like I should be concerned about support for Lift. If only some of the commercial support contracts we have were as helpful. On Dec 3, 7:17 pm, Ross Mellgren dri...@gmail.com wrote: Views are for providing template

Re: [Lift] Re: S.render function was removed

2009-12-04 Thread Paul Sandoz
On Dec 3, 2009, at 6:47 PM, David Pollak wrote: Yeah I'm not sure why this code was removed. Please open a ticket and I'll put it back. Thanks: http://github.com/dpp/liftweb/issues/#issue/219 I included a patch as a comment, but it got all mangled and i am unsure if there is

[Lift] Re: Newbie question on the Scala Todo sample application.

2009-12-04 Thread itsjar
Great! Thanks a lot on the input guys. Itsjar On Dec 4, 1:11 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Dec 3, 2009 at 3:47 PM, itsjar its...@gmail.com wrote: Hi, when I was working on the tutorial I got to the point where it tells you to run it and go to

[Lift] Error reading archetype catalog http://scala-tools.org

2009-12-04 Thread David Biesack
On Windows XP with Maven already installed, I tried the instructions on http://wiki.github.com/dpp/liftweb , namely mvn archetype:generate -DarchetypeCatalog=http://scala-tools.org/ This started (downloaded several maven plugins successfully) but failed with [INFO] Generating project in

[Lift] copy/paste errors on Getting Started

2009-12-04 Thread David Biesack
The commands in the Getting Started page ( http://liftweb.net/docs/getting_started/mod_master.html ) for creating the todo project does not work when copied and pasted into a shell. The long command is split over multiple lines and end with \ but there is a space after the backslash which I did

Re: [Lift] Error reading archetype catalog http://scala-tools.org

2009-12-04 Thread Timothy Perrett
David, Im not sure what the problem with your command was, it should work fine... the archetype catalog is in place (I just checked) so perhaps its something at your end causing the problem (proxies or such?) Cheers, Tim On 4 Dec 2009, at 14:40, David Biesack wrote: On Windows XP with Maven

Re: [Lift] Schemify has SQL Exception, IDENIFY instead of IDENTIFY is in the SQL query

2009-12-04 Thread Alex Boisvert
No need to open a ticket, I've fixed the typo directly in master. commit 090aff91793a8b9cc67f55ff77e7407c46c2545b Author: Alex Boisvert alex.boisv...@gmail.com Date: Fri Dec 4 07:05:06 2009 -0800 Fixed typo in DerbyDriver.integerIndexColumnType: IDENITY - IDENTITY (Change recorded in

[Lift] Getting Started 'todo' fails - smack.jar

2009-12-04 Thread David Biesack
While helloworld works (mvn jetty:run) from http://liftweb.net/docs/getting_started/mod_master.html, after installing the 'todo' app and try to build/run it cd todo mvn jetty:run I get an error trying to resolve smack.jar I was able to resolve this by downloading smack and installing

Re: [Lift] Getting Started 'todo' fails - smack.jar

2009-12-04 Thread Indrajit Raychaudhuri
The Maven repository http://maven.reucon.com/public/ had turned out to be unreliable on a previous occasion. We have discontinued referring to that repository now. You might consider using the 1.1-SNAPSHOT archetype. (using -DarchetypeVersion=1.1-SNAPSHOT and

[Lift] XSLT?

2009-12-04 Thread Jim Wise
Had asked this earlier on the scala-users list. It's not (quite) a Lift question, but maybe someone has done something similar? I'm in the process of moving an application currently implemented in Java using Apache Cocoon to Scala and Liftweb. I've had a relatively easy time moving the

Re: [Lift] Getting Started 'todo' fails - smack.jar

2009-12-04 Thread jlist9
I'm just curious why is smack required. Does Lift use XMPP? Or is it there in case someone uses XMPP in an application? On Fri, Dec 4, 2009 at 7:23 AM, David Biesack david.bies...@sas.com wrote: While helloworld works (mvn jetty:run) from http://liftweb.net/docs/getting_started/mod_master.html,

Re: [Lift] Getting Started 'todo' fails - smack.jar

2009-12-04 Thread David Pollak
On Fri, Dec 4, 2009 at 10:06 AM, jlist9 jli...@gmail.com wrote: I'm just curious why is smack required. Does Lift use XMPP? Or is it there in case someone uses XMPP in an application? The 1.0 archetype references lift-core. lift-core is the umbrella for all the Lift modules including XMPP,

Re: [Lift] Getting Started 'todo' fails - smack.jar

2009-12-04 Thread jlist9
I see. Thanks David. It's good to know that lift has interfaces for all those interesting libraries, although it sort of makes lift-core sound more like lift-libs :) On Fri, Dec 4, 2009 at 10:13 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Dec 4, 2009 at 10:06 AM, jlist9

Re: [Lift] Getting Started 'todo' fails - smack.jar

2009-12-04 Thread Indrajit Raychaudhuri
On 04/12/09 11:43 PM, David Pollak wrote: On Fri, Dec 4, 2009 at 10:06 AM, jlist9 jli...@gmail.com mailto:jli...@gmail.com wrote: I'm just curious why is smack required. Does Lift use XMPP? Or is it there in case someone uses XMPP in an application? The 1.0 archetype

[Lift] Re: XSLT?

2009-12-04 Thread glenn
Jim, I've used a lot of XSLT in the past but have recently taken to Scala's use of XML literals and extraction methods coupled with case matching in place of XSL templates - no need to call into Xerces, Xalan or any other third-party libraries to do this. Glenn On Dec 4, 9:19 am, Jim Wise

Re: [Lift] XSLT?

2009-12-04 Thread Ross Mellgren
I don't know of any example code, but if you want I can probably whip up a quick example tonight or tomorrow to get you along. -Ross On Dec 4, 2009, at 12:19 PM, Jim Wise wrote: Had asked this earlier on the scala-users list. It's not (quite) a Lift question, but maybe someone has done

[Lift] Re: Field validation

2009-12-04 Thread Alex Siman
Checkout my code, especially parts with cssClass. import net.liftweb.http.S._ import net.liftweb.http.SHtml._ // input can be SHtml.text def formField(label: String, input: Elem): NodeSeq = { val fixedLabel = label match {

[Lift] Button tag for submit

2009-12-04 Thread Tim Nelson
Is there a way to use a button tag for submitting forms? It would be nice to be able to use the blueprint buttons plugin which requires the following: button type=submit class=button positive img src=css/blueprint/plugins/buttons/icons/tick.png alt=/ Save /button Thanks, Tim -- You received

[Lift] Re: Button tag for submit

2009-12-04 Thread Timothy Perrett
Absolutely nothing stopping you doing that. See my previous post on this matter: http://groups.google.com/group/liftweb/browse_thread/thread/72cb7312ca87795f Cheers, Tim On Dec 5, 12:52 am, Tim Nelson tnell...@gmail.com wrote: Is there a way to use a button tag for submitting forms? It would

[Lift] Re: Impossible to use Mapper on GAE?

2009-12-04 Thread Mark Tye
I wrote a GAE module for Lift a few months ago, similar to Mapper/ Record, but not directly related to either. There were no driver issues, and it worked pretty well. You can see an working example here: http://mtyetest.appspot.com/ The main obstacle to proceeding further was the lack of Maven