[Lift] Re: A Critique On Lift

2009-10-22 Thread ngocdaothanh
jlist9, This is a Lift group, but I have to say I feel the same about Scala. I had to ask for advice here: http://groups.google.com/group/liftweb/browse_thread/thread/a588f997af842f93/60c378bb36d26030 Scala may help me to get my work done for the day. But I don't feel happy with Scala. Scala

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread Jonathan Ferguson
You're right, my bad - an old pom was looking at the wrong repo, all happy now. Cheers Jono 2009/10/22 David Pollak feeder.of.the.be...@gmail.com On Wed, Oct 21, 2009 at 10:27 PM, Jonathan Ferguson j...@spiralarm.comwrote: Do we need to update our pom's or should it be code changes only ?

[Lift] Re: How do I pass information between a Comet Actor and a StatefulSnippet ?

2009-10-22 Thread Jonathan Ferguson
2009/10/22 David Pollak feeder.of.the.be...@gmail.com On Wed, Oct 21, 2009 at 8:46 PM, Jonathan Ferguson j...@spiralarm.comwrote: I have a StatefulSnippet that uses a CometActor to keep users informed when performing a lengthy task, much like the example on the demo site (

[Lift] Re: A Critique On Lift

2009-10-22 Thread TylerWeir
On Oct 22, 2:02 am, ngocdaothanh ngocdaoth...@gmail.com wrote: jlist9, This is a Lift group, but I have to say I feel the same about Scala. I had to ask for advice here:http://groups.google.com/group/liftweb/browse_thread/thread/a588f997a... Scala may help me to get my work done for the

[Lift] Re: A Critique On Lift

2009-10-22 Thread Viktor Klang
Programming is not a simple task, that's why we haven't been replaced by machines. Scala is a _very_ powerful language, and it _is_ a challenge to harness that power in addition to other languagues you have harnessed. However, I do not feel that Scala has much non-explainable complexity, as is

[Lift] Re: A Critique On Lift

2009-10-22 Thread Timothy Perrett
Guys, Im confused - Scala is not Java. This my friends, is a very good thing. You cant expect to start a language and be able to use all the advanced features right away I doubt you were a meta-programming ninja when learning ruby! Getting back on topic, I read the original link and

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread soumik
Hi, I've a few question regarding the changes made. - Firstly, with the changes made, how do I have a method which can now accept both scala Actor as well as a CometActor?? Prior to the changes, I had a function def registerActor(act: Actor) which could handle both scala Actor as well as

[Lift] Re: A Critique On Lift

2009-10-22 Thread ngocdaothanh
Because Lift's ad is so good. For example: Lift is the only new framework in the last four years to offer fresh and innovative approaches to web development. It's not just some incremental improvements over the status quo, it redefines the state of the art. If you are a web developer, you should

[Lift] Re: A Critique On Lift

2009-10-22 Thread Marius
+1 Tim Viktor. Many people with this sort of background and Java web frameworks too find difficult to accept that we don't do MVC. Also they find difficult to accepts XML in Scala Snippets. When I presented Scala Lift at Transylvania JUG I got the same concerns ... What? ... markup in Scala

[Lift] Re: Can't add model

2009-10-22 Thread Jeppe Nejsum Madsen
David Pollak feeder.of.the.be...@gmail.com writes: On Wed, Oct 21, 2009 at 10:27 PM, Rahul Somasunderam rahul@gmail.comwrote: I followed the guide here: http://liftweb.net/docs/getting_started/mod_master.html I'm unable to add the model ToDo. When I try to add it, I get a

[Lift] Fwd: Build failed in Hudson: Lift #1307

2009-10-22 Thread David Pollak
Anyone have a clue as to why the JTA stuff in Lift is unstable on Hudson? -- Forwarded message -- From: ad...@scala-tools.org Date: Thu, Oct 22, 2009 at 2:28 AM Subject: Build failed in Hudson: Lift #1307 See http://hudson.scala-tools.org/job/Lift/1307/changes Changes: [David

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread george
- Secondly, I also get compilation error for calling scheduleAtFixedRate method on ActorPing. Says no such method. Has this method been deprecated and if so, what is the method I should be calling instead? I have this problem also. --~--~-~--~~~---~--~~ You

[Lift] Submitting a form and returning results

2009-10-22 Thread ben
Hi, I'm having trouble working out how to do a really simple thing - submit a form and return some results. Imagine a simple page that took a name of a person to search for, and displayed a list of people matching that name. I've put together a dummy example to show you what I've tried : So the

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread Viktor Klang
DPP (and I) recommend just doing schedule and then re-schedule after message recieved. schedule(actor,MyMsg(),3 seconds) in the actor { case MyMsg() = { doMyStuff schedule(this,MyMsg(),3 seconds) } } Makes sense? On Thu,

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread Timothy Perrett
Guys,   Prior to the changes, I had a function def registerActor(act: Actor) which could handle both scala Actor as well as CometActor,; now if I change this to def registerActor(act: GenericActor) it throws compilation error asking to a type to be specified for the GenericActor. What

[Lift] Re: Fwd: Build failed in Hudson: Lift #1307

2009-10-22 Thread Timothy Perrett
Hmm how strange - it builds fine locally? Cheers, Tim On Oct 22, 10:56 am, David Pollak feeder.of.the.be...@gmail.com wrote: Anyone have a clue as to why the JTA stuff in Lift is unstable on Hudson? -- Forwarded message -- From: ad...@scala-tools.org Date: Thu, Oct 22,

[Lift] Re: A Critique On Lift

2009-10-22 Thread Timothy Perrett
Well said that man! Couldn't agree more with this statement. Cheers, Tim On Oct 22, 9:43 am, Marius marius.dan...@gmail.com wrote: I accept that many people think that MVC is the Holly Grail, but I don't believe that ... and I think most people really using Lift don't believe that either.

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread george
ok so.. object LocalSmtp extends Actor should become object LocalSmtp extends GenericActor[LocalSmtp] ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

[Lift] Newbie question: action beforeSave data

2009-10-22 Thread wibblecp
Hi all, this is my first post, but I read you always, so I apologize if it appear so simple. I am tasting this sensational web framework. I'll try to explain using a simple and basic example. Consider a post mapper model with a mappedString object named permalink I'd like to set this db field

[Lift] Re: A Critique On Lift

2009-10-22 Thread tiro
override def validations = validPriority _ :: super.validations funny, I had stumbled on exactly the same line of code when beginning. Took me more than a day to understand what's going on. Especially because when you copied code from the PDF version of the Liftbook/Lift getting started guide,

[Lift] Re: A Critique On Lift

2009-10-22 Thread Timothy Perrett
I think this is a bit of a running joke in the scala comunity right now - your right, underscore really does have a number of meanings; I think this will be changed in some future Scala release. Your also forgetting: import some.package._ Cheers, Tim On 22 Oct 2009, at 12:57, tiro wrote:

[Lift] New update changed something?

2009-10-22 Thread caw1461
So I was running everything for my program fine last night. Got on this morning, updated scala when compiling and I am getting a lot of: error: not found: value Box error: value map is not a member error: value openOr is not a member of Nothing etc. Was there a big update changing a bunch of

[Lift] Re: New update changed something?

2009-10-22 Thread TylerWeir
Umm, http://groups.google.com/group/liftweb/t/824f14038bedf425?hl=en On Oct 22, 9:55 am, caw1461 caw1...@gmail.com wrote: So I was running everything for my program fine last night.  Got on this morning, updated scala when compiling and I am getting a lot of: error: not found: value Box

[Lift] Re: Trouble With JPA Book Example

2009-10-22 Thread Derek Chen-Becker
Are you using OpenJDK by any chance? IIRC the YUI compressor doesn't like it. Derek On Wed, Oct 21, 2009 at 6:58 PM, AndyM andrewdm...@gmail.com wrote: Sorry about the spam. I was using 2.75 not 2.7.5.. Feel free to delete the above posts. More errors though. spa builds fine, web does

[Lift] Re: Dynamic radio button

2009-10-22 Thread Derek Chen-Becker
I don't quite understand what you're trying to do. Could you give some more details? Are you trying to add more radios to an existing radio button set? On Wed, Oct 21, 2009 at 8:45 PM, sunanda sunanda.pa...@gmail.com wrote: Hi, I need to add radio button dynamically with one of the button

[Lift] Re: Submitting a form and returning results

2009-10-22 Thread Thiébaut Champenier
Hi ben, def doBind(form: NodeSeq) = { bind(peopleSearch, form, nameToSearchFor - search.nameToSearchFor.toForm, submit - submit(Search For People, performSearch), searchResults - renderResults(search) ) } You’re relying on the order of execution in

[Lift] Re: Fwd: Build failed in Hudson: Lift #1307

2009-10-22 Thread Derek Chen-Becker
It builds for me locally... On Thu, Oct 22, 2009 at 5:25 AM, Timothy Perrett timo...@getintheloop.euwrote: Hmm how strange - it builds fine locally? Cheers, Tim On Oct 22, 10:56 am, David Pollak feeder.of.the.be...@gmail.com wrote: Anyone have a clue as to why the JTA stuff in Lift is

[Lift] Re: Fwd: Build failed in Hudson: Lift #1307

2009-10-22 Thread Derek Chen-Becker
This is really odd. The 1.1 ScalaJPA doesn't have a def for getUnitName, that was added in 1.2-SNAPSHOT. The pom for lift-jta is specifying ScalaJPA 1.1, so I wonder if somehow a 1.2-SNAPSHOT jar is getting used instead. I'm going to remove the scalajpa stuff from ~hudson/.m2/repository on lion

[Lift] Re: Newbie question: action beforeSave data

2009-10-22 Thread wibblecp
Ok, I am sorry for my previous rubbish I solved the issue using vars in my Snippet and passing them to my Post instance to validate and save. regards, wibble On 22 Ott, 14:26, wibblecp wibbl...@gmail.com wrote: Hi all, this is my first post, but I read you always, so I apologize if it

[Lift] Re: Fwd: Build failed in Hudson: Lift #1307

2009-10-22 Thread Indrajit Raychaudhuri
Same ocassional failure locally for me too. In fact, it mostly fails unless I am having a lucky day :) I keep getting confused about this and eventually get tempted to disable jta during build. FWIW, I am mostly on Leopard with Maven 2.2.1. Java 1.5 or 1.6 doesn't appear to make any

