[Lift] Re: Question about the Getting Started Guide

2009-09-30 Thread Indrajit Raychaudhuri
Great! The downloaded files are stored in ${user.home}/.m2/repository. ${user.home} is the standard Java environment variable that defaults to $HOME in *nix and $USERPROFILE in Windows. [1] Setting proxies and other environment stuff can be done via settings:

[Lift] Re: Error reporting when snippet method not found

2009-09-30 Thread Derek Chen-Becker
Can you open a ticket on this? Lift uses reflection to locate the methods unless you're using a DispatchSnippet (the preferred way to do it), so we can probably enumerate all methods on the class and see if there is a method with the same name but different args or return types when we fail to

[Lift] Re: Question about the Getting Started Guide

2009-09-30 Thread jlist9
Hello Indrajit and those who replied, thanks for all your help. Finally I got it working. It probably had something to do with the proxy in my work environment. BTW, do you know where maven stores those downloaded files? Tuesday, September 29, 2009, 10:49:20 PM, you wrote: Jack,

[Lift] Re: Question about the Getting Started Guide

2009-09-30 Thread yk
Right on there, Indrajit. I was playing with liftweb examples from http://github.com/dpp/liftweb/tree/dpp_wip_actorize and ran into similar hiccup. On Sep 30, 1:49 pm, Indrajit Raychaudhuri indraj...@gmail.com wrote: Jack, maven-jetty-plugin belongs to the group org.mortbay.jetty, not

[Lift] Re: Java 5 support?

2009-09-30 Thread Derek Chen-Becker
OK, here it is: http://reviewboard.liftweb.net/r/18/ Derek On Tue, Sep 29, 2009 at 10:10 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'll take a stab at it. I'm familiar with Dynamic Proxies but I've never implemented one before, so this would be a good experience. The only drawback

[Lift] Re: Can we deploy lift webapp on Google App Engine?

2009-09-30 Thread justss
Thanks all, you guys are genius!!! I'll soon get started on this... On Sep 30, 5:16 am, Randinn rand...@gmail.com wrote: Tryhttp://github.com/ymnk/lift-gae-jdofor a example, personally I don't care for the limited approach GEA gives you, but that's me On Sep 30, 9:22 am, Sury

[Lift] Re: Question about the Getting Started Guide

2009-09-30 Thread Chris Lewis
Maven stores artifacts in your local repository, which by default is in ~/.m2/repository. jli...@gmail.com wrote: Hello Indrajit and those who replied, thanks for all your help. Finally I got it working. It probably had something to do with the proxy in my work environment. BTW, do you

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Jonas Bonér
2009/9/30 Josh Suereth joshua.suer...@gmail.com: As much as I agree with your decision, it just makes me sad.   I know lots of people that learned scala for actors are the way of the future I think we need to push harder.  Hopefully all major projects migrating off actors will give EPFL a

[Lift] Re: selecting random rows from a table

2009-09-30 Thread Derek Chen-Becker
Hmmm. I have no idea how the distinct could possibly be getting in there since you're not using it as a QueryParam. Is that the exact code you're using for the findAll? Derek On Tue, Sep 29, 2009 at 1:20 PM, harryh har...@gmail.com wrote: Let's say I want 10 random users from a table In SQL I

[Lift] Re: Question about the Getting Started Guide

2009-09-30 Thread Derek Chen-Becker
If you want it stored somewhere else, you can edit your ~/.m2/settings.xml file and add the localRepository element. Here's mine: settings xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Derek Chen-Becker
I would vote for naming the new module lift-common and renaming lift-util to lift-webutil. It does mean some breakage but I think that it's a clearer naming. lift-util and lift-common are just too close for someone coming in new, IMHO. Derek On Wed, Sep 30, 2009 at 5:34 AM, Jonas Bonér

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Stuart Roebuck
As someone coming in new I +1 to Derek’s vote. Stuart. On 30 Sep 2009, at 14:03, Derek Chen-Becker wrote: I would vote for naming the new module lift-common and renaming lift- util to lift-webutil. It does mean some breakage but I think that it's a clearer naming. lift-util and

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Timothy Perrett
Sounds like a fair trade off +1 On 30 Sep 2009, at 14:15, Stuart Roebuck wrote: As someone coming in new I +1 to Derek’s vote. Stuart. On 30 Sep 2009, at 14:03, Derek Chen-Becker wrote: I would vote for naming the new module lift-common and renaming lift- util to lift-webutil. It

