[Lift] Re: 1.0.2 released

2009-09-10 Thread Derek Chen-Becker
We'll take a look at it. On Thu, Sep 10, 2009 at 6:55 PM, DMB wrote: > > You mean this guy? It's still there it seems. > > java.lang.NoSuchFieldException: refSet >at java.lang.Class.getDeclaredField(Class.java:1882) >at net.liftweb.http.PointlessActorToWorkAroundBug$$anonfun$act

[Lift] SHtml.submit doesn't call its callback

2009-09-10 Thread DMB
Here's the problem. I have a simple form with a couple of hidden fields. The purpose of the form is to take a password, salt it, compute a sha1 hash in Javascript and send it back to the server through a hidden field. Since Lift does not (or didn't) allow hidden fields to pass the parameters back

[Lift] Re: Milestone 5 now available!

2009-09-10 Thread Antony Blakey
On 11/09/2009, at 8:45 AM, David Pollak wrote: > On Thu, Sep 10, 2009 at 3:59 PM, Antony Blakey > wrote: > > > On 11/09/2009, at 1:28 AM, David Pollak wrote: > > > > > > > On Thu, Sep 10, 2009 at 8:57 AM, harryh wrote: > > > > Are there generated scaladocs on the web for M5 anywhere? > > > > h

[Lift] Re: 1.0.2 released

2009-09-10 Thread DMB
You mean this guy? It's still there it seems. java.lang.NoSuchFieldException: refSet at java.lang.Class.getDeclaredField(Class.java:1882) at net.liftweb.http.PointlessActorToWorkAroundBug$$anonfun$act $2$$anonfun$apply$2.apply(LiftServlet.scala:722) at net.liftweb.http.Poi

[Lift] Re: dynamic javascript files

2009-09-10 Thread Naftoli Gugenheim
Don't you have to check the request headers if the client accepts gzipped? - David Pollak wrote: On Thu, Sep 10, 2009 at 5:04 PM, Charles F. Munat wrote: > > That works. Thanks! > > So if I wanted to build a large JavaScript script in pieces in different > f

[Lift] Re: dynamic javascript files

2009-09-10 Thread Charles F. Munat
Thanks. I'll play with that. Chas. David Pollak wrote: > > > On Thu, Sep 10, 2009 at 5:04 PM, Charles F. Munat > wrote: > > > That works. Thanks! > > So if I wanted to build a large JavaScript script in pieces in different > files, and then combine all th

[Lift] Re: dynamic javascript files

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 5:04 PM, Charles F. Munat wrote: > > That works. Thanks! > > So if I wanted to build a large JavaScript script in pieces in different > files, and then combine all those files together and add in some > dynamically generated stuff, and finally gzip the whole thing and send

[Lift] Re: dynamic javascript files

2009-09-10 Thread Charles F. Munat
That works. Thanks! So if I wanted to build a large JavaScript script in pieces in different files, and then combine all those files together and add in some dynamically generated stuff, and finally gzip the whole thing and send it out using the trick below, how would one do that? I'm looking

[Lift] Re: how to use top query in lift

2009-09-10 Thread David Pollak
findAll(By(...), MaxRows(100)) On Tue, Sep 8, 2009 at 11:11 PM, pravin wrote: > > Hi , > i am using MSSQL for lift ORM. > i want to get first 100 results from my results set... > > So how can i use "top" query for this.. > > > > > -- Lift, the simply functional web framework http://liftweb.ne

[Lift] Re: dynamic javascript files

2009-09-10 Thread David Pollak
LiftRules.dispatch.append { case Req("custom" :: "js_file", "js", GetRequest) => ... create a LiftResponse that contains the file here } On Thu, Sep 10, 2009 at 4:43 PM, Charles F. Munat wrote: > > Memory fails. How do I create a dynamic .js file with scala and then > serve it through lift? I

[Lift] dynamic javascript files

2009-09-10 Thread Charles F. Munat
Memory fails. How do I create a dynamic .js file with scala and then serve it through lift? I did this before, but now my brain has gone blank. I want to preload some JS variables for use in other scripts, generating the variable content via scala. Entiende? Chas. --~--~-~--~~