[Lift] Re: Fwd: Build failed in Hudson: Lift #1307

2009-10-22 Thread Indrajit Raychaudhuri
Nice find. Never had the patience to dig. Thanks! - Indrajit On 22/10/09 8:38 PM, Derek Chen-Becker wrote: I can verify that the JAR on lion doesn't have the getUnitName def: de...@lion:/home/scalatools/hudson/.m2/repository/org/scala-libs/scalajpa/1.1$ javap -private -classpath

[Lift] Re: New update changed something?

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 7:03 AM, TylerWeir tyler.w...@gmail.com wrote: Umm, http://groups.google.com/group/liftweb/t/824f14038bedf425?hl=en Any way to make this sticky? On Oct 22, 9:55 am, caw1461 caw1...@gmail.com wrote: So I was running everything for my program fine last night. Got

[Lift] Re: New update changed something?

2009-10-22 Thread Timothy Perrett
Sure, just go to options on the web interface at the top of the thread and as moderator you should see a whole bunch of options. Cheers, Tim On 22 Oct 2009, at 16:22, David Pollak wrote: On Thu, Oct 22, 2009 at 7:03 AM, TylerWeir tyler.w...@gmail.com wrote: Umm,

[Lift] Weird request/transaction semantics

2009-10-22 Thread Jeppe Nejsum Madsen
Hi, I posted this in another thread, but it may have been lost in the noise (or no one cared :-) Anyway, I have S.addAround(DB.buildLoanWrapper) in boot, which I assumed would wrap each request with a transaction and thus use the same connection for the duration of the request? I've added

