[Lift] Help embedding lift in jetty

2010-02-05 Thread parki
Hello - newbie to scala and (esp) lift. I'm trying to get lift embedded into a server I wrote which also embeds jetty, so trying to avoid making war files, etc (the init code is at the end of this email) and thought someone out there might be able to point me in the right direction. I am using lif

Re: [Lift] Help understanding lift:comet

2010-01-20 Thread David Pollak
On Wed, Jan 20, 2010 at 9:55 AM, Donald McLean wrote: > Yes, that was simple. Thank you, David. > > I actually planned on redrawing only on change - I just hadn't gotten > that far yet. > Okay. Also, for such a small component, you might just want to do a "reRender(false)" rather than partial u

Re: [Lift] Help understanding lift:comet

2010-01-20 Thread Donald McLean
Yes, that was simple. Thank you, David. I actually planned on redrawing only on change - I just hadn't gotten that far yet. On Wed, Jan 20, 2010 at 12:30 PM, David Pollak wrote: > The problem is very simple.  You're only binding to the tag. > Please update: > > bind("up" -> upText, "down" -> do

Re: [Lift] Help understanding lift:comet

2010-01-20 Thread Naftoli Gugenheim
Also note that the error is not from lift but the browser, if I'm not mistaken. - David Pollak wrote: The problem is very simple. You're only binding to the tag. Please update: bind("up" -> upText, "down" -> downText) With that being said, polling for chang

Re: [Lift] Help understanding lift:comet

2010-01-20 Thread David Pollak
The problem is very simple. You're only binding to the tag. Please update: bind("up" -> upText, "down" -> downText) With that being said, polling for changes doesn't make much sense. I'd suggest only redrawing when you get a message that a server has gone up/down. On Wed, Jan 20, 2010 at 9:19

[Lift] Help understanding lift:comet

2010-01-20 Thread Donald McLean
I am a total newbie trying to learn Scala and Lift. It is a near certainty that my problem is a misunderstanding of something simple so please don't assume that I have a clue. My organization is performing a technology evaluation and the winning technology will be used for an upcoming project. Sca

Re: [Lift] Help required with utility method

2010-01-18 Thread Adam Warski
Hello, > I have HTML to print out expenses for a given month (i.e. URL = .../ > month/12): > > > ... > > > > > > > ... > > > The area I'm having problems with is the code to drive the above > HTML. I need something like: > > class MonthPage { > def summary( xhtml : NodeS

[Lift] Help required with utility method

2010-01-17 Thread pabraham
Greetings all, I need some help with a simple problem that I'm struggling to solve. I'm writing a simple expense tracking application. To keep it simple, I have a months and expenses. I can have a number of months, and each month can have more than one expense: class Month extends LongKeyedMap

Re: [Lift] Help with exception deploying Hello World on GlassFish

2009-12-15 Thread Donald McLean
That worked. Thank you very much! Donald On Tue, Dec 15, 2009 at 2:40 PM, David Pollak wrote: > > > On Tue, Dec 15, 2009 at 11:38 AM, Donald McLean wrote: >> >> My mistake - it's 2.7.7 - should I go back to 2.7.5? > > Lift 1.0.2 uses Scala 2.7.5 and only works with code compiled by the 2.7.5 >

Re: [Lift] Help with exception deploying Hello World on GlassFish

2009-12-15 Thread David Pollak
On Tue, Dec 15, 2009 at 11:38 AM, Donald McLean wrote: > My mistake - it's 2.7.7 - should I go back to 2.7.5? > *Lift 1.0.2 uses Scala 2.7.5 and only works with code compiled by the 2.7.5 compiler and with the 2.7.5 JAR files.* > > On Tue, Dec 15, 2009 at 2:29 PM, David Pollak > wrote: > > >

Re: [Lift] Help with exception deploying Hello World on GlassFish

2009-12-15 Thread Donald McLean
My mistake - it's 2.7.7 - should I go back to 2.7.5? On Tue, Dec 15, 2009 at 2:29 PM, David Pollak wrote: > > > On Tue, Dec 15, 2009 at 11:25 AM, Donald McLean wrote: >> >> commons-fileupload-1.2.1.jar >> lift-util-1.0.2.jar >> lift-webkit-1.0.2.jar >> log4j-1.2.15.jar >> scala-library.jar (2.7.

Re: [Lift] Help with exception deploying Hello World on GlassFish

2009-12-15 Thread Timothy Perrett
That version of lift uses 2.7.5 scala - they are binary incompatible with 2.7.6. Moreover, that isn't enough dependencies for Lift - your probably missing a bunch of things. How big is the WAR? Cheers, Tim On 15 Dec 2009, at 19:25, Donald McLean wrote: > commons-fileupload-1.2.1.jar > lift-ut

Re: [Lift] Help with exception deploying Hello World on GlassFish

2009-12-15 Thread David Pollak
On Tue, Dec 15, 2009 at 11:25 AM, Donald McLean wrote: > commons-fileupload-1.2.1.jar > lift-util-1.0.2.jar > lift-webkit-1.0.2.jar > log4j-1.2.15.jar > scala-library.jar (2.7.6, I believe) > Never, ever, ever for any reason use Scala 2.7.6. It's very broken. Lift 1.0.2 uses Scala 2.7.5 and on

Re: [Lift] Help with exception deploying Hello World on GlassFish

2009-12-15 Thread Donald McLean
commons-fileupload-1.2.1.jar lift-util-1.0.2.jar lift-webkit-1.0.2.jar log4j-1.2.15.jar scala-library.jar (2.7.6, I believe) On Tue, Dec 15, 2009 at 2:21 PM, David Pollak wrote: > Looks like you have a mess of wrong JAR files. > > What version of Lift are you using? > > On Tue, Dec 15, 2009 at 11

Re: [Lift] Help with exception deploying Hello World on GlassFish

2009-12-15 Thread David Pollak
Looks like you have a mess of wrong JAR files. What version of Lift are you using? On Tue, Dec 15, 2009 at 11:16 AM, Donald McLean wrote: > Following the layout for building a Lift application using Ant, I put > together a Hello, World application and deployed it. Deploying gives > an error (se

[Lift] Help with exception deploying Hello World on GlassFish

2009-12-15 Thread Donald McLean
Following the layout for building a Lift application using Ant, I put together a Hello, World application and deployed it. Deploying gives an error (see below). Any suggestions on what the problem is and how to fix it? Thank you, Donald Exception starting filter LiftFilter java.lang.AbstractMeth

[Lift] Help obtaining SQL Server version numbers

2009-10-15 Thread Derek Chen-Becker
I don't have access to any SQL Server instances, so I was wondering if someone out there who does could help me. In order to do some version-specific behavior in Mapper/Schemifier, I need major and minor version numbers for SQL Server. I've been googling around, and I found this doc: http://suppor

[Lift] Help!

2009-10-05 Thread jack
Is mvn jetty:run supposed to creat the war file? I want to upload a war file and just run it, not create another one. How do I do that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this gro

[Lift] Help with using JSExp and JsCmd traits

2009-09-29 Thread glenn
I'd like to converting the following JsRaw("""function() $('#item-save').html(this.id + ' was toggled')""") into something more object-oriented, using JQuery support functions in Lift. I've tried various combiniations, including this AnonFunc(JqId("item-save") >> JqEmptyAfter({JsRaw(this.id)}

[Lift] Help on "Build from source"

2009-07-27 Thread Nile Black
[INFO] Building Lift Utils [INFO]task-segment: [install] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [yuicompressor:compress {execution: default}] [INFO] nb warning

[Lift] Help with the eclipse plugin

2009-07-09 Thread Dan Gravell
I'm trying to learn about lift using the eclipse plugin but not really getting far... Currently trying to build a project hangs eclipse which is obviously something of a shortcoming. Eclipse 3.4.2 Scala plugin 2.7.5 Maven plugin Q4E (IAM) 0.10 So I create a new lift project externally using

[Lift] Help with writing generic functions for lift mapper

2009-06-19 Thread Sean Reque
I am trying to write a generic function to do a on-to-one join between mapper objects in memory using a map. The function is as follows: def oneToOneJoin[PType <: LongKeyedMapper[PType] with IdPK, CType <: LongKeyedMapper[CType] with IdPK, CMetaType <: CTyp

[Lift] help! create lift project with 1.1-snapshorts

2009-06-11 Thread jfyl...@gmail.com
I will creat a lift project, the next is my command: mvn archetype:generate -U -DremoteRepositories=http://scala-tools.org/ repo-snapshots -DarchetypeGroupId=net.liftweb - DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=1.1- SNAPSHOT -DgroupId=com.test -DartifactId=mytest but i got

[Lift] help with JPA annotation?

2009-05-25 Thread Meredith Gregory
All, Below are the contents of three classfiles. The first and second generated by BNFC from the grammar here. The second is a subclass generated from the first to provide persistence to th

[Lift] Help with PocketChange project

2009-04-12 Thread Xavi Ramirez
Hello, I've started reading through Exploring Lift and I'm having trouble with running the PocketChange demo. I've ran the following commands: git clone git://github.com/tjweir/pocketchangeapp.git cd to PocketChange directory mvn install mvn jetty:run -U When the jetty server starts, the follo

[Lift] Help on getting Eclipse/Maven/Lift working

2009-02-02 Thread Thomas Sant Ana
I followed the tutorial here on this page: http://scala-blogs.org/2007/12/dynamic-web-applications-with-lift-and.html And was pleased to see the application come out so quickly. However I have a question. As I save the file on Eclipse they don't get picked up by Jetty. I need to do a mvn install