[Lift] Re: Concurrent Web Service Requests?

2009-09-30 Thread Kevin Wright
I thought there were issues here because anything starting lift: gets executed as a snippet. I'm still for an eval: prefix, as these proposals all relate to how a page is evaluated. On Wed, Sep 30, 2009 at 5:34 AM, marius d. marius.dan...@gmail.com wrote: lift is already a reserved prefix

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Heiko Seeberger
+1 2009/9/30 Derek Chen-Becker dchenbec...@gmail.com I would vote for naming the new module lift-common and renaming lift-util to lift-webutil. It does mean some breakage but I think that it's a clearer naming. lift-util and lift-common are just too close for someone coming in new, IMHO.

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Viktor Klang
Aye +1 On Wed, Sep 30, 2009 at 3:27 PM, Heiko Seeberger heiko.seeber...@googlemail.com wrote: +1 2009/9/30 Derek Chen-Becker dchenbec...@gmail.com I would vote for naming the new module lift-common and renaming lift-util to lift-webutil. It does mean some breakage but I think that it's a

[Lift] Best way to create master/detail with CRUDify?

2009-09-30 Thread Jeppe Nejsum Madsen
Hi, I need to create some master/detail crud screens and was thinking if the existing CRUDify trait can be massaged into doing the right thing. Basically, when navigating to e.g. orders/edit/1 I'm editing order with id 1. On this screen I need to list order lines for this order, ie.

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread David Bernard
my salt (I don't like lift-common, common of what ? ) If you don't want to move actors, box... to lift-util (xml utilities,... aren't only for web) As actor and box are language extension, I suggest lift-lang, lift-langplus, liftx, lift-scalax ;) /davidB On Wed, Sep 30, 2009 at 15:29, Viktor

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread David Bernard
But my opinion == 0, I not a lift's user, but I see lot of case where some lift lib could be used without working on a webapp. On Wed, Sep 30, 2009 at 15:37, David Bernard david.bernard...@gmail.com wrote: my salt (I don't like lift-common, common of what ? ) If you don't want to move actors,

[Lift] Re: Question about the Getting Started Guide

2009-09-30 Thread Indrajit Raychaudhuri
Derek, Very nice trick indeed! Cheers, Indrajit On 30/09/09 6:28 PM, Derek Chen-Becker wrote: If you want it stored somewhere else, you can edit your ~/.m2/settings.xml file and add the localRepository element. Here's mine: settings xmlns=http://maven.apache.org/POM/4.0.0;

[Lift] Re: Question about the Getting Started Guide

2009-09-30 Thread Derek Chen-Becker
I learned it the hard way when my incremental backups went from 1-2MB to 700MB :P On Wed, Sep 30, 2009 at 7:44 AM, Indrajit Raychaudhuri indraj...@gmail.comwrote: Derek, Very nice trick indeed! Cheers, Indrajit On 30/09/09 6:28 PM, Derek Chen-Becker wrote: If you want it stored

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Indrajit Raychaudhuri
Nice to see the intent to withstand little breakage for the right reason! I am +0 on lift-common. It possibly doesn't mean much, but the only reason I proposed it as an option is because most people with exposure to Java projects have encountered jakarta-common and in some sense have *-common

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Naftoli Gugenheim
lift-webutil is very a good name. It conveys exactly what the module is. But why not leave non-web-related functionality in lift-util? lift-util vs. lift-webutil seems very unambiguous. - Indrajit Raychaudhuriindraj...@gmail.com wrote: Nice to see the

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread martin
About actors in Scala 2.8: . they have been refactored substantially compared to what's in the 2.7.x branch . Philipp has sent mails about this to scala-internals (05/31) . Philipp has invited DPP to look at the refactorings in 2.8 (07/21) to which he responded positively. . The

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Bill Venners
Hi Jonas, Can you list what the things Akka implements now are that Scala actors don't have? Thanks. Bill On Wed, Sep 30, 2009 at 4:34 AM, Jonas Bonér jbo...@gmail.com wrote: 2009/9/30 Josh Suereth joshua.suer...@gmail.com: As much as I agree with your decision, it just makes me sad.   I

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Jonas Bonér
Hi Bill. Here is a list of the things that Akka currently does (and that are not in Scala Actors) and what I see needed in a production actor based system (not all in all projects though). Transactors: Marriage of Actors and STM. Allows, ACI (Atomic, Consistent Isolated) compositional message

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Jonas Bonér
Also, its pretty well documented. Read more here: http://akkasource.org/ We need feedback so please let me know what you think. 2009/9/30 Jonas Bonér jbo...@gmail.com: Hi Bill. Here is a list of the things that Akka currently does (and that are not in Scala Actors) and what I see needed in a

[Lift] Re: Help with using JSExp and JsCmd traits

2009-09-30 Thread David Pollak
On Tue, Sep 29, 2009 at 1:22 PM, glenn gl...@exmbly.com wrote: 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

[Lift] Re: Removing Scala Actors from Lift

2009-09-30 Thread Jonas Bonér
Hi Martin and Philipp. Thanks for your email. What you are saying sounds great. I love Scala Actors and I know its an important thing that brings people over to Scala. I hope that I didn't offend you. You have done amazing things with and for Scala. I really respect you guys. But I saw and

[Lift] Re: Help with using JSExp and JsCmd traits

2009-09-30 Thread David Pollak
On Wed, Sep 30, 2009 at 11:36 AM, glenn gl...@exmbly.com wrote: David, I can't do this, AnonFunc(JqId(item-save) JqEmptyAfter (divthis.id was toggled/div)) , if that's what you mean. That's not what I wrote. Please look again at the curly braces around the this.id:

[Lift] Change net.liftweb.mapper.ByList to take a Seq[T] instead of a List[T]?

2009-09-30 Thread harryh
Subject says it all. Is there any reason why this should not be done? -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

[Lift] Re: Help with using JSExp and JsCmd traits

2009-09-30 Thread glenn
David, The problem with writting the NodeSeq as div{this.id} was toggled/ div) is that it generates the following JavaScript: function() {jQuery('#'+item-save).empty().after(div-1 was toggled/div); that is, Lift evaluates {this.id} in relation to the snippet, then outputs the value in the

[Lift] Re: Help with using JSExp and JsCmd traits

2009-09-30 Thread David Pollak
On Wed, Sep 30, 2009 at 1:08 PM, glenn gl...@exmbly.com wrote: David, The problem with writting the NodeSeq as div{this.id} was toggled/ div) is that it generates the following JavaScript: function() {jQuery('#'+item-save).empty().after(div-1 was toggled/div); that is, Lift evaluates

[Lift] Re: Change net.liftweb.mapper.ByList to take a Seq[T] instead of a List[T]?

2009-09-30 Thread harryh
We're going to have to turn it into a List under the covers anyway, so it's a performance wash. Taking a look at the code it does no appear to be the case that it will have to be turned into a List under the covers. It's just mapped over and then mkStringed. -harryh

[Lift] Re: Concurrent Web Service Requests?

2009-09-30 Thread marius d.
On Sep 30, 8:23 am, Kevin Wright kev.lee.wri...@googlemail.com wrote: I thought there were issues here because anything starting lift: gets executed as a snippet. Correct BUT lift:par or lift:parallel attributes are also applicable to snippets context. They determine the snippet's execution

[Lift] Re: Concurrent Web Service Requests?

2009-09-30 Thread Naftoli Gugenheim
Could you elaborate on why adding a new prefix may not be a good idea? And is it better or worse than having it unprefixed? - marius d.marius.dan...@gmail.com wrote: On Sep 30, 8:23 am, Kevin Wright kev.lee.wri...@googlemail.com wrote: I thought there

[Lift] Re: Concurrent Web Service Requests?

2009-09-30 Thread marius d.
It has been debated many times in slightly different contexts. To me it is more about clarity. We add a new prefix now, tomorrow add another one and so on. People would have to remember what goes where and mix things up. To me lift prefix is enough and quite clear. It is more than just s snippet

[Lift] JE Abstractions

2009-09-30 Thread sunanda
Hi, Can any one provide a simple example to explain how to use JE abstractions (Call,JsFunc) in lift code . I am new to Lift Framework Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to

[Lift] Re: Concurrent Web Service Requests?

2009-09-30 Thread Naftoli Gugenheim
I think everyone agrees in concept, that an arbitrary prefix sets a bad precendent, which is why it is no longer do:par. But on the other hand, if the part after lift: is either a reserved word or a user word--a snippet name--then the more reserved words, the more you limit snippet names.

[Lift] json extraction problem

2009-09-30 Thread Lincoln
Hi, I've been playing around with lift-json and I keep running into basic problems. I'm hoping someone can point out my mistake. I'm using net.liftweb % lift-json % 1.1-M5 Here's the code I'm trying to run: implicit val formats = net.liftweb.json.DefaultFormats case class Name(first: String,