[Lift] Re: A Critique On Lift

2009-10-22 Thread jlist9
Yes. Typically one will only see a couple of Java-y Scala samples in the tutorials to show that you can write Scala the Java way to encourage Java developers to pick up Scala. However, in any real world applications and libraries you'll only see Scala-y Scala and that's where the disconnect is.

[Lift] Re: A Critique On Lift

2009-10-22 Thread David Pollak
I've drafted a couple of different versions of a response to this message and they all seem somewhat mean and/or condescending... that is not at all my intent... here's another draft and please read it as acknowledging the challenges you are articulating, but suggesting a different perspective on

[Lift] Re: S.deleteCookie broken in M6

2009-10-22 Thread David Pollak
File a ticket. It's Harry's tickets day for me today. The more you file, the more that get fixed. On Thu, Oct 22, 2009 at 9:03 AM, harryh har...@gmail.com wrote: S.deleteCookie appears to be broken in M6. I'm using ProtoExtendedSession to keep extended session state, and when I logout

[Lift] Re: S.deleteCookie broken in M6

2009-10-22 Thread harryh
File a ticket. Done  It's Harry's tickets day for me today.  The more you file, the more that get fixed. Oh my. That's really quite something there. -harryh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift

[Lift] Re: Weird request/transaction semantics

