[Lift] Re: Scala 2.7.2 and documentation?

2008-11-17 Thread Marius
Tyler is there a way for me to sneaky see what you guys done so far? :) Br's, Marius On Nov 18, 2:50 am, TylerWeir <[EMAIL PROTECTED]> wrote: > Derek and I expect the first draft of ours in January 2009. > > On Nov 17, 7:01 pm, "Oscar Picasso" <[EMAIL PROTECTED]> wrote: > > > Two book? Wow! > >

[Lift] Re: Tracking Down a Memory Leak

2008-11-17 Thread Derek Chen-Becker
Off the top of my head, VisualVM (https://visualvm.dev.java.net/) may help you narrow it down a little. The profiler portion should be able to dump lots of memory info so you can see what is being allocated and by which objects. The Netbeans profiler is supposed to be pretty good, too, but I haven'

[Lift] Re: Scala 2.7.2 and documentation?

2008-11-17 Thread Derek Chen-Becker
I didn't realize someone else was writing one, but hey, the more the merrier :) Derek On Mon, Nov 17, 2008 at 5:01 PM, Oscar Picasso <[EMAIL PROTECTED]>wrote: > Two book? Wow! > > Any idea when they are expected? > > Oscar > > > On Mon, Nov 17, 2008 at 1:51 PM, David Pollak < > [EMAIL PROTECTED]

[Lift] Re: SHtml form inputs and attributes/labels

2008-11-17 Thread Derek Chen-Becker
For a really neat trick, how would I set the ID for a checkbox? The SHtml checkbox method returns a NodeSeq. I suppose I could just do a "map", but I was wondering if there was a simpler way. Thanks, Derek On Mon, Nov 17, 2008 at 4:54 PM, David Pollak <[EMAIL PROTECTED] > wrote: > > > On Mon, N

[Lift] Re: REST CRUD web service

2008-11-17 Thread Charles F. Munat
Yeah, I'm thinking Digest is the way I probably want to go. Sorry to hear that it's complicated. Do you have code anywhere that I could look at (just curious)? Chas. Tim Perrett wrote: > Hey Chas, > > I'm currently writing HTTP auth for lift, so watch this space :-) > > It's unfortunatly pre

[Lift] Re: REST CRUD web service

2008-11-17 Thread Tim Perrett
Hey Chas, I'm currently writing HTTP auth for lift, so watch this space :-) It's unfortunatly pretty complex, so is taking longer than I'd hoped. I'm impletmenting Basic and Digest auth; the latter being the most secure. Cheers, Tim Sent from my iPhone On 18 Nov 2008, at 02:21, "Charles F

[Lift] Tracking Down a Memory Leak

2008-11-17 Thread Matt Hopkins
We've had Lift app running in production for somewhere around 4 or 5 months now (nofouls.com). Development with lift was great, but in production we're having a problem. For the most part it's been OK, but around once a week (not on the week, sometimes after a day or so, sometimes after two week

[Lift] Re: REST CRUD web service

2008-11-17 Thread Charles F. Munat
Everything you need to know is here: http://www.oracle.com/technology/documentation/berkeley-db/xml/index.html It's an Apache Software License: http://www.oracle.com/technology/software/products/berkeley-db/htdocs/xmloslicense.html Happy to share notes as we go along. Are you connecting to db

[Lift] Re: REST CRUD web service

2008-11-17 Thread Erick Fleming
Chas, I'm not doing web services yet in my current project, but have plans to. I've been using db4o as my backend, but am interested in Berkley DB. Do you know what license it's under? The Oracle website just says Open Source. On Mon, Nov 17, 2008 at 8:21 PM, Charles F. Munat <[EMAIL PROTECTED

[Lift] REST CRUD web service

2008-11-17 Thread Charles F. Munat
One thing I'm working on is a two-part application that involves a Lift interface app and a REST CRUD back end. I plan to do the back end in Lift as well. One reason for the separation is that it allows me to build other front ends for the web service (a desktop app, something on the iPhone, a

[Lift] Re: Scala 2.7.2 and documentation?

2008-11-17 Thread TylerWeir
Derek and I expect the first draft of ours in January 2009. On Nov 17, 7:01 pm, "Oscar Picasso" <[EMAIL PROTECTED]> wrote: > Two book? Wow! > > Any idea when they are expected? > > Oscar > > On Mon, Nov 17, 2008 at 1:51 PM, David Pollak <[EMAIL PROTECTED] > > > wrote: > > > On Mon, Nov 17, 2008 a

[Lift] Re: Scala 2.7.2 and documentation?

2008-11-17 Thread Oscar Picasso
Two book? Wow! Any idea when they are expected? Oscar On Mon, Nov 17, 2008 at 1:51 PM, David Pollak <[EMAIL PROTECTED] > wrote: > > > On Mon, Nov 17, 2008 at 10:33 AM, tacobandit <[EMAIL PROTECTED]> wrote: > >> >> I noticed mvn pulled a new lift today and it seems it's still not >> working with

[Lift] Re: SHtml form inputs and attributes/labels

2008-11-17 Thread David Pollak
On Mon, Nov 17, 2008 at 3:41 PM, Charles F. Munat <[EMAIL PROTECTED]> wrote: > > Added: > > > http://liftweb.net/index.php/FAQ#How_do_I_add_attributes_to_form_fields_created_with_SHtml_methods.3F > Awesome! Thanks! > > Chas. > > Jorge Ortiz wrote: > > Oops, it might be: > > > > SHtml.text(user

[Lift] Re: SHtml form inputs and attributes/labels

2008-11-17 Thread Charles F. Munat
Added: http://liftweb.net/index.php/FAQ#How_do_I_add_attributes_to_form_fields_created_with_SHtml_methods.3F Chas. Jorge Ortiz wrote: > Oops, it might be: > > SHtml.text(user.name , user.name = _) % > ("size" -> "24") % > ("maxlength" -> "48") % > ("i

[Lift] Re: SHtml form inputs and attributes/labels

2008-11-17 Thread Charles F. Munat
This is the correct one. ("size -> "24") not ("size", "24"). Thanks! Chas. Jorge Ortiz wrote: > Oops, it might be: > > SHtml.text(user.name , user.name = _) % > ("size" -> "24") % > ("maxlength" -> "48") % > ("id" -> "user_name") % > ("title" -> "En

[Lift] Re: SHtml form inputs and attributes/labels

2008-11-17 Thread Charles F. Munat
That's a neat trick. I'll have to document that on the wiki. Thanks. Chas. Jorge Ortiz wrote: > Try: > > SHtml.text(user.name , user.name = _) % > ("size", "24") % > ("maxlength", "48") % > ("id", "user_name") % > ("title", "Enter your name") > > T

[Lift] Re: sites/example now errors after 2.7.2 update

2008-11-17 Thread David Pollak
Try blowing away your Maven repository. On Mon, Nov 17, 2008 at 2:22 PM, Tim Perrett <[EMAIL PROTECTED]> wrote: > > Hey guys, > > Just did: > > mvn clean package install scala:doc > > and then cd'd into sites/example and did: > > mvn jetty:run > > Upon hitting http://127.0.0.1:8080 I got: > > jav

[Lift] sites/example now errors after 2.7.2 update

2008-11-17 Thread Tim Perrett
Hey guys, Just did: mvn clean package install scala:doc and then cd'd into sites/example and did: mvn jetty:run Upon hitting http://127.0.0.1:8080 I got: java.lang.AbstractMethodError: net.liftweb.http.SessionMaster$.mailbox_ $eq(Lscala/actors/MessageQueue;)V at scala.actors.Actor$cl

[Lift] Re: TextileTestSpec failure with latest lift/scala 2.7.2

2008-11-17 Thread David Pollak
Weird. I spent a while this morning adding these tests and they do indeed pass on my machine. I'm trying a clean build (I just blew away my Maven repository) to see if I can reproduce the issue. On Mon, Nov 17, 2008 at 1:43 PM, Sebastien Bocq <[EMAIL PROTECTED]>wrote: > Hello, > > I could not

[Lift] TextileTestSpec failure with latest lift/scala 2.7.2

2008-11-17 Thread Sebastien Bocq
Hello, I could not wait and just pulled the latest version of lift for scala 2.7.2 but some tests fail in TextileTestSpec. It has issues with bullet lists, I placed the test report in attachment. I pulled lift from git like this: > cd liftweb > git pull (scala.version pom.xml is 2.7.2) > mvn clea

[Lift] Re: Scala 2.7.2 and documentation?

2008-11-17 Thread tacobandit
Thanks for the reply David, Looks like I got antsy just minutes before the 2.7.2 announcement, hehe. Didn't know about the books, that's great. I'll certainly be buying one even if I'm an expert by then if for no other reason to say thanks for developing such a an awesome free web framework. Than

[Lift] Re: SHtml form inputs and attributes/labels

2008-11-17 Thread Jorge Ortiz
Oops, it might be: SHtml.text(user.name, user.name = _) % ("size" -> "24") % ("maxlength" -> "48") % ("id" -> "user_name") % ("title" -> "Enter your name") One or both of those should work. --j On Mon, Nov 17, 2008 at 12:27 PM, Jorge Ortiz <[EMAIL PROTECTED]> wrote: > Try: > > SHtml.tex

[Lift] Re: SHtml form inputs and attributes/labels

2008-11-17 Thread Jorge Ortiz
Try: SHtml.text(user.name, user.name = _) % ("size", "24") % ("maxlength", "48") % ("id", "user_name") % ("title", "Enter your name") That should work. --j On Mon, Nov 17, 2008 at 12:21 PM, Charles F. Munat <[EMAIL PROTECTED]> wrote: > > I spend a lot of time writing % new UnprefixedAt

[Lift] Re: [ANN] Lift nightlies upgraded to Scala 2.7.2

2008-11-17 Thread Charles F. Munat
This is very exciting. Great job. Thanks! Chas. Jorge Ortiz wrote: > I've just upgraded Lift's trunk to work with the newest release of Scala > (2.7.2), Specs (1.4.0), and Scalacheck (1.5). These changes are > available in the source code immediately, and should be reflected in the > binaries

[Lift] SHtml form inputs and attributes/labels

2008-11-17 Thread Charles F. Munat
I spend a lot of time writing % new UnprefixedAttribute(...) to add attributes to SHtml form elements (input, textarea, select, etc.). It would be nice if the relevant SHtml methods would permit optional extra parameters in the form of tuples where contents are name-value pairs that get transl

[Lift] Re: [scala] [ANN] Lift nightlies upgraded to Scala 2.7.2

2008-11-17 Thread David Pollak
On Mon, Nov 17, 2008 at 10:58 AM, Jorge Ortiz <[EMAIL PROTECTED]> wrote: > I've just upgraded Lift's trunk to work with the newest release of Scala > (2.7.2), Specs (1.4.0), and Scalacheck (1.5). These changes are available in > the source code immediately, and should be reflected in the binaries

[Lift] Re: [scala] [ANN] Lift nightlies upgraded to Scala 2.7.2

2008-11-17 Thread Derek Chen-Becker
That's great! On Mon, Nov 17, 2008 at 12:00 PM, David Pollak < [EMAIL PROTECTED]> wrote: > > > On Mon, Nov 17, 2008 at 10:58 AM, Jorge Ortiz <[EMAIL PROTECTED]>wrote: > >> I've just upgraded Lift's trunk to work with the newest release of Scala >> (2.7.2), Specs (1.4.0), and Scalacheck (1.5). The

[Lift] [ANN] Lift nightlies upgraded to Scala 2.7.2

2008-11-17 Thread Jorge Ortiz
I've just upgraded Lift's trunk to work with the newest release of Scala (2.7.2), Specs (1.4.0), and Scalacheck (1.5). These changes are available in the source code immediately, and should be reflected in the binaries posted to http://scala-tools.org/repo-snapshots/ in about an hour or so. Use Lif

[Lift] Re: Scala 2.7.2 and documentation?

2008-11-17 Thread David Pollak
On Mon, Nov 17, 2008 at 10:33 AM, tacobandit <[EMAIL PROTECTED]> wrote: > > I noticed mvn pulled a new lift today and it seems it's still not > working with scala 2.7.2? I'm not worried about it or anything just > wondering if I'm doing something wrong since I think David Pollack > remarked that o

[Lift] Scala 2.7.2 and documentation?

2008-11-17 Thread tacobandit
I noticed mvn pulled a new lift today and it seems it's still not working with scala 2.7.2? I'm not worried about it or anything just wondering if I'm doing something wrong since I think David Pollack remarked that once 2.7.2 final was released lift would be immediately updated... Also, I'm wonde

[Lift] Re: I need to show all nested menus (drop down)

2008-11-17 Thread David Pollak
Ramzi, This is possible, but tricky with the current code. We're in the process of upgrading Lift to work with Scala 2.7.2 Once the switch-over happens (sometime this week), I'll code up some stuff in SiteMap to give you a complete menu. Thanks, David On Sat, Nov 15, 2008 at 1:36 PM, Ramzi BE

[Lift] Re: Confuddled by CometActor

2008-11-17 Thread David Pollak
On Mon, Nov 17, 2008 at 8:50 AM, Paul Butcher <[EMAIL PROTECTED]> wrote: > > On Nov 17, 4:28 pm, TylerWeir <[EMAIL PROTECTED]> wrote: > > The signature of CometActor changed from 0.9 to 0.10. > > Thanks Tyler. I thought that it might be something like that, but when > I checked the latest version

[Lift] Re: Confuddled by CometActor

2008-11-17 Thread Paul Butcher
On Nov 17, 4:56 pm, "David Bernard" <[EMAIL PROTECTED]> wrote: > strange, When you generate the war or the webapp which version (jar) > of lift is in the WEB-INF/lib ? Ah - just a thought. When I was getting started, I followed the instructions on this page: http://liftweb.com/index.php/Source_c

[Lift] Re: Confuddled by CometActor

2008-11-17 Thread Paul Butcher
On Nov 17, 4:56 pm, "David Bernard" <[EMAIL PROTECTED]> wrote: > strange, When you generate the war or the webapp which version (jar) > of lift is in the WEB-INF/lib ? Err - I'm not sure. How would I find that out? I've been running the app with: mvn jetty:run Which does create a war, but does

[Lift] Re: Confuddled by CometActor

2008-11-17 Thread Paul Butcher
On Nov 17, 4:41 pm, "David Bernard" <[EMAIL PROTECTED]> wrote: > maven doesn't pull automatically 0.10-SNAPSHOT if you create a project > with 0.9. Did you change the version of lift into your pom.xml ? Nope - haven't touched pom.xml. Here's the (I think!) relevant section: net.liftwe

[Lift] Re: Confuddled by CometActor

2008-11-17 Thread David Bernard
strange, When you generate the war or the webapp which version (jar) of lift is in the WEB-INF/lib ? On Mon, Nov 17, 2008 at 17:53, Paul Butcher <[EMAIL PROTECTED]> wrote: > > On Nov 17, 4:41 pm, "David Bernard" <[EMAIL PROTECTED]> > wrote: >> maven doesn't pull automatically 0.10-SNAPSHOT if you

[Lift] Re: Confuddled by CometActor

2008-11-17 Thread David Bernard
maven doesn't pull automatically 0.10-SNAPSHOT if you create a project with 0.9. Did you change the version of lift into your pom.xml ? On Mon, Nov 17, 2008 at 17:28, TylerWeir <[EMAIL PROTECTED]> wrote: > > The signature of CometActor changed from 0.9 to 0.10. > > You built an example applicatio

[Lift] Re: Confuddled by CometActor

2008-11-17 Thread Paul Butcher
On Nov 17, 4:28 pm, TylerWeir <[EMAIL PROTECTED]> wrote: > The signature of CometActor changed from 0.9 to 0.10. Thanks Tyler. I thought that it might be something like that, but when I checked the latest version of the examples in Git, they were still using the old style, so I discounted that po

[Lift] Re: Confuddled by CometActor

2008-11-17 Thread TylerWeir
The signature of CometActor changed from 0.9 to 0.10. You built an example application using Lift 0.9 but then Maven pulled the latest version with the new signature. The commit is here: http://github.com/dpp/liftweb/commit/5c561e490e0d6643666c5b4bb4103425e4d24381#diff-0 On Nov 17, 10:38 am, P

[Lift] Confuddled by CometActor

2008-11-17 Thread Paul Butcher
Disclaimer - I'm a complete Lift newbie, so please forgive any glaring oversights. I've been playing around with Lift, and in particular CometActor. Before trying to write my own, I thought that I'd get the example Clock actor working. So I created a blank archetype with: mvn archetype:create -U