[Lift] Re: Code for the demo on liftweb.net

2009-03-05 Thread David Pollak
It's part of the Lift source distribution. See http://github.com/dpp/liftweb/tree/ce2a130984b3c816de76a0c1ab1aa8ada1e01c9d/sites/example On Thu, Mar 5, 2009 at 2:24 PM, Christian christian.szeg...@gmail.comwrote: Hi, Is the source code for the demo pages on http://demo.liftweb.net/

[Lift] Re: Proposed localization change to S

2009-03-06 Thread David Pollak
On Fri, Mar 6, 2009 at 3:52 PM, Timothy Perrett timo...@getintheloop.euwrote: Isn't the danger here that Text() will explode if for some reason default was null (e.g Reading from a DB)? It's not a massive issue, as people should be diligent about supplying defaults but it's just a though.

[Lift] Re: Lift-friendly Web Hosting

2009-03-10 Thread David Pollak
I use CalPop for my hosting. They're very reasonably priced, but you do have to do some non-trivial sys-admin work. On Tue, Mar 10, 2009 at 1:03 AM, Jeff Chen jeff.chen.gr...@gmail.comwrote: Any suggestion/experience on a lift-friendly web hosting service? Thanks. -- Lift, the simply

[Lift] Re: Adding MappedDecimal to Mapper?

2009-03-10 Thread David Pollak
Go for it. On Tue, Mar 10, 2009 at 12:26 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Any objections? The current code is on the wip-dcb-decimal-maprec branch. Derek -- Lift, the simply functional web framework http://liftweb.net Beginning Scala

[Lift] Re: You guys rock!

2009-03-11 Thread David Pollak
On Wed, Mar 11, 2009 at 5:49 AM, Alex Boisvert boisv...@intalio.com wrote: Between Scala and Lift, ScalaCheck and Specs, Eclipse and Buildr, Jetty and JavaRebel, it's amazing to see how far the tools have evolved in the 2 years I've been following Scala. I had my epiphany today while

[Lift] Re: access object field after snippet form submission

2009-03-11 Thread David Pollak
On Tue, Mar 10, 2009 at 7:30 PM, DavidV david.v.villa...@gmail.com wrote: In the webapp I'm working on, I have three separate forms (snippets) linked to three separate objects. I would like to maintain a link between the objects through ID fields, since all three forms contain information

[Lift] Re: Bug in LiftRules defaultLocaleCalculator

2009-03-11 Thread David Pollak
: For sure ­ im not sure how to write a spec test for something like this? Is there anything I can use / copy as a starting point? Cheers, Tim On 10/03/2009 17:11, David Pollak feeder.of.the.be...@gmail.com wrote: They do have S and LiftSession. The case null = guard

[Lift] Re: Bug in LiftRules defaultLocaleCalculator

2009-03-11 Thread David Pollak
the HttpServletRequest can be null and those cases are now fixed. Thanks, Derek On Wed, Mar 11, 2009 at 9:15 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Fixed in the 1.1 branch. It might make sense to back-port to the 1.0 branch On Wed, Mar 11, 2009 at 1:49 PM, marius d

[Lift] Re: Why do names of Boolean variables with a ? at the end have a preceding _ character?

2009-03-12 Thread David Pollak
On Thu, Mar 12, 2009 at 8:57 AM, mal3 malcolm.gor...@gmail.com wrote: Why do names of Boolean variables with a ? at the end have a preceding _ character? I see this in some Lift code. There must be some reason for it -- perhaps a Scala-ly reason -- that escapes me. Yes, you cannot mix

[Lift] Re: Why did Lift invent the Can (or Box) class, when there's an existing Scala Option class?

2009-03-12 Thread David Pollak
On Thu, Mar 12, 2009 at 8:58 AM, mal3 malcolm.gor...@gmail.com wrote: Why did Lift invent the Can (or Box) class, when there's an existing Scala Option class? This is another naive 2-year-old question to ask. But I'm very curious to find out. Heh... discussing this issue set off the worst

[Lift] Fwd: Official Siemens SIS Press Release about ESME released

2009-03-12 Thread David Pollak
ESME is Scala and Lift based and is in production @ Siemens. -- Forwarded message -- From: Hirsch, Richard richard.hir...@siemens.com Date: Mon, Mar 9, 2009 at 7:45 AM Subject: Official Siemens SIS Press Release about ESME released To: p...@apache.org,

[Lift] Re: Why does HelloWorld index.html contain a snippet rather than a complete XHTML page?

2009-03-13 Thread David Pollak
Howdy, A Snippet is the bridge between the view and Scala code. In this example: lift:surround with=default at=content h2Welcome to your project!/h2 plift:HelloWorld.howdy //p /lift:surround The lift:HelloWorld.howdy / tag refers to the HelloWorld snippet which is is some Scala code in the