2009-10-22 Thread David Pollak
There are a couple of things happening. First, there are at least 2 distinct times when we initialize the S context during a request handling cycle: - During the rewrite phase (if there's a session cookie) - During the substantive processing phase - If there's a cometactor on the page, S

[Lift] Re: New update changed something?

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 8:29 AM, Timothy Perrett timo...@getintheloop.euwrote: Sure, just go to options on the web interface at the top of the thread and as moderator you should see a whole bunch of options. I'm not seeing a make sticky option. I may be blind or stupid or both. Maybe Tyler

[Lift] Cannot build our lift app. Is net.liftweb.util OK?

2009-10-22 Thread Dano
Hello Lifters, After doing my morning build (mvn -U clean install), I am getting a huge number of errors mostly related to net.liftweb.util (see below). We are building against 1.1-SNAPSHOT. Is anyone else having this problem? Thanks in advance. Dan [INFO] Compiling 113 source files to

[Lift] Re: A Critique On Lift

2009-10-22 Thread Timothy Perrett
David, I think your response was well measured and appropriate. The analogy of linguistics is a good one :-) Without wanting to diverge this thread, can I ask why it is your unhappy with Record? Its been fairly fun to use so far and appears to work well. Cheers, Tim On 22 Oct 2009, at

[Lift] Re: Cannot build our lift app. Is net.liftweb.util OK?

2009-10-22 Thread Dano
I see that there is a similar issue posted against the thread New update changed something?. I will monitor the progress of that thread as well. Dan On Oct 22, 9:16 am, Dano olearydani...@gmail.com wrote: Hello Lifters, After doing my morning build (mvn -U clean install), I am getting a

[Lift] Re: Review Request: Enhance Msgs snippet to optionally show all messages

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 12:58 AM, Heiko Seeberger heiko.seeber...@googlemail.com wrote: On 2009-10-21 13:17:36.007575, Marius Danciu wrote: The fix looks correct for this feature, but I'm not convinced that this proposed feature is the right approach. If a page contains both msg and msgs

[Lift] Re: A Critique On Lift

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 9:18 AM, Timothy Perrett timo...@getintheloop.euwrote: David, I think your response was well measured and appropriate. The analogy of linguistics is a good one :-) Without wanting to diverge this thread, can I ask why it is your unhappy with Record? Its been fairly

[Lift] Re: S.deleteCookie broken in M6

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 9:07 AM, harryh har...@gmail.com wrote: File a ticket. Done It's Harry's tickets day for me today. The more you file, the more that get fixed. Oh my. That's really quite something there. And for all of you who want to see what's on my Lift (or ESME) plate:

[Lift] One minor exception to the no-RTFM rule

2009-10-22 Thread David Pollak
Folks, We've got a solid rule in Lift-land which is we don't respond with RTFM. Why? Because we want to encourage people to ask questions. There's one exception to that rule that I'll make now. If your code suddenly breaks (we do make breaking changes to Lift from time to time), please at

[Lift] Re: New update changed something?

2009-10-22 Thread TylerWeir
Sorry, just saw this, stickied. On Oct 22, 12:14 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Oct 22, 2009 at 8:29 AM, Timothy Perrett timo...@getintheloop.euwrote: Sure, just go to options on the web interface at the top of the thread and as moderator you should see a

[Lift] Re: New update changed something?

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 9:38 AM, TylerWeir tyler.w...@gmail.com wrote: Sorry, just saw this, stickied. TNX On Oct 22, 12:14 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Oct 22, 2009 at 8:29 AM, Timothy Perrett timo...@getintheloop.eu wrote: Sure, just go to

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread Dano
It would be good to have an example like George's verified as it is not clear how to convert our Actor code. Dan On Oct 22, 4:48 am, george geo...@mattandgeorge.com wrote: ok so.. object LocalSmtp extends Actor should become object LocalSmtp extends GenericActor[LocalSmtp] ?

[Lift] Re: javascript with an ajaxbutton

2009-10-22 Thread caw1461
I don't think i can pull a small example from here because I'm combining my lack of knowledge in scala, lift, html, jquery, tinyMCE ... you get the idea. The point is that I am trying to create a button that calls a scala function and a javascript function. I am currently trying to use an

[Lift] Re: A Critique On Lift

2009-10-22 Thread Timothy Perrett
Right, no one likes mutable anything :-) I kinda wondered why you haven't pushed forward any more with the current record implementation... can one assume that is why - because it didn't feel right? Some of this stuff is going to be fundamental to how we move forward - id love to perhaps

[Lift] Re: A Critique On Lift

2009-10-22 Thread Jim Barrows
On Thu, Oct 22, 2009 at 9:22 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Oct 22, 2009 at 9:18 AM, Timothy Perrett timo...@getintheloop.euwrote: David, I think your response was well measured and appropriate. The analogy of linguistics is a good one :-) Without

[Lift] Security Explained