[Lift] Re: Milestone 5 now available!

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 3:59 PM, Antony Blakey wrote: > > > On 11/09/2009, at 1:28 AM, David Pollak wrote: > > > > > > > On Thu, Sep 10, 2009 at 8:57 AM, harryh wrote: > > > > Are there generated scaladocs on the web for M5 anywhere? > > > > http://scala-tools.org/mvnsites/liftweb-1.1-M5/ > > I m

[Lift] Re: Milestone 5 now available!

2009-09-10 Thread Antony Blakey
On 11/09/2009, at 1:28 AM, David Pollak wrote: > > > On Thu, Sep 10, 2009 at 8:57 AM, harryh wrote: > > Are there generated scaladocs on the web for M5 anywhere? > > http://scala-tools.org/mvnsites/liftweb-1.1-M5/ I must be blind - is there a link to the scaladocs from that page? Antony Blake

[Lift] Re: scala.MatchError in TestFramework

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 2:10 PM, Channing Walton wrote: > > > > > bearfeeder wrote: > > > > > > It's Lift. I'll loosen the pattern... turns out the thing you're testing > > returns a Document rather than an element. I'll check in a fix in about > > 30 > > minutes. > > > http://github.com/dpp/li

[Lift] Re: scala.MatchError in TestFramework

2009-09-10 Thread Channing Walton
bearfeeder wrote: > > > It's Lift. I'll loosen the pattern... turns out the thing you're testing > returns a Document rather than an element. I'll check in a fix in about > 30 > minutes. > Thank you very much :-) -- View this message in context: http://www.nabble.com/scala.MatchError-i

[Lift] Re: PreCache doesn't take into account OrderBy and MaxRows?

2009-09-10 Thread Jeppe Nejsum Madsen
harryh writes: >> http://github.com/dpp/liftweb/commit/58c5463d44948a48dd2fa62bf9d14960... > > Any idea how long it will be until this is in a non snapshot build? I > guess I just missed the M5 release. I'm a little scared of pushing > production code based on 1.1-SNAPSHOT. Anyone out there do

[Lift] 1.0.2 released

2009-09-10 Thread Derek Chen-Becker
The Lift team is pleased to announce the lift-1.0.2 release! Lift is an expressive and elegant framework for writing web applications. Lift stresses the importance of security, maintainability, scalability and performance while allowing for high levels of developer productivity. Lift is a scala we

[Lift] Re: scala.MatchError in TestFramework

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 1:38 PM, Channing Walton wrote: > > Hi, > I just upgraded from M4 to M5 and one of my tests started failing > with: > scala.MatchError: Full() >at > net.liftweb.http.testing.HttpResponse.xml(TestFramework.scala:281) > > where the HttpResponse body is: > > > > > If

[Lift] scala.MatchError in TestFramework

2009-09-10 Thread Channing Walton
Hi, I just upgraded from M4 to M5 and one of my tests started failing with: scala.MatchError: Full() at net.liftweb.http.testing.HttpResponse.xml(TestFramework.scala:281) where the HttpResponse body is: If I revert this change it works: http://github.com/dpp/liftweb/commit/8fd5597799c

[Lift] Pre-announcing the Great Scala Test Suite Bounty

2009-09-10 Thread David Pollak
Folks, I'm working with a few other members of the Scala community to create The Great Scala Test Suite Bounty. Basically, the bounty will be an on-going activity where people write tests for the Scala compiler and library. The tests will be integrated into a big monster test suite that can be r

[Lift] Re: PreCache doesn't take into account OrderBy and MaxRows?

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 1:07 PM, harryh wrote: > > > http://github.com/dpp/liftweb/commit/58c5463d44948a48dd2fa62bf9d14960... > > Any idea how long it will be until this is in a non snapshot build? I > guess I just missed the M5 release. I'm a little scared of pushing > production code based on

[Lift] Re: PreCache doesn't take into account OrderBy and MaxRows?

2009-09-10 Thread harryh
> http://github.com/dpp/liftweb/commit/58c5463d44948a48dd2fa62bf9d14960... Any idea how long it will be until this is in a non snapshot build? I guess I just missed the M5 release. I'm a little scared of pushing production code based on 1.1-SNAPSHOT. Anyone out there doing this sort of thing?

[Lift] Re: Using template without and

2009-09-10 Thread David Pollak
Fixed http://github.com/dpp/liftweb/commit/78e95f734f622845d679206df56c9a5289c16f7b On Thu, Sep 10, 2009 at 10:47 AM, walterc wrote: > > Is there a way to configure template to generate html fragments > without including and generating and ? I had to resort > to adding a transformer to "LiftRu

[Lift] Re: MappedDate.setFromAny only works with strings?

2009-09-10 Thread Naftoli Gugenheim
Having an overridable toDate on the MappedXX that only defaults to the _corresponding_ global, as Jeppe said, would provide that ability too. Although the advantage of using a DateFormat over a def toDate is simplicity of replacement. (Maybe it should be a function, not a method, and there could

[Lift] Re: MappedDate.setFromAny only works with strings?

2009-09-10 Thread Jeppe Nejsum Madsen
Derek Chen-Becker writes: > OK, maybe I misread Naftoli's email but it sounded like he didn't want > global parsers, e.g. a per-field parser. Re-reading his email I think you're right :-) But that should be solved with your solution where you can override the format on a per field basis >

[Lift] Re: MappedDate.setFromAny only works with strings?

2009-09-10 Thread Derek Chen-Becker
OK, maybe I misread Naftoli's email but it sounded like he didn't want global parsers, e.g. a per-field parser. I agree on the Date/DateTime/Time split. I can add some of those to LiftRules and TimeHelpers. Derek On Thu, Sep 10, 2009 at 1:04 PM, Jeppe Nejsum Madsen wrote: > > Derek Chen-Becker

[Lift] Re: PreCache doesn't take into account OrderBy and MaxRows?

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 12:02 PM, harryh wrote: > > > A fix is in the works. > > Awesome. Thanks!!! > http://github.com/dpp/liftweb/commit/58c5463d44948a48dd2fa62bf9d14960d2eaf6d4 > > -harryh > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.a

[Lift] Re: MappedDate.setFromAny only works with strings?

2009-09-10 Thread Jeppe Nejsum Madsen
Derek Chen-Becker writes: > OK, this is different than the code I originally wrote. In 1.0.1 it's this: > > http://github.com/dpp/liftweb/blob/aec338c97648ea700de7a14b495b8be6b374153b/lift-mapper/src/main/scala/net/liftweb/mapper/MappedDate.scala > > I'm not sure who made that change, but I thin

[Lift] Re: PreCache doesn't take into account OrderBy and MaxRows?

2009-09-10 Thread harryh
> A fix is in the works. Awesome. Thanks!!! -harryh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send e

[Lift] Re: testing

2009-09-10 Thread Jeppe Nejsum Madsen
Timothy Perrett writes: > David, > > Im reading this, understanding it, and thinking that it would be great > if it could be written up into a wiki article explaining all the stuff > you added in your recent commits (there appear to be a bunch of files > and i've not yet looked at the impl

[Lift] Re: PreCache doesn't take into account OrderBy and MaxRows?

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 11:32 AM, harryh wrote: > > ~1125 ms for your query. > ~50ms for the IN based on that lift currently generates. > > This is doing things in the psql console on the same machine the > database lives on. It's not so much the query time that concerns me, > as the amount of d

[Lift] Re: PreCache doesn't take into account OrderBy and MaxRows?

2009-09-10 Thread Viktor Klang
On Thu, Sep 10, 2009 at 8:32 PM, harryh wrote: > > ~1125 ms for your query. > ~50ms for the IN based on that lift currently generates. > *laughs* Query optimizers in the different RDBMSes never cease to amaze me ;D Just for kicks, what about this? SELECT DISTINCT users.id, users.firstname, us

[Lift] Re: PreCache doesn't take into account OrderBy and MaxRows?

2009-09-10 Thread harryh
~1125 ms for your query. ~50ms for the IN based on that lift currently generates. This is doing things in the psql console on the same machine the database lives on. It's not so much the query time that concerns me, as the amount of data being sent back in the results. In my example at the top

[Lift] Re: PreCache doesn't take into account OrderBy and MaxRows?

2009-09-10 Thread Viktor Klang
On Thu, Sep 10, 2009 at 8:15 PM, Viktor Klang wrote: > > > On Thu, Sep 10, 2009 at 6:23 PM, harryh wrote: > >> >> Consider: >> >> val venues = Venue.findAll(By(Venue.cityid, City.currentCity), >> NotNullRef(Venue.owner), >> OrderBy(Venue

[Lift] Re: PreCache doesn't take into account OrderBy and MaxRows?

2009-09-10 Thread Viktor Klang
On Thu, Sep 10, 2009 at 6:23 PM, harryh wrote: > > Consider: > > val venues = Venue.findAll(By(Venue.cityid, City.currentCity), > NotNullRef(Venue.owner), > OrderBy(Venue.id, Descending), > MaxRows(10), >

[Lift] Re: Using template without and

2009-09-10 Thread David Pollak
This is a bug. I'll fix it up. On Thu, Sep 10, 2009 at 10:47 AM, walterc wrote: > > Is there a way to configure template to generate html fragments > without including and generating and ? I had to resort > to adding a transformer to "LiftRules.responseTransformers" to > transform the respons

[Lift] Using template without and

2009-09-10 Thread walterc
Is there a way to configure template to generate html fragments without including and generating and ? I had to resort to adding a transformer to "LiftRules.responseTransformers" to transform the response after Lift renders it. For example, with a template like this: http://www.w3.org/1999/xhtm

[Lift] Re: Announcing 1.0.1!

2009-09-10 Thread Derek Chen-Becker
I'll see what I can do later this afternoon. Derek On Thu, Sep 10, 2009 at 11:57 AM, David Pollak < feeder.of.the.be...@gmail.com> wrote: > > > On Thu, Sep 10, 2009 at 9:53 AM, Derek Chen-Becker > wrote: > >> Should I go ahead and re-spin 1.0.1, or should it be 1.0.2? > > > 1.0.2. > > >> >> >>

[Lift] Re: Announcing 1.0.1!

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 9:53 AM, Derek Chen-Becker wrote: > Should I go ahead and re-spin 1.0.1, or should it be 1.0.2? 1.0.2. > > > On Thu, Sep 10, 2009 at 11:36 AM, David Pollak < > feeder.of.the.be...@gmail.com> wrote: > >> >> >> On Thu, Sep 10, 2009 at 9:20 AM, Derek Chen-Becker > > wrote:

[Lift] Re: Announcing 1.0.1!

2009-09-10 Thread Derek Chen-Becker
Should I go ahead and re-spin 1.0.1, or should it be 1.0.2? On Thu, Sep 10, 2009 at 11:36 AM, David Pollak < feeder.of.the.be...@gmail.com> wrote: > > > On Thu, Sep 10, 2009 at 9:20 AM, Derek Chen-Becker > wrote: > >> That's not this commit, is it? >> >> >> http://github.com/dpp/liftweb/commit/c

[Lift] Re: Synchronous JSON/AJAX call

2009-09-10 Thread Ross Mellgren
Boo, I was afraid you'd say that. I'll guess I'll go the longer callback approach. Thanks, -Ross On Sep 10, 2009, at 12:37 PM, David Pollak wrote: > > > On Thu, Sep 10, 2009 at 9:30 AM, Ross Mellgren > wrote: > > I'm looking to make a synchronous JSON/AJAX call in my application, > and it l

[Lift] Re: Synchronous JSON/AJAX call

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 9:30 AM, Ross Mellgren wrote: > > I'm looking to make a synchronous JSON/AJAX call in my application, > and it looks like SHtml.jsonCall / SHtml.ajaxCall both devolve to > liftAjax.lift_ajaxHandler which is asynchronous. Is there any way to > generate a synchronous call, o

[Lift] Re: Announcing 1.0.1!

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 9:20 AM, Derek Chen-Becker wrote: > That's not this commit, is it? > > > http://github.com/dpp/liftweb/commit/cfc91f99d49ab8df833ca1ff4bb3406ba9605476 > > Yeah... that was against 2.7.4... 2.7.5 changed things. I just committed a fix that will disable the feature unless so

[Lift] Synchronous JSON/AJAX call

2009-09-10 Thread Ross Mellgren
I'm looking to make a synchronous JSON/AJAX call in my application, and it looks like SHtml.jsonCall / SHtml.ajaxCall both devolve to liftAjax.lift_ajaxHandler which is asynchronous. Is there any way to generate a synchronous call, or should I just roll my own JS side using jQuery or liftA

[Lift] Re: MappedDate.setFromAny only works with strings?

2009-09-10 Thread Derek Chen-Becker
OK, this is different than the code I originally wrote. In 1.0.1 it's this: http://github.com/dpp/liftweb/blob/aec338c97648ea700de7a14b495b8be6b374153b/lift-mapper/src/main/scala/net/liftweb/mapper/MappedDate.scala I'm not sure who made that change, but I think that we want something in the middl

[Lift] PreCache doesn't take into account OrderBy and MaxRows?

2009-09-10 Thread harryh
Consider: val venues = Venue.findAll(By(Venue.cityid, City.currentCity), NotNullRef(Venue.owner), OrderBy(Venue.id, Descending), MaxRows(10), PreCache(Venue.owner)) This ap

[Lift] Re: Announcing 1.0.1!

2009-09-10 Thread Derek Chen-Becker
That's not this commit, is it? http://github.com/dpp/liftweb/commit/cfc91f99d49ab8df833ca1ff4bb3406ba9605476 On Thu, Sep 10, 2009 at 10:34 AM, David Pollak < feeder.of.the.be...@gmail.com> wrote: > Hmmm... the pointless actor fix thingy should not have been included in > 1.0.1. > Lemme look into

[Lift] Re: Legacy database and column name with spaces

2009-09-10 Thread Marcin Jurczuk
> > Good to hear though that you're moving to sane column names :-) > > -Ross This app have long story - it was born as MS Access DB (that's why weird column names), then it was migrated to SQL server... I could post lots of stories to thedailywtf about meetings with guys from MS Access :) --~

[Lift] Re: testing

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 9:05 AM, wrote: > Cool, thanks! And this all works in 1.0.1? > No, it's brand new in 1.1-SNAPSHOT. I discourage using 1.0/1.0.1 While we're fixing bugs in 1.0, we're not actively adding features to this version and Lift has matured quite a bit in the last 6 months in te

[Lift] Re: dynamic search criteria

2009-09-10 Thread Justin Reardon
You could translate the query predicates you are creating from the input to a list of By objects. Eg. Take age=50 and transform it into By (User.age, 50). Then take your list and findAll(predicates: _*). On 2009-09-10, at 9:59, Rogelio wrote: > > I'm working on my first Lift project. I'm im

[Lift] Re: Announcing 1.0.1!

2009-09-10 Thread Ross Mellgren
Just change the version you depend on in your pom.xml and Maven will pull the new jars and put them in the classpath. -Ross On Sep 10, 2009, at 11:59 AM, DavidV wrote: > > I am running Scala 2.7.5 final and would like to upgrade to Lift > 1.0.1. I have never upgraded my Lift before (still ru

[Lift] Re: Announcing 1.0.1!

2009-09-10 Thread DavidV
I am running Scala 2.7.5 final and would like to upgrade to Lift 1.0.1. I have never upgraded my Lift before (still running 1.0) and am not sure how to do it without creating a new project. I using Maven and the jetty server to compile my lift code. I know how to modify a .pom file and some bas

[Lift] Re: Milestone 5 now available!

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 8:57 AM, harryh wrote: > > Are there generated scaladocs on the web for M5 anywhere? > http://scala-tools.org/mvnsites/liftweb-1.1-M5/ > > -harryh > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/

[Lift] Re: Milestone 5 now available!

2009-09-10 Thread harryh
Are there generated scaladocs on the web for M5 anywhere? -harryh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this

[Lift] Re: CRUDify trait in 1.1-SNAPSHOT

2009-09-10 Thread David Pollak
On Wed, Sep 9, 2009 at 11:30 PM, XiaomingZheng wrote: > > really~~~ > Yes. That's why I changed the self-type... because people kept mixing CRUDify into the mapper class, not the metamapper class. > > On Sep 10, 2:21 pm, Naftoli Gugenheim wrote: > > You're supposed to mix CRUDify in to your s

[Lift] Re: testing

2009-09-10 Thread David Pollak
On Thu, Sep 10, 2009 at 8:06 AM, Timothy Perrett wrote: > David, > > Im reading this, understanding it, and thinking that it would be great if > it could be written up into a wiki article explaining all the stuff you > added in your recent commits (there appear to be a bunch of files and i've > no

[Lift] Re: Announcing 1.0.1!

2009-09-10 Thread David Pollak
Hmmm... the pointless actor fix thingy should not have been included in 1.0.1. Lemme look into it. On Thu, Sep 10, 2009 at 5:06 AM, Stuart Roebuck wrote: > > I've switched a very simple test project from 1.0 to 1.0.1 and > switched the scala version to 2.7.5 > > Now I've started seeing the follow

[Lift] Re: Legacy database and column name with spaces

2009-09-10 Thread Ross Mellgren
Well that syntax most definitely does, at least from SQL management studio: DECLARE @foo TABLE ( [my column] int NOT NULL ) INSERT @foo ([my column]) VALUES (1) SELECT * FROM @foo I guess you tried setting dbColumnName? Maybe something else was interfering. Good to hear though that you'r

[Lift] Re: testing

2009-09-10 Thread Timothy Perrett
David, Im reading this, understanding it, and thinking that it would be great if it could be written up into a wiki article explaining all the stuff you added in your recent commits (there appear to be a bunch of files and i've not yet looked at the impl) Cheers, Tim On 10 Sep 2009, at 02:

[Lift] Re: Hudson error on basic archetype

2009-09-10 Thread David Pollak
Yeah... I'm working on it. Hudson tests the archetypes against the old JARs rather than the new JARs so it was barfing on the changes I made to lift-webkit and lift-utils yesterday. I'm trying to get a stable Hudson build so I can get the new JARs into the repo and then change the archetype to us

[Lift] Re: Milestone 5 now available!

2009-09-10 Thread Indrajit Raychaudhuri
You can typically leave out lift-util in most cases (just remove the dependency element in the pom) because most of other higher order modules (like lift-webkit) depend on lift-util and therefore would be transitively included during the build. Cheers, Indrajit On Sep 10, 7:28 pm, Timothy Perret

[Lift] Re: dynamic search criteria

2009-09-10 Thread ishiijp
I think DB#runQuery method suits for your needs. It is handy method to execute prepare statement. example code: DB.runQuery("select * from person where name=? and age=? and state=?", List("smith", 50, "FL")) But, You still have to make a where clause generator. DB#runQuery use DefaultConnectio

[Lift] Re: Milestone 5 now available!

2009-09-10 Thread Timothy Perrett
Exactly right - upgrade them all. Cheers, Tim On 10 Sep 2009, at 15:01, Xavi Ramirez wrote: > > Thanks for the quick reply. > > It seems I have three lift dependencies: lift-util, lift-webkit, > lift-mapper > > Do I upgrade all them to 1.1-M5? > > Thanks, > Xavi > > On Wed, Sep 9, 2009 at 11

[Lift] Re: Milestone 5 now available!

2009-09-10 Thread Xavi Ramirez
Thanks for the quick reply. It seems I have three lift dependencies: lift-util, lift-webkit, lift-mapper Do I upgrade all them to 1.1-M5? Thanks, Xavi On Wed, Sep 9, 2009 at 11:41 AM, Timothy Perrett wrote: > > Change: > > 1.1-M4 > > to > > 1.1-M5 > > Cheers, Tim > > On 9 Sep 2009, at 16:22,

[Lift] dynamic search criteria

2009-09-10 Thread Rogelio
I'm working on my first Lift project. I'm implementing a search form that will have several fields -- firstname, lastname, age, sex, state, etc. The search should allow the user to enter as little or as much information as they know in order to narrow the search down. So, if they know the lastn

[Lift] Re: Announcing 1.0.1!

2009-09-10 Thread Stuart Roebuck
I've switched a very simple test project from 1.0 to 1.0.1 and switched the scala version to 2.7.5 Now I've started seeing the following in my jetty log: ERROR - [MEMDEBUG] failure java.lang.NoSuchFieldException: refSet at java.lang.Class.getDeclaredField(Class.java:1882) at net.

[Lift] Re: CRUDifier and auto menu generation

2009-09-10 Thread Thiébaut Champenier
On Thu, Sep 10, 2009 at 12:17 PM, Marcin Jurczuk wrote: > Menu(Loc("home", List("index"), "Home")) :: User.sitemap :: > MyModelWithCRUD.menus Hi Marcin, You should use ::: to concatenate the to lists like this: Menu(Loc("home", List("index"), "Home")) :: User.sitemap ::: MyModelWithCRUD.menus

[Lift] Re: StatefulComet example code?

2009-09-10 Thread Somindra Bhattacharya
Thank you! On Sep 10, 2:16 pm, Atsuhiko Yamanaka wrote: > Hi, > > On Thu, Sep 10, 2009 at 5:46 PM, Somindra > > Bhattacharya wrote: > > > Hi Folks, > > > Please could someone point me to any example code that uses the > > StatefulComet? It would be very helpful. > > The tictac[1] included in lif

[Lift] Re: CRUDifier and auto menu generation

2009-09-10 Thread Marcin Jurczuk
Murphy law is working :) After spending 3 hours to find a solution - and post message here - I found it. I have to use ::: instead :: (create and return new list instead add objects to old one by using ::) Question is why this works with one additional autogenerator and doesn't work with more tha

[Lift] CRUDifier and auto menu generation

2009-09-10 Thread Marcin Jurczuk
Hello, I'm trying to setup basic CRUD and I almost did it. Problem is when creating menus: Here is Menu builder in Boot.conf Menu(Loc("home", List("index"), "Home")) :: User.sitemap :: MyModelWithCRUD.menus If I remove one of them (User.sitemap) - everything works but when I have both "autogene

[Lift] Re: Legacy database and column name with spaces

2009-09-10 Thread Marcin Jurczuk
Yes. Doens't work. Good news is that while next update of this "other" system names for columns will be changed for something more "standard". Thank You all for help :) On Sep 9, 6:51 pm, Ross Mellgren wrote: > For MS SQL, it's square brackets -- [table].[Company email] > > -Ross > > On Sep 9,

[Lift] Re: StatefulComet example code?

2009-09-10 Thread Atsuhiko Yamanaka
Hi, On Thu, Sep 10, 2009 at 5:46 PM, Somindra Bhattacharya wrote: > > Hi Folks, > > Please could someone point me to any example code that uses the > StatefulComet? It would be very helpful. > The tictac[1] included in lift-samples has demonstrated how to use StatefulComet. [1] http://github.co

[Lift] StatefulComet example code?

2009-09-10 Thread Somindra Bhattacharya
Hi Folks, Please could someone point me to any example code that uses the StatefulComet? It would be very helpful. Thanks, Som --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, sen

[Lift] Hudson error on basic archetype

2009-09-10 Thread Timothy Perrett
Guys, Appears the last commit broke the lift build with the following stack trace: Cheers, Tim [INFO] [INFO] Using following parameters for creating Archetype: lift- archetype-basic:1.1-SNAPSHOT [INFO] ---

[Lift] Re: Legacy database and column name with spaces

2009-09-10 Thread Jeppe Nejsum Madsen
Jean-Luc writes: > David, > > this setting is database specific, I suppose you want to make it > configurable for both "open" quote and "end" quote. JDBC has getIdentifierQuoteString, not sure how well supported this is in the various drivers. http://java.sun.com/j2se/1.5.0/docs/api/java/sql/