[Lift] Re: Required goal not found: archetype:generate

2009-03-13 Thread David Pollak
On Fri, Mar 13, 2009 at 10:52 AM, erik.fris...@googlemail.com erik.fris...@googlemail.com wrote: No, its not a typo in the PDF. I just got it mixed up when typing the query. Just as a point of order, I'm glad that you stuck with the thread and didn't get too frustrated. I'm glad we could

[Lift] Re: Objections to merging jpa archetype?

2009-03-13 Thread David Pollak
Go for it. On Fri, Mar 13, 2009 at 3:09 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: Would anyone like to look at the jpaarchetype branch before I merge it? Derek -- Lift, the simply functional web framework http://liftweb.net Beginning Scala

[Lift] Re: Slash and burn

2009-03-13 Thread David Pollak
Derek, /page is parsed to List(page) and /page/ is parsed to List(page, index). Unfortunately, the rewrites are applied before the sitemap is in scope, so we can't consult the sitemap during rewrite, but I think there may be a way to write a DispatchPF to intercept List(xxx) and redirect to

[Lift] Re: Slash and burn

2009-03-14 Thread David Pollak
On Fri, Mar 13, 2009 at 10:21 PM, Charles F. Munat c...@munat.com wrote: Sorry, I've missed most of this discussion, but thank you for your responses. Hopefully, I'll be able to figure out what they mean after I get some coffee (I had a very late night working). I organize all my sites the

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread David Pollak
Folks, Please make sure you've got this method in your Boot.scala class: /** * Force the request to be UTF-8 */ private def makeUtf8(req: HttpServletRequest) { req.setCharacterEncoding(UTF-8) } And also in the boot method, put: LiftRules.early.append(makeUtf8) By default,

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread David Pollak
On Mon, Mar 16, 2009 at 12:30 AM, Charles F. Munat c...@munat.com wrote: Everything is being served UTF-8... that means the header is UTF-8, the xml process directive is UTF-8, and there's a content type meta tag setting it to UTF-8, and I can confirm in Firefox via both the View Character

[Lift] Re: OpenID defect and fix

2009-03-15 Thread David Pollak
Marius, Go ahead and make the change. I think I'm the only one using the OpenID stuff and I'm happy to fix it. The following maven packages are heavily used and I consider it a serious negative to break APIs: lift-util, lift-http, and lift-mapper. The others I consider to be a little more

[Lift] Re: MappedTextarea problem