2009-10-22 Thread aw
My company is looking for an explanation of how Lift is secure. I recall reading a comment saying that Lift deals well with most of the Top 10 OWASP vulnerabilities (http://www.owasp.org/index.php/ Top_10_2007), but how? Most, not all? Are there strategies that are recommended to deal with the

[Lift] Re: A Critique On Lift

2009-10-22 Thread Raoul Duke
hi, i take issue with the following: misunderstood. They are NOT controllers .. they are simple constructs to allow dynamic markup to be injected in the template. Of course one can abuse anything in any framework but this is besides the point. my personal take is that if you are a

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread Dano
I did a quick check in the lift sources and could not find example or test code for the new LiftActors. Perhaps additions to these areas would help those that are trying to convert their Actor code. Thanks in advance for any help for those still struggling to make the conversion. Dan On Oct

[Lift] Re: Security Explained

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 10:49 AM, aw anth...@whitford.com wrote: My company is looking for an explanation of how Lift is secure. I recall reading a comment saying that Lift deals well with most of the Top 10 OWASP vulnerabilities (http://www.owasp.org/index.php/ Top_10_2007

[Lift] SLF4J Logging for my classes

2009-10-22 Thread aw
I am using SLF4J logging, but I am not sure if I am doing it the right way... I have pointed Lift to use SLF4J, and I call the enable routine and have updated dependencies. All of that seems fine. My question is around, how do my classes best use it... For example, I am generally doing

[Lift] **Important** Migration guide Scala Actors - Lift Actors

2009-10-22 Thread David Pollak
Folks, I wrote a quick blog piece about migrating from Scala Actors to Lift Actors at http://blog.lostlake.org/index.php?/archives/96-Migrating-from-Scala-Actors-to-Lift-Actors.html I hope this addresses questions that folks on the list have about the affirmative steps they need to take to make

[Lift] Re: Weird request/transaction semantics

2009-10-22 Thread Jeppe Nejsum Madsen
On Thu, Oct 22, 2009 at 6:12 PM, David Pollak feeder.of.the.be...@gmail.com wrote: There are a couple of things happening. First, there are at least 2 distinct times when we initialize the S context during a request handling cycle: During the rewrite phase (if there's a session cookie)

[Lift] Re: **Important** Migration guide Scala Actors - Lift Actors

2009-10-22 Thread TylerWeir
Stickied for now, until we think it's no longer an issue. On Oct 22, 2:57 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I wrote a quick blog piece about migrating from Scala Actors to Lift Actors athttp://blog.lostlake.org/index.php?/archives/96-Migrating-from-Scala-... I

[Lift] Re: Weird request/transaction semantics

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 12:06 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: On Thu, Oct 22, 2009 at 6:12 PM, David Pollak feeder.of.the.be...@gmail.com wrote: There are a couple of things happening. First, there are at least 2 distinct times when we initialize the S context during a

[Lift] Re: SLF4J Logging for my classes

2009-10-22 Thread Jeppe Nejsum Madsen
aw anth...@whitford.com writes: I am using SLF4J logging, but I am not sure if I am doing it the right way... I have pointed Lift to use SLF4J, and I call the enable routine and have updated dependencies. All of that seems fine. My question is around, how do my classes best use it...

[Lift] Re: How do I pass information between a Comet Actor and a StatefulSnippet ?

2009-10-22 Thread David Pollak
On Wed, Oct 21, 2009 at 10:59 PM, Jonathan Ferguson j...@spiralarm.comwrote: 2009/10/22 David Pollak feeder.of.the.be...@gmail.com On Wed, Oct 21, 2009 at 8:46 PM, Jonathan Ferguson j...@spiralarm.comwrote: I have a StatefulSnippet that uses a CometActor to keep users informed when

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread Dano
Code for our app now compiles. Needed to replace Actor with LiftActor. Also, needed to define the messageHandler partial function. So, George, I think the answer to your question is: object LocalSmtp extends Actor becomes object LocalSmtp extends LiftActor Dan On Oct 22, 11:19 am, Dano

[Lift] Re: **Important** Migration guide Scala Actors - Lift Actors

2009-10-22 Thread Dano
Thanks to David for the migration guide. It is very useful. Victor Klang had raised the issue of rescheduling the actor in the message handling function (see below). I did not see a reference to this in the migration guide. Is it still necessary? Thanks in advance. Dan Text from Victor

[Lift] Re: javascript with an ajaxbutton

2009-10-22 Thread Marius
I'm sorry that I haven't had the time to try it out myself yet. If you want the scala function to be called via an Ajax request and after that the Scala function returns the Javascript that calls your JS function, your code looks correct to me. I used this pattern quite a bit with no problems.

[Lift] Re: **Important** Migration guide Scala Actors - Lift Actors

2009-10-22 Thread Marius
Just Simple Beautiful ! ... Nice work Dave and Jonas. Br's, Marius On Oct 22, 9:57 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I wrote a quick blog piece about migrating from Scala Actors to Lift Actors

[Lift] Re: A Critique On Lift

2009-10-22 Thread jlist9
Hi David, Appreciate your reply. It's definitely helpful in clearing some of my thoughts, as well as in my process of learning Scala down the road. I also think your book is very well paced and organization of the content is well thought out. Great job! I'd like to explain a little bit where my

[Lift] Re: A Critique On Lift

2009-10-22 Thread Jim Barrows
On Thu, Oct 22, 2009 at 1:29 PM, jlist9 jli...@gmail.com wrote: Hi David, Appreciate your reply. It's definitely helpful in clearing some of my thoughts, as well as in my process of learning Scala down the road. I also think your book is very well paced and organization of the content is

[Lift] Re: A Critique On Lift

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 1:29 PM, jlist9 jli...@gmail.com wrote: Hi David, Appreciate your reply. It's definitely helpful in clearing some of my thoughts, as well as in my process of learning Scala down the road. I also think your book is very well paced and organization of the content is

[Lift] catch a URL

2009-10-22 Thread Chris Lewis
Hi list, I'm working on an appengine app, and need to store some user information. I authenticate the user with their google account, and I need to create their local entity only if it's their first time logging in. When a user logs in via google, they are redirected back to your app, to a

[Lift] Re: A Critique On Lift

2009-10-22 Thread jlist9
Perl's motto is There is more then one way to do it. I remember reading somewhere that part of the the design goal of Perl 6 was to make the language more sane. That says it all. For scripting language, I'd stick to Python, whose syntax feels natural to me, and to stay sane as much as I can.

[Lift] Re: A Critique On Lift

2009-10-22 Thread Jim Barrows
On Thu, Oct 22, 2009 at 2:27 PM, jlist9 jli...@gmail.com wrote: Perl's motto is There is more then one way to do it. I remember reading somewhere that part of the the design goal of Perl 6 was to make the language more sane. That says it all. For scripting language, I'd stick to Python,

[Lift] Re: Dynamic radio button

2009-10-22 Thread sunanda
Hi Derek, I am displaying the contents of a table in ReadOnly mode as follows. The sample code is given below table tr td bDisplay Name/b/td td{coldef.displayname}/td /tr tr tdbRequire Cookies for Link/b /td td

[Lift] Re: A Critique On Lift

2009-10-22 Thread Ross Mellgren
Personally I think that Python is great for small simple things, but as soon as you start to scale the lack of statically checked guarantees starts to bite you. The larger and larger you get the more often and more subtle the bites get. Conversely, with a rigorous statically checked

[Lift] Re: One minor exception to the no-RTFM rule

2009-10-22 Thread Randinn
Hehe, Yes, I've noticed quite a few of those, you might want to post that on the groups main page. On Oct 23, 3:33 am, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, We've got a solid rule in Lift-land which is we don't respond with RTFM.  Why?  Because we want to encourage people

[Lift] Re: How do I pass information between a Comet Actor and a StatefulSnippet ?

2009-10-22 Thread Jonathan Ferguson
2009/10/23 David Pollak feeder.of.the.be...@gmail.com On Wed, Oct 21, 2009 at 10:59 PM, Jonathan Ferguson j...@spiralarm.comwrote: 2009/10/22 David Pollak feeder.of.the.be...@gmail.com On Wed, Oct 21, 2009 at 8:46 PM, Jonathan Ferguson j...@spiralarm.comwrote: I have a

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread george
Thanks Dan, I will try that. --~--~-~--~~~---~--~~ 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 email to

[Lift] Re: How do I pass information between a Comet Actor and a StatefulSnippet ?

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 4:18 PM, Jonathan Ferguson j...@spiralarm.comwrote: 2009/10/23 David Pollak feeder.of.the.be...@gmail.com On Wed, Oct 21, 2009 at 10:59 PM, Jonathan Ferguson j...@spiralarm.comwrote: 2009/10/22 David Pollak feeder.of.the.be...@gmail.com On Wed, Oct 21,

[Lift] Re: S.deleteCookie broken in M6

2009-10-22 Thread Randinn
And don't forget goatrodeo, wizard, oh and the CMS. Quite a plate you have there, Makes my working and trying to get my site working look like a pittance. On Oct 23, 3:27 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Oct 22, 2009 at 9:07 AM, harryh har...@gmail.com wrote:

[Lift] Re: Security Explained

2009-10-22 Thread Randinn
I've been pondering this for some time, could an actor be used as a cookie, if so would that render the stealing attack mote?    7. Lift uses the container's session management (usually JSESSIONID) for    session management.  As far as I know, Jetty, Tomcat, Glassfish are secure    in terms

[Lift] Re: Security Explained

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 4:54 PM, Randinn rand...@gmail.com wrote: I've been pondering this for some time, could an actor be used as a cookie, No if so would that render the stealing attack mote? 7. Lift uses the container's session management (usually JSESSIONID) for session

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread ssid
Hi all, I'm using XMPP in my little LiftApp and tried to migrate my code to the new Lift Actors. Somehow it seems that net.liftweb.xmpp still uses Scala Actors. Is this intentional or about to change? If not is it possible that Scala Actors communicate with Lift Actors? At the moment I don't get

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread Jim Barrows
RrttrRrrrtrtrtrrrtrtrtrrttÞ Sent on the Now Network™ from my Sprint® BlackBerry -Original Message- From: ssid j.gat...@googlemail.com Date: Thu, 22 Oct 2009 18:03:25 To: Liftliftweb@googlegroups.com Subject: [Lift] Re: **Breaking Changes** **README** **Important** Hi all,

[Lift] Re: Cannot build our lift app. Is net.liftweb.util OK?

2009-10-22 Thread Jean-Luc
Hi Dano, You need to add import net.liftweb.common._ in your source code. This will import Box and Failure classes. Jean-Luc PS : copy of David's message explaining your problem. Hope it helps ! [...]The two big changes that you'll have to work with are: - *Box/Full/Empty/Failure was

[Lift] Re: A Critique On Lift

2009-10-22 Thread johncch
I know this is not the programming languages weblog but I'll still like to chip in a bit.. I love Scala. I know it's confusing, sometimes (more often than not) it makes my head hurts. But the language itself is so expressive. I think it's kinda, well, maybe I'm machoistic, but there's often

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 6:28 PM, Jim Barrows jim.barr...@gmail.com wrote: RrttrRrrrtrtrtrrrtrtrtrrttÞ bless you. Sent on the Now Network™ from my Sprint® BlackBerry -Original Message- From: ssid j.gat...@googlemail.com Date: Thu, 22 Oct 2009 18:03:25 To:

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 6:03 PM, ssid j.gat...@googlemail.com wrote: Hi all, I'm using XMPP in my little LiftApp and tried to migrate my code to the new Lift Actors. Somehow it seems that net.liftweb.xmpp still uses Scala Actors. Is this intentional or about to change? I was lazy and

[Lift] Re: A Critique On Lift

2009-10-22 Thread Naftoli Gugenheim
How hard can automatic save be? But how would immutable DAOs work? There was a thread, I think on scala-user, a long time ago discussing it, that pretty much concluded it would be very problematic. David weighed in and said after a long time he concluded that databases represent state.

[Lift] Re: A Critique On Lift

2009-10-22 Thread Naftoli Gugenheim
The last use of _, as in empty_?, is not a special scala meaning. As on Java, underscores can be part of an identifier. Scala takes advantage of this to combine letters and symbols in one name. These names, like empty_?, are a Lift convention, as well as ..._! for use-with-care methods. The

[Lift] Re: html not being evalutated

2009-10-22 Thread Naftoli Gugenheim
I think another solution is an Unparsed node. When the XML is converted to a string it will be outputed verbatim. - jackjack.wid...@gmail.com wrote: Let's say source.body is ahref=google.comSearch/a. If I put source.body in a span like this -

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread Jonathan Ferguson
If we are using Actors for non Comet based stuff I assume we are free to leave them as is as long as we don't come asking for support ? I am thinking about moving through switching them over, but I'd like to do it at a leisurely pace. Jono 2009/10/23 David Pollak feeder.of.the.be...@gmail.com

[Lift] Re: **Breaking Changes** **README** **Important**

2009-10-22 Thread David Pollak
On Thu, Oct 22, 2009 at 8:54 PM, Jonathan Ferguson j...@spiralarm.comwrote: If we are using Actors for non Comet based stuff I assume we are free to leave them as is as long as we don't come asking for support ? Absolutely. Use the Actor library that best suits your needs. I am thinking