2009-03-15 Thread David Pollak
On Sun, Mar 15, 2009 at 8:33 PM, Xavi Ramirez xavi@gmail.com wrote: For the sake of better understanding the internals of lift where is screen.css? /classpath/* is served from the lift-http JAR. It's baked into the JAR as part of the build process. On Wed, Mar 11, 2009 at 6:32 PM,

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-15 Thread David Pollak
On Mon, Mar 16, 2009 at 2:07 AM, Charles F. Munat c...@munat.com wrote: That's got it. I added it to the FAQ on the wiki. Thanks, David! Wish I'd been smart enough to ask this a week ago! I bloodies my head with that one for a good couple of weeks. Glad it's working. Chas. David

[Lift] Re: Change default port 8080

2009-03-16 Thread David Pollak
On Sun, Mar 15, 2009 at 11:48 PM, Tobias Daub hannes.flo...@gmx.li wrote: A google search didnt't helpedthanks anyway! Please feel encouraged to post questions like this to this group. We're here to help and the knowledge base grows. You're only obligation is to help out

[Lift] Re: why is the lift web framework scalable?

2009-03-16 Thread David Pollak
On Sun, Mar 15, 2009 at 6:34 PM, parag978978 parag978...@gmail.com wrote: I want to know the technical reasons why the lift webframework has high performance and scalability? The JVM and not getting in its way. :-) The JVM is the best way to deploy high performance software. HotSpot does a

[Lift] Re: Error in Msgs

2009-03-16 Thread David Pollak
On Mon, Mar 16, 2009 at 11:49 AM, marius d. marius.dan...@gmail.com wrote: You're right. Can you fix and commit it ? Charles is not on the committer list. We need to fix this in 1.1 and the 1.0 branch. On Mar 16, 8:20 pm, Charles F. Munat c...@munat.com wrote: Line 54 in

[Lift] Re: xml parser, utf-8, special characters... kill me now

2009-03-16 Thread David Pollak
On Mon, Mar 16, 2009 at 6:39 AM, Timothy Perrett timo...@getintheloop.euwrote: Im hosting several sites on a single jetty install - its working perfectly right now. Are you not familiar with the virtual hosting options in jetty? Its pretty well documented on their wiki and will let you host

[Lift] Re: Where to continue after Getting Started?

2009-03-16 Thread David Pollak
Erik, What would you like to learn next? Perhaps we can continue to enhance the Lift mind-bending if we know which direction to bend it in. Thanks, David On Sun, Mar 15, 2009 at 5:29 AM, erik.fris...@googlemail.com erik.fris...@googlemail.com wrote: Hi guys, I finally managed to work my

[Lift] Re: XML unescaping

2009-03-16 Thread David Pollak
On Mon, Mar 16, 2009 at 8:51 PM, Jeremy Mawson jeremy.mawson.w...@gmail.com wrote: Thanks Marc. xml:group works nicely. For this exercise this is hypothetical, but it matches very closely a project I have enabled in the past using struts and JIBX... Say the data was sourced from an

[Lift] Re: Where to continue after Getting Started?

2009-03-17 Thread David Pollak
On Tue, Mar 17, 2009 at 1:34 AM, erik.fris...@googlemail.com erik.fris...@googlemail.com wrote: Thanks for the responses, guys. So far I have developed big PHP apps with the Zend Framework, and I found the apps quite manageable. Yes, it requires some careful planning to not end up with a

[Lift] Re: lift:snippet type=Foo.bar != lift:Foo.bar?

2009-03-17 Thread David Pollak
lift:snippet type=SiteOps.add form=post == lift:SiteOps.add form=post If this is not the case, it's a Lift defect. On Tue, Mar 17, 2009 at 8:41 AM, Clemens clemens.oer...@gmail.com wrote: Hello everybody, I'm fairly new to lift (and to scala, to be honest), and just trying to find my way

[Lift] Welcome Lee Mighdoll to the Lift committers

2009-03-17 Thread David Pollak
Folks, I'm pleased to welcome Lee Mighdoll to the Lift committers. Lee wrote the brilliant line: Lift is an expressive and elegant framework for writing web applications. Almost 18 months ago... but he's not a marketing guy, he's a code slinger and he's going to be slinging some pretty cool

[Lift] Re: FieldType and ForeignType

2009-03-17 Thread David Pollak
What version of Scala? On Tue, Mar 17, 2009 at 5:45 PM, Jorge Ortiz jorge.or...@gmail.com wrote: And if they're useful, can subclasses of MappedForeignKey define them more exactly? Errors looked like this: [WARNING] C:\workspace\liftapp\src\main\scala\com\liftworkshop\model\ToDo.scala:

[Lift] Re: FieldType and ForeignType

2009-03-18 Thread David Pollak
On Tue, Mar 17, 2009 at 9:49 PM, David Pollak feeder.of.the.be...@gmail.com wrote: I'm going to fix the problem tomorrow... but I was wondering why the compilation issues. Fixed. Please verify. On Tue, Mar 17, 2009 at 9:44 PM, Jorge Ortiz jorge.or...@gmail.comwrote: Argh. Good call

[Lift] Re: List of existing Lift deployments

2009-03-18 Thread David Pollak
Twitter uses Scala as part of their back end infrastructure. Evan Weaver presented on this at QCon in London last week and Al3x Payne will be presenting on it at Web 2.0 on April 1. See http://www.scala-lang.org/node/1225 Siemens is using Lift and Scala as part of their ESME deployment. See

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread David Pollak
On Thu, Mar 19, 2009 at 9:30 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: This is something that has been asked before, but I don't think there was anything out there. I think that this would be a really nice feature, particularly if it could leverage the existing jQuery stuff. IIRC, the

[Lift] Re: horizontal navbar drop-downs

2009-03-19 Thread David Pollak
On Thu, Mar 19, 2009 at 9:50 AM, marius d. marius.dan...@gmail.com wrote: I'm wondering if we shouldn't provide this by the means of a Lift widget. Looks like a needed feature ... WDYT ? Sounds good to me. Br's, Marius On Mar 19, 6:43 pm, David Pollak feeder.of.the.be...@gmail.com

[Lift] Re: Lift as a UI in server side OSGi

2009-03-19 Thread David Pollak
+1 on making Lift work with OSGi +1 on ripping the logic out of both the Servlet and ServletFilter implementations and moving them elsewhere. This will be necessary to do portlets anyway. On Thu, Mar 19, 2009 at 1:45 PM, marius d. marius.dan...@gmail.com wrote: Hi Chad, On Mar 19, 9:45 pm,

[Lift] Re: Lift as a UI in server side OSGi

2009-03-20 Thread David Pollak
On Fri, Mar 20, 2009 at 12:16 AM, Chad Skinner chadwskin...@gmail.comwrote: On Thu, Mar 19, 2009 at 5:44 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Chad, What would be most helpful is if you could mock up and example with servlets (written in Scala or Java). If I have

[Lift] Re: Lift as a UI in server side OSGi

2009-03-20 Thread David Pollak
On Fri, Mar 20, 2009 at 6:23 AM, Chad Skinner chadwskin...@gmail.comwrote: I might only have 8 years of experience with working with the Servlet-stack, but the main reason that Lift is hooked into a Filter is that Lift filters requests... ;) But, if OSGi does not support filters then

[Lift] Re: horizontal navbar drop-downs

2009-03-20 Thread David Pollak
in, that would be great. Might also take a look at the YUI version for those people using YUI (I'm using both, though obviously not at the same time). Chas. David Pollak wrote: On Thu, Mar 19, 2009 at 9:50 AM, marius d. marius.dan

[Lift] Re: horizontal navbar drop-downs

2009-03-20 Thread David Pollak
and enabling superfish. Derek On Fri, Mar 20, 2009 at 9:30 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Mar 20, 2009 at 12:45 AM, Charles F. Munat c...@munat.comwrote: It doesn't say anything about licensing on the site, but it's a jQuery plugin. I presume that if we

[Lift] Re: Mapper to Record ORM

2009-03-20 Thread David Pollak
replacement. On Mar 20, 8:09 am, David Pollak feeder.of.the.be...@gmail.com wrote: I've got 8+ active projects that use Mapper. It will continue to be supported for a *long time*. It will not be the recommended path after 1.1, but given how long software http://www.plsys.co.uk/mesa

[Lift] Re: Mapper to Record ORM

2009-03-20 Thread David Pollak
it to my pocket. :-) Chas. David Pollak wrote: I've got 8+ active projects that use Mapper. It will continue to be supported for a *long time*. It will not be the recommended path after 1.1, but given how long software http://www.plsys.co.uk/mesa I write tends to stay in production http

[Lift] Welcome Charles Munat to the Lift committers

2009-03-20 Thread David Pollak
Folks, I am pleased to welcome Charles Munat to the list of Lift committers. Now, many of you, including some other Lift committers, look at Charles' contribution to Lift and the community and say, yeah, he's a committer. Well, now he is. Welcome Charles! Thanks, David -- Lift, the simply

[Lift] Re: Where are the lift jars?

2009-03-20 Thread David Pollak
On Fri, Mar 20, 2009 at 1:46 PM, Alex a...@liivid.com wrote: This is a n00b question, but I've spent a bit too much time trying to find where a number of the Lift classes are defined. I installed the PocketChange app, and I can get it to run (although the current version is quiet broken and

[Lift] Re: in a heap o' trouble

2009-03-20 Thread David Pollak
In your pom.xml file: plugin groupIdorg.scala-tools/groupId artifactIdmaven-scala-plugin/artifactId version2.9/version executions execution goals goalcompile/goal goaltestCompile/goal /goals

[Lift] Re: in a heap o' trouble

2009-03-20 Thread David Pollak
to the Maven site, but can't find it. In DavidB and Josh's heads. :-( Chas. David Pollak wrote: In your pom.xml file: plugin groupIdorg.scala-tools/groupId artifactIdmaven-scala-plugin/artifactId version2.9/version executions

[Lift] Re: IDE

2009-03-21 Thread David Pollak
? the compiler is simply too slow at this point to be used with such an interactive cycle for me alas. i reload and get either the old, or 500s. simply too error prone. Alex On Thu, Mar 5, 2009 at 6:02 AM, David Pollak feeder.of.the.be...@gmail.com wrote: One can get continuous build with any

[Lift] Re: Lift as a UI in server side OSGi

2009-03-21 Thread David Pollak
On Fri, Mar 20, 2009 at 8:35 PM, Chad Skinner chadwskin...@gmail.comwrote: I may be greatly overcomplicating things... I have been trying to read some of the source code for the LiftServlet.scala and the class comment is: I'm working with a couple of the OSGi gurus on this issue. They're in

[Lift] Re: IDE

2009-03-21 Thread David Pollak
On Sat, Mar 21, 2009 at 8:59 AM, Alexander Kellett lypa...@gmail.comwrote: On Sat, Mar 21, 2009 at 4:49 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Sat, Mar 21, 2009 at 7:24 AM, Alexander Kellett lypa...@gmail.com unfortunately, as scala:cc is polling rather than using

[Lift] Re: Portable components of logic?

2009-03-23 Thread David Pollak
Tim, Look in LiftRules for SnippetDispatchPF Yes, you can dispatch snippets to objects defined in other JARs. Thanks, David On Mon, Mar 23, 2009 at 11:03 AM, Tim Perrett timo...@getintheloop.euwrote: Guys, Has anyone got a good strategy for packaging up components of logic within lift?

[Lift] Re: Portable components of logic?

2009-03-23 Thread David Pollak
views in code (see ViewDispatchPF) and do lift:embed / in your code to refer to the Scala-based view code. Thanks Tim On 23/03/2009 18:08, David Pollak feeder.of.the.be...@gmail.com wrote: Tim, Look in LiftRules for SnippetDispatchPF Yes, you can dispatch snippets to objects defined

[Lift] Re: Portable components of logic?

2009-03-23 Thread David Pollak
On Mon, Mar 23, 2009 at 11:57 AM, Timothy Perrett timo...@getintheloop.euwrote: You could have the CSS reference generated in the Snippet. When you say reference, are you referring to a style-sheet link or the *actual* CSS itself? Either. You can also have views in code (see

[Lift] Re: [scala-user] [ANN] Exploring Lift: a Book for the Scala-based Web Framework

2009-03-23 Thread David Pollak
On Mon, Mar 23, 2009 at 2:14 PM, Viktor Klang viktor.kl...@gmail.comwrote: Guys, I'm expecting a signed copy... ;) Who's the father? :-) On Mon, Mar 23, 2009 at 7:24 PM, TylerWeir tyler.w...@gmail.com wrote: Dave Griffith wrote: Garrett Rowe-2 wrote: I'll be buying the

[Lift] Re: Slash and burn

2009-03-23 Thread David Pollak
? in index.html: lift:embed what=/foo/ Thanks, Bradford On Mar 14, 4:02 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Mar 13, 2009 at 10:21 PM, Charles F. Munat c...@munat.com wrote: Sorry, I've missed most of this discussion, but thank you for your responses

[Lift] Re: lift:Menu.group

2009-03-24 Thread David Pollak
On Tue, Mar 24, 2009 at 6:55 AM, bradford fingerm...@gmail.com wrote: Thanks Derek. I'll give this a shot when I get home. I don't quite understand the purpose of Menu.item, then. Isn't Menu.item what you all use to create links so that they aren't hard coded in all of the pages? Yes.

[Lift] Re: State and binding

2009-03-24 Thread David Pollak
Alex, If you don't like this design, then you will not like Lift. I have been doing web development since 1995 and building web frameworks since 1996. I have seen a lot of different approaches to web frameworks and the two web frameworks that have the best approach are WebObjects and Seaside.

[Lift] Re: newbie issue

2009-03-24 Thread David Pollak
In Scala, imports are relative, unless you make them absolute. In this case, your package is main.scala.com.liftworkshop.snippet The: import scala.xml.{NodeSeq} tells the compiler to look for _root_.main.scala.xml.NodeSeq That is not found. There are two ways to deal: 1. Change your

[Lift] Re: AJAX and IE6. No love.

2009-03-24 Thread David Pollak
Charles, If you could post an example site (or send me code to run locally), I'll work on finding a solution for you. Thanks, David On Tue, Mar 24, 2009 at 12:22 PM, Charles F. Munat c...@munat.com wrote: I have a survey online that updates the server via AJAX when individual form fields

[Lift] Re: Adding / Updating a JsObj

2009-03-24 Thread David Pollak
Tim, I'm suggest going back to using a Map. If you're having problems with Map, then you'll have problems with JsObj. Debug your Map problem and all should be good. Thanks, David On Tue, Mar 24, 2009 at 12:46 PM, Timothy Perrett timo...@getintheloop.euwrote: Hmm, it seems like this is not

[Lift] Re: What a difference a CPU makes

2009-03-25 Thread David Pollak
Derek, What OS are you running? The old numbers are worse than my HP 2133 Netbook which clocks in at 15 minutes for a full Lift build. Thanks, David On Tue, Mar 24, 2009 at 7:42 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I just wanted to throw this out there in case anyone else is

[Lift] Re: State and binding

2009-03-25 Thread David Pollak
On Tue, Mar 24, 2009 at 5:38 PM, Alex a...@liivid.com wrote: With Lift 1) Form submits: B2345235DSFGA = Long agonizing post 2) Function mapping has been cleared. Application panics and has no idea what that junk was. 1. This is an empirically wrong statement. Test it out. 2. A

[Lift] Re: File - Class naming

2009-03-25 Thread David Pollak
On Tue, Mar 24, 2009 at 11:04 PM, Alex Boisvert boisv...@intalio.comwrote: Hi Lifters, How would you feel about renaming .scala files to match the main class/trait in them? Let me give you a few examples, lift/src/main/scala/net/liftweb/http/auth/Authentication.scala currently holds a

[Lift] Re: Absolute Beginner

2009-03-25 Thread David Pollak
On Tue, Mar 24, 2009 at 9:35 PM, Randinn rand...@gmail.com wrote: Are there any plans for some tutorials/info for people that have no programming experience (at least none in the last decade)? Sorry. Lift requires basic knowledge of Scala as well as some ability to do stuff at the command

[Lift] Re: AJAX and IE6. No love.

2009-03-25 Thread David Pollak
Wow! Great write-up. I think this has applicability in a number of my other projects. :-) On Tue, Mar 24, 2009 at 8:53 PM, Daniel Mueller dan.in.a.bot...@gmail.comwrote: I'm not sure that this is of any help or even applies to lift, but we had once a very similar situation with a corporate

[Lift] Re: State and binding

2009-03-25 Thread David Pollak
On Wed, Mar 25, 2009 at 6:15 AM, Chad Skinner chadwskin...@gmail.comwrote: So, in my experience and to my mind, the tenet of minimizing server-side state is broken and wrong. State should placed where it is (1) most secure and (2) leads to the most responsive apps. Not know much about lift

[Lift] Re: What a difference a CPU makes

2009-03-25 Thread David Pollak
build time (32 bit Windows Vista) Derek On Wed, Mar 25, 2009 at 8:52 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Weird. My 2133 is running at 1.2 Ghz and has an 800Mhz (at best) memory speed. My experience with Lift builds on machines with a lot of memory is that there's

[Lift] Re: State and binding

2009-03-25 Thread David Pollak
On Wed, Mar 25, 2009 at 7:38 AM, Chad Skinner chadwskin...@gmail.comwrote: So, are the sessions replicated or do you lose active connections if a node goes down? Yes. And your app goes down if the RDBMS goes down. I agree I don't have a problem with server session state ... the only

[Lift] Re: Lift Authentication

2009-03-25 Thread David Pollak
On Wed, Mar 25, 2009 at 8:56 AM, Chad Skinner chadwskin...@gmail.comwrote: All of our applications are currently using form based authentication in the EJB container .. am I correct that this (Form based authentication) is not supported in Lift? You are incorrect. Form-based authentication

[Lift] Re: Absolute Beginner

2009-03-25 Thread David Pollak
assume some knowledge of an OO language, but most of the code is Scala from the ground up. On Mar 26, 12:01 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Mar 24, 2009 at 9:35 PM, Randinn rand...@gmail.com wrote: Are there any plans for some tutorials/info for people

[Lift] Re: Dynamic Image generation / HttpServletResponse

2009-03-25 Thread David Pollak
Oddly enough, I'm working on code like this right now... I'll post what I can. On Wed, Mar 25, 2009 at 2:38 PM, Thomas Rynne thomas.ry...@gmail.comwrote: Hi, I want to dynamically generate images (actually a graph). I could write a seperate servlet for this but I'd like easy access to the

[Lift] Re: Dynamic Image generation / HttpServletResponse

2009-03-25 Thread David Pollak
Here's some code to serve an image out of the database. Here's the Mapper definition: class Image extends LongKeyedMapper[Image] with IdPK { def getSingleton = Image object image extends MappedBinary(this) object lookup extends MappedUniqueId(this, 32) { override def dbIndexed_? =

[Lift] Re: Newbie Scala syntax question re: parameterized types with bounds

2009-03-27 Thread David Pollak
Stefan, The Mapper[T : Mapper[T]] type allows for: User extends Mapper[User] It means that T is the the class and it is the current subclass of Mapper. Combined with the { self: T = } Construct, we know that T is the actual class that the current Mapper is the subclass of. And yes, the

[Lift] Re: Lift as a UI in server side OSGi

2009-03-28 Thread David Pollak
On Sat, Mar 28, 2009 at 11:28 AM, Chad Skinner chadwskin...@gmail.comwrote: On Sat, Mar 21, 2009 at 10:51 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Mar 20, 2009 at 8:35 PM, Chad Skinner chadwskin...@gmail.comwrote: I may be greatly overcomplicating things... I have

[Lift] Re: chadwskinner

2009-03-29 Thread David Pollak
On Sat, Mar 28, 2009 at 3:54 PM, Chad Skinner chadwskin...@gmail.comwrote: Yes. I've got a backlog of stuff to do a mile long. Don't expect anything on this item before Wednesday. David, Is this backlog something that is public or something we can read. I'm hoping to get a better idea of

[Lift] Re: Disappearing white space

2009-03-30 Thread David Pollak
Please file a defect and assign it to me. On Sat, Mar 28, 2009 at 3:34 AM, Charles F. Munat c...@munat.com wrote: When I add a title in a head element to a template that is surrounded by the default template, and the title has a character entity or a lift tag in it, the white space

[Lift] Welcome Jonas Bonér to the Lift committers

2009-03-30 Thread David Pollak
Folks, Please join me in welcoming Jonas as a Lift committer. I had the pleasure of meeting Jonas as QCon in London this month. Jonas, Tim, and I went out a grabbed a few pints and chatted. I think Jonas has a lot to contribute to Lift. So, please join me in welcoming him! Thanks, David --

[Lift] Fwd: [bayfp] Next Meeting: RabbitMQ, Wednesday April 8th @ 7:30PM

2009-03-30 Thread David Pollak
Folks, The excellent RabbitMQ folks will be presenting at BayFP this month. Come on down. Thanks, David -- Forwarded message -- From: Mike Wells mike.we...@gmail.com Date: Sun, Mar 29, 2009 at 11:24 AM Subject: [bayfp] Next Meeting: RabbitMQ, Wednesday April 8th @ 7:30PM To:

[Lift] Re: Strange issue with file uploads

2009-03-30 Thread David Pollak
I just put a guard in the fileUpload function handler. I'll check in a solution once GitHub is back up On Fri, Mar 27, 2009 at 10:52 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: I just started seeing this tonight and I'm not sure what changed. I have a form that uses a fileUpload, and it

[Lift] Re: Welcome Jonas Bonér to the Lift committer s

2009-03-30 Thread David Pollak
, marius d. marius.dan...@gmail.comwrote: Welcome Jonas ! On Mar 30, 7:52 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Please join me in welcoming Jonas as a Lift committer. I had the pleasure of meeting Jonas as QCon in London this month. Jonas, Tim, and I went out

[Lift] Re: HTML 5 Web Sockets ?

2009-03-31 Thread David Pollak
On Tue, Mar 31, 2009 at 2:35 AM, Matthias Wessendorf mwessend...@gmail.comwrote: Hi, I wonder if Lift does support HTML 5's Web Sockets. I think that I read it somewhere ... Lift 1.1 will support Web Sockets. I'm working with the Kaazing folks to make sure things work well with their

[Lift] Re: lift-core jar in repo-releases does not contain classes

2009-04-01 Thread David Pollak
That's right. The lift-core.jar file has never contained any classes. It's a marker for Maven. lift-core depends on all the other Lift packages (e.g., lift-util, lift-webket, etc.) so these other packages are included in your project and they have classes in their jar files. On Wed, Apr 1,

[Lift] Re: class hierarchy with models

2009-04-01 Thread David Pollak
Wow. Awesome answer! A couple of things. Some of the Mapper code is my earliest Scala attempts and other code is desperate attempts on my part to work around Scala's type system. Some of it is instructive, but other parts are just wrong and ugly. I'd suggest running in horror from any code

[Lift] [ANN] DEFUN09: Call for Talks Tutorials (co-located w/ ICFP09)

2009-04-01 Thread David Pollak
-- Forwarded message -- From: Matthew Fluet (ICFP Publicity Chair) icfp.public...@googlemail.com Date: Wed, Apr 1, 2009 at 8:38 AM Subject: [bayfp] DEFUN09: Call for Talks Tutorials (co-located w/ ICFP09) To: Bay Area Functional Programmers ba...@googlegroups.com

[Lift] Re: lift-core jar in repo-releases does not contain classes

2009-04-01 Thread David Pollak
/ras_shadow On Apr 1, 9:09 am, David Pollak feeder.of.the.be...@gmail.com wrote: That's right. The lift-core.jar file has never contained any classes. It's a marker for Maven. lift-core depends on all the other Lift packages (e.g., lift-util, lift-webket, etc.) so these other packages

[Lift] Re: The Lift 1.1 list

2009-04-01 Thread David Pollak
On Wed, Apr 1, 2009 at 9:37 AM, TylerWeir tyler.w...@gmail.com wrote: I gotta be honest, with April Fools, I was scared to click on goatrodeo.org... :-) On Apr 1, 12:11 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I think we've got our Lift 1.1 list. If anyone

[Lift] Re: A gap in my knowledge, JsCommands

2009-04-01 Thread David Pollak
Tyler, This call is malformed: button2 - buttonPress Me 2/button % (onclick - SHtml.ajaxCall(Str(Button-2), ajaxFunc2 _))) SHtml.ajaxCall returns a (String, JsCmd). The String is absolutely necessary (it will be actually) for GC). The call is doing the right thing and should not be

[Lift] Re: Lift AJAX and IE6

2009-04-01 Thread David Pollak
On Wed, Apr 1, 2009 at 1:25 PM, Charles F. Munat c...@munat.com wrote: I just got around to testing a couple of my Lift sites on IE6 and the results are depressing. One problem is that there is a recurrent JavaScript error. I presume this is coming from the Lift AJAX script since it pops up

[Lift] You might be the person that designs the Scala Lift Off logo

2009-04-01 Thread David Pollak
Folks, I'm running a contest at 99 Designs for the Scala Lift Off logo... see http://99designs.com/contests/19890 Submissions from the community would be great. Thanks, David -- Lift, the simply functional web framework http://liftweb.net Beginning Scala

[Lift] Re: autocomplete - options

2009-04-01 Thread David Pollak
Bradford, We rarely accept patches. It's an intellectual property thing. We like to know where every bit of code came from. You're welcome to write your own autocomplete code and make it available on GitHub for others to use. Updating the autocomplete stuff is not a priority for me. Perhaps

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread David Pollak
On Thu, Apr 2, 2009 at 2:30 AM, Bill Venners b...@artima.com wrote: Hi David, On Thu, Apr 2, 2009 at 12:11 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Improved testing framework and better testing support when running in test mode. Can you elaborate on what your

[Lift] Re: The Lift 1.1 list

2009-04-02 Thread David Pollak
://groups.google.com/group/liftweb/browse_thread/thread/932a730659975d0d ) I know its a big ask, but any chance you could bash something out that the community can consume and regurgitate some proper documentation / tutorial on? (perhaps I could scala-blog it or similar) Cheers, Tim On Apr 2, 4:34 pm, David

[Lift] Re: The Lift 1.1 list

2009-04-03 Thread David Pollak
- is that embedding portlets in snippets and/or creating portlets (rather than servlets)? I'm thinking having Lift being exposed as a Portlet as well as a Servlet. Marc On 02/04/2009, at 3:11 AM, David Pollak wrote: Folks, I think we've got our Lift 1.1 list. If anyone has anything to add, please

[Lift] Re: Open Source Bridge Conference CFP ( Discount)

2009-04-03 Thread David Pollak
blown away by Lift... then they asked, what do we have to do to translate our Rails apps to Lift? Having that as a resource would be great. Chas. David Pollak wrote: Folks, It'd be great to see some Lift and/or Scala presentations at this conference. Thanks, David

[Lift] Re: Proposed URL Shortening widget

2009-04-03 Thread David Pollak
On Thu, Apr 2, 2009 at 12:48 PM, Jorge Ortiz jorge.or...@gmail.com wrote: What about easily turning any lift app into a url shortener service? Wouldn't be too hard... We do it in ESME. It's 1 class (the model) and 1 object. Granted, some services (bit.ly) add statistics, visualization,

[Lift] Re: [Bug] liftAjax.js generation bug in case of LiftRules.enableLiftGC = false

2009-04-03 Thread David Pollak
Please add this to Lighthouse http://liftweb.lighthouseapp.com/projects/26102-lift/overview Feel free to assign it to me. On Thu, Apr 2, 2009 at 3:32 PM, nau anem...@googlemail.com wrote: Hi there, There is a bug in ScriptRenderer.scala I've described here:

[Lift] Re: Open Source Bridge Conference CFP ( Discount)

2009-04-03 Thread David Pollak
On Fri, Apr 3, 2009 at 9:43 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: Is that presentation available anywhere? It will be available in http://github.com/dpp/lift-samples/tree/master when I have a chance to commit/push On Fri, Apr 3, 2009 at 9:54 AM, David Pollak feeder.of.the.be

[Lift] Re: Forms validation formatter

2009-04-03 Thread David Pollak
On Tue, Mar 31, 2009 at 7:06 AM, Clemens Oertel clemens.oer...@gmail.comwrote: Hello, Sorry for the delay in my response, but I only get to play with lift on the weekends, and I wanted to look into your suggestions in more detail. I ported the toForm code from Record to Mapper (and by port,

[Lift] Re: Newbie Scala syntax question re: parameterized types with bounds

2009-04-03 Thread David Pollak
On Fri, Apr 3, 2009 at 1:55 PM, Jorge Ortiz jorge.or...@gmail.com wrote: On Fri, Apr 3, 2009 at 12:53 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Apr 1, 2009 at 8:06 PM, Kris Nuttycombe kris.nuttyco...@gmail.com wrote: Something that occurred to me recently along

[Lift] Re: Advice on Ramping Up

2009-04-03 Thread David Pollak
And of course Beginning Scala is BS :-) On Fri, Apr 3, 2009 at 8:29 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Jorge, i was going to express a similar sentiment. There are lots of available options. - PinS - PrinS - PrinSc Best wishes, --greg On Fri, Apr 3, 2009

[Lift] Re: newbie question: using ajaxText() to get integer from form

2009-04-04 Thread David Pollak
On Sat, Apr 4, 2009 at 6:02 AM, Tobias Daub hannes.flo...@gmx.li wrote: Hi There, From the ToDo tutorial I got this code: private def desc(td: ToDo, reDraw: () = JsCmd) = swappable(span{td.desc}/span, span{ajaxText(td.desc, v = {td.desc(v).save; reDraw()})}

<    1   2   3   4   5   6   7   8   9   10   >