[Lift] Re: Newbie problem

2009-04-04 Thread David Pollak
On Sat, Apr 4, 2009 at 2:45 PM, mgm mgm7...@gmail.com wrote: That did the trick! I apologize for the hubris of a newbie, but I think this is a bug in LiftWeb. It was getting executed, but I guess with out the declaration, the result was not getting implicitly converted from List[Node] to

[Lift] Re: Good way to implement cancel links?

2009-04-04 Thread David Pollak
S.referer.map(from = SHtml.link(cancel, () = redirectTo(from))) openOr Text() On Sat, Apr 4, 2009 at 3:20 PM, Clemens Oertel clemens.oer...@gmail.comwrote: Hi, What's the best way to get generic Cancel links into forms, lift- style? Assuming that a form can be called from different pages in

[Lift] Re: Unit tests for views snippets

2009-04-05 Thread David Pollak
On Sat, Apr 4, 2009 at 2:45 PM, erik.karls...@iki.fi erik.b.karls...@gmail.com wrote: Hi, First thanks for the great framework. It has been long time when I had this fun with web programming :) Cool. I have a pretty newbie question about unit testing. Do anybody know good examples

[Lift] Re: The Lift 1.1 list

2009-04-05 Thread David Pollak
On Sun, Apr 5, 2009 at 3:31 AM, Timothy Perrett timo...@getintheloop.euwrote: Just looking back over the list - where are we too with the current Record implementation? I want to factor out some localization functionality into a ProtoTranslation style system, but for Record rather than

[Lift] Re: PhET Website

2009-04-05 Thread David Pollak
On Fri, Apr 3, 2009 at 10:05 PM, samreid samrr...@gmail.com wrote: Lift community, My name is Sam Reid, I'm a Java + Scala developer for PhET Interactive Simulations at http://phet.colorado.edu/. We produce free, open source educational science simulations for college and high school-

[Lift] Re: Good way to implement cancel links?

2009-04-05 Thread David Pollak
, not a RequestVar. RequestVars have the lifespan of a single request... which is very short. Thanks, David Thank you, Clemens On 4-Apr-09, at 6:41 PM, David Pollak wrote: S.referer.map(from = SHtml.link(cancel, () = redirectTo(from))) openOr Text() On Sat, Apr 4, 2009 at 3:20 PM, Clemens Oertel

[Lift] The bandwidth useage

2009-04-06 Thread David Pollak
Folks, In case you were wondering about what was happening to the scala-tools.organd lift sites... enclosed, please find bandwidth graphs. I'll have scala-tools.org back up later tonight (no hudson yet). I'll have the static part of the lift web site back up tonight as well, but not the

[Lift] Re: Scala-tools.org is back online

2009-04-06 Thread David Pollak
? No. Only the static service of the stuff in the Maven repository. Nexus is not up. sftp is not up. Hudson is not up. WebDav is not up. Thanks, Eric. David Pollak wrote: Folks, scala-tools.org is back online. Hudson is not building and we're not pulling from EPFL, so nightlies

[Lift] Re: http://liftweb.net/ broken ?

2009-04-07 Thread David Pollak
On Tue, Apr 7, 2009 at 6:37 AM, lmorroni la...@morroni.com wrote: I'm curious as to why someone would target liftweb.net and scala- tools.org specifically? It seems like specifically targeted ill intentions. The Lift site was *not* targeted... nor was the scala-tools.org site. It was not

[Lift] Re: Hidden field in form

2009-04-07 Thread David Pollak
Marius -- Thanks for giving the answer. The reason that SHtml.hidden() takes () = Unit is that I could not think of a use case for passing data back and I was tired of ignore = {...} in my code. As a broader issue, there's nothing magic in Lift. You can see how Marius grabbed the existing code

[Lift] Re: Google App Engine

2009-04-08 Thread David Pollak
See my response on the scala list On Apr 8, 2009 2:28 AM, Viktor Klang viktor.kl...@gmail.com wrote: As stated in the Scala list, GAE doesn't support JDBC or Threads. It does however, support JPA. Since it only supports the Servlet 2.4 spec currently, it doesn't include the Continuations as in

[Lift] Re: Rails - Lift

2009-04-09 Thread David Pollak
On Thu, Apr 9, 2009 at 2:38 AM, Alexander Kellett lypa...@gmail.com wrote: actually my biggest blocker (and still my blocker) is getting a working coding environment. there is so much contradictory information on which ide is the best. it would be really nice to have a document that talks

[Lift] Re: Lift AJAX and IE6

2009-04-09 Thread David Pollak
On Thu, Apr 9, 2009 at 4:35 AM, olambo olambo...@gmail.com wrote: Also, is the Lift AJAX script necessary for anything other than Comet? If I have a site that's using no AJAX or Comet, can I just turn this off? If so, how? No... it's also used for Garbage Collection. :-( I've

[Lift] Re: Object typecast to Mapper

2009-04-09 Thread David Pollak
Howdy, Scala is a static language, so the class for casting must be known at compile time. It's not possible to construct a String at runtime and cast an object into a class represented by that String. However, casting to a known class is easy in Scala... and it's done primarily using pattern

[Lift] Re: Rails - Lift

2009-04-10 Thread David Pollak
I think this thread points out something important about Lift... what matters most is what works for you. There are plenty of people on this list that use one editor or another... use mapper or JPA... use lots of comet/ajax or use very little. The only thing that's right is what works for you...

[Lift] Re: Object typecast to Mapper

2009-04-10 Thread David Pollak
, David Pollak feeder.of.the.be...@gmail.com wrote: Howdy, Scala is a static language, so the class for casting must be known at compile time. It's not possible to construct a String at runtime and cast an object into a class represented by that String. However, casting to a known class

[Lift] Re: directives versus snippets

2009-04-10 Thread David Pollak
Bob, They are actually the same thing. Lift's processing directives are simply built-in snippets. You can, if you dare, override their functionality. :-) Thanks, David On Fri, Apr 10, 2009 at 11:23 AM, bob rbpas...@gmail.com wrote: if I see lift:/, it could mean one of two things: a

[Lift] Re: directives versus snippets

2009-04-10 Thread David Pollak
11:16 jorgeortiz85 lift:msgs does 11:16 jorgeortiz85 lift:bind is hard-coded On Apr 10, 11:26 am, David Pollak feeder.of.the.be...@gmail.com wrote: Bob, They are actually the same thing. Lift's processing directives are simply built-in snippets. You can, if you dare, override

[Lift] Re: directives versus snippets

2009-04-10 Thread David Pollak
deprecate lift:bind/ because it's not the same thing. Please open a defect on this for me. --j On Fri, Apr 10, 2009 at 1:26 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Bob, They are actually the same thing. Lift's processing directives are simply built-in snippets. You can

[Lift] Re: Snippets; having trouble with a simple example

2009-04-10 Thread David Pollak
On Wed, Apr 8, 2009 at 4:13 PM, Douglas F Shearer douga...@gmail.comwrote: I've found the solution to this. It seems that for some reason I needed to provide the return type on the posts method, as so: def posts(html: NodeSeq): NodeSeq = { ... Odd it should fail in such a manner without

[Lift] Re: Small archetype bug?

2009-04-10 Thread David Pollak
I put non-Lift related logic stuff in lib. On Fri, Apr 10, 2009 at 12:23 PM, David Bernard david.bernard...@gmail.comwrote: Why adding a lib dir if it's useless ? /davidB On Fri, Apr 10, 2009 at 21:01, Timothy Perrett timo...@getintheloop.euwrote: Ignore me... im being dumb! Basic

[Lift] Re: (created|updated|deleted)_(by|at) trait

2009-04-10 Thread David Pollak
The not overly helpful answer... please look for the IdPK trait... you can see how to do stuff like this. If you're still stuck, I'll provide a more helpful answer. On Fri, Apr 10, 2009 at 4:39 PM, Franz Bettag i...@fbettag.de wrote: Hey guys, i had the (simple) idea of creating a trait for

[Lift] Re: n00b question on code in Starting with Lift (and some feedback)

2009-04-11 Thread David Pollak
On Sat, Apr 11, 2009 at 6:18 AM, Antony Courtney antony.court...@gmail.comwrote: I am an experienced Java / C++ / Haskell programmer, but new to Scala and Lift. I've been learning Scala for a few weeks and am just starting to learn about Lift. This question may show more about my ignorance

[Lift] Re: [scala] Google App Engine for Scala!

2009-04-11 Thread David Pollak
On Sat, Apr 11, 2009 at 12:53 AM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, On Fri, Apr 10, 2009 at 10:03 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Thank you! Thank you! Thank you! I'd like to kiss you (but my wife might get upset) Next time you come

[Lift] Re: Scala and Lift/JavaFX code similarieties

2009-04-11 Thread David Pollak
On Fri, Apr 10, 2009 at 10:14 PM, glenn gl...@exmbly.com wrote: Has anyone looked at JavaFX lately? Is there a common code base, or is it just coincidence that it looks and behaves a lot like Scala? No common code base that I know of. Perhaps the JavaFX guys are just borrowing great ideas

[Lift] Re: Exception thrown in Firefox but not in IE. What Gives????

2009-04-11 Thread David Pollak
On Fri, Apr 10, 2009 at 9:49 PM, glenn gl...@exmbly.com wrote: I'm getting concerned about the viability of a Lift/JQuery web solution. I am trying to implement a widget around the jquery.mbContainerPlus.1.7.6 plugin. I can get it to work in IE 7, but not in Firefox 3.08, where I get the

[Lift] Re: maven lift-archtype 1.0 generators don't work with jetty version 7.0.0.

2009-04-11 Thread David Pollak
On Fri, Apr 10, 2009 at 10:03 PM, glenn gl...@exmbly.com wrote: By the way, the maven lift-archetype-basic and blank ver 1.0 project generators don't work with jetty versions greater than 6.1.16. The new jetty 7.0.0 does not contain WebAppContext.class, which Lift requires. Yes. This is

[Lift] Re: n00b question on code in Starting with Lift (and some feedback)

2009-04-11 Thread David Pollak
point we'll find the right balance. :-) Thanks for your feedback and I look forward to a lot more! David -Antony On Sat, Apr 11, 2009 at 9:40 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Sat, Apr 11, 2009 at 6:18 AM, Antony Courtney antony.court...@gmail.com wrote

[Lift] Re: Exception thrown in Firefox but not in IE. What Gives????

2009-04-11 Thread David Pollak
, the container images worked fine in IE. So it seemed the elementsPath was OK. This leads me to believe there is some parsing going on in Lift that I just don't grasp. But, then again, it's probably something simple. Glenn Silverman On Apr 11, 6:53 am, David Pollak feeder.of.the.be...@gmail.com

[Lift] Re: Lift helloworld on App Engine: java.lang.NoClassDefFoundError: Could not initialize class net.liftweb.http.LiftRules$

2009-04-11 Thread David Pollak
See this fork of Lift:http://github.com/ymnk/liftweb/tree/master We'll roll the changes into 1.1-SNAPSHOT next week. On Sat, Apr 11, 2009 at 6:18 PM, Dave Briccetti da...@davebsoft.com wrote: Hi. Should this be working now, or are we waiting for code changes? 1. ... 2. W 04-11

[Lift] Re: JPA or JDO best for us on Google App Engine?

2009-04-11 Thread David Pollak
On Sat, Apr 11, 2009 at 10:21 PM, Oliver Lambert olambo...@gmail.comwrote: On Sun, Apr 12, 2009 at 2:54 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Sat, Apr 11, 2009 at 8:36 PM, mal3 malcolm.gor...@gmail.com wrote: We are going to use the Google App Engine (GAE) for our

[Lift] Re: Need Help with the RuntimeException

2009-04-12 Thread David Pollak
You have malformed XML in your view file. If you're using Lift 1.0, you should be able to type mvn test from the command line and all of the view files will be tested for correctness and failures should be reported. On Sun, Apr 12, 2009 at 1:55 AM, sailormoo...@gmail.com sailormoo...@gmail.com

[Lift] Re: stateful vs stateless snippet

2009-04-12 Thread David Pollak
On Sun, Apr 12, 2009 at 5:29 AM, Oliver Lambert olambo...@gmail.com wrote: On Sun, Apr 12, 2009 at 3:49 PM, marius d. marius.dan...@gmail.comwrote: As I said you CAN use it to span the same snippet instance for multiple pages. Please see the two fundamental functions offered by

[Lift] Re: JPA or JDO best for us on Google App Engine?

2009-04-12 Thread David Pollak
people think. Thanks! And the productivity of the authors is simply phenomenal. Mal. On Apr 12, 3:27 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Sat, Apr 11, 2009 at 10:21 PM, Oliver Lambert olambo...@gmail.com wrote: On Sun, Apr 12, 2009 at 2:54 PM, David Pollak

[Lift] Re: Attribute as MappedField efficiency concerns

2009-04-12 Thread David Pollak
To amplify on Marius' comment: The cost of extra classes is trivial. While there is start-up time associated with loading the classes, for a long-running process, you'll see no measurable difference for using lots of different classes. Martin has run the numbers and lots of other people have

[Lift] Re: Getting started source document

2009-04-12 Thread David Pollak
http://github.com/tjweir/liftbook/tree/ef3f7417ca2e3a5dde21667f0ca12c0c276329a8/getting_started On Sun, Apr 12, 2009 at 1:00 PM, Frederik Deweerdt frederik.dewee...@xprog.eu wrote: Hi folks, Is the source document of the Getting starded guide available somewhere? I'm following it and I

[Lift] Re: CRUDifying a model

2009-04-12 Thread David Pollak
In Boot.scala, when you're constructing the menu, put MyModel.menu (which returns a List[Menu]) in the list of menu items. On Sun, Apr 12, 2009 at 3:16 PM, ari arimat...@gmail.com wrote: I have a model defined with the CRUDify trait. I'm under the impression that I need to add something to

[Lift] Re: convention how to name classes in snippet package

2009-04-13 Thread David Pollak
On Mon, Apr 13, 2009 at 3:04 AM, Tobias Daub hannes.flo...@gmx.li wrote: Hi There, Is there any convention about how to name classes in the snippet package. In the ToDo example the snippet that corresponds to the ToDo Model was named TD which is maybe not the best name. Would it be

[Lift] Re: Attribute as MappedField efficiency concerns

2009-04-13 Thread David Pollak
On Sun, Apr 12, 2009 at 11:39 PM, Giuseppe Fogliazza g.foglia...@mcmspa.itwrote: I am astonished! Quality and reactivity of the forum is a perfect match with the brilliant ideas you put in the project. Flattery will get you very far. :-) I am looking forward to become proficient in Lift

[Lift] Re: label tag for generated input

2009-04-13 Thread David Pollak
def label(in: Elem): NodeSeq = label for={in \ @name} / ++ in bind(login, xhtml, username - label(SHtml.text(username, username(_))) How does that look? 2009/4/13 João Pereira joaomiguel.pere...@gmail.com Hello, I have the following snippet: HTML: div

[Lift] Re: Object typecast to Mapper

2009-04-13 Thread David Pollak
suggested but getting the error as I posted. Please advise. Thanks Amit Kumar Verma On Apr 10, 9:46 pm, David Pollak feeder.of.the.be...@gmail.com wrote: I think the .asJs method on all Mapper instances should give you the object in JavaScript representation. If you can post an entire file

[Lift] Re: http://demo.liftweb.net/ Source

2009-04-13 Thread David Pollak
http://github.com/dpp/liftweb/tree/master/sites/example 2009/4/13 João Pereira joaomiguel.pere...@gmail.com Where can I find the source for http://demo.liftweb.net/ ? joão -- Lift, the simply functional web framework http://liftweb.net Beginning Scala

[Lift] Re: XML Creation

2009-04-13 Thread David Pollak
From the ToDo sample code... the view code: lift:TD.list all_id=all_todos div id=all_todos divExclude done todo:exclude//div ul todo:list li todo:checkinput type=checkbox//todo:check

[Lift] Re: Automatically change Language (Locale)

2009-04-13 Thread David Pollak
In LiftRules: var localeCalculator: Box[HttpServletRequest] = Locale = defaultLocaleCalculator _ def defaultLocaleCalculator(request: Box[HttpServletRequest]) = request.flatMap(_.getLocale() match {case null = Empty case l: Locale = Full(l)}).openOr(Locale.getDefault()) You can change the

[Lift] Re: Custom Application Settings from XML

2009-04-13 Thread David Pollak
package com.myapp.lib object MyLanguages { lazy val languages: List[(String, String)] = { // code to read the XML file } } From your app: MyLanguages.languages.map(...) 2009/4/13 João Pereira joaomiguel.pere...@gmail.com One more newbie question: How do I make available a list of

[Lift] [ANN] Scala Lift Off, San Francisco 09

2009-04-13 Thread David Pollak
Folks, I'm pleased to announce the second Scala Lift Off user conference to be held in San Francisco on Saturday June 6th (the day after JavaOne.) The Scala Lift Off is the open spaces user conference for people interested in the Scala programming language and the Lift web framework. Last year,

[Lift] Re: [ANN] Scala Lift Off, San Francisco 09

2009-04-13 Thread David Pollak
Folks, The registration page is http://scalaliftoff.com (Sorry for forgetting the link.) Thanks, David On Mon, Apr 13, 2009 at 4:13 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, I'm pleased to announce the second Scala Lift Off user conference to be held in San Francisco

[Lift] Re: Need Help with the RuntimeException

2009-04-14 Thread David Pollak
It's likely that you saved your file with the wrong encoding. All XML and HTML files in Lift must be saved with a UTF-8 encoding. On Mon, Apr 13, 2009 at 8:47 PM, sailormoo...@gmail.com sailormoo...@gmail.com wrote: Thanks but the mvn test still gives ambigulous exceptions. A filename

[Lift] Re: In-built services documentation.

2009-04-14 Thread David Pollak
The wiki should be online today or tomorrow at the latest. We had a nasty DoS attack on our machine and we're working to restore services but we're also being a lot more careful about security this time and that means manually rebuilding the services rather than copying the old files. On Mon,

[Lift] Re: Eclipse tooling for Lift?

2009-04-14 Thread David Pollak
On Tue, Apr 14, 2009 at 4:46 AM, Miles Sabin mi...@milessabin.com wrote: I'm about to start putting together a Lift-based website for my Scala consulting business, and it struck me that it might be helpful if there were support for Lift applications, either as part of the main Scala IDE or

[Lift] Re: lift plugins/extensibility?

2009-04-14 Thread David Pollak
Lift doesn't have a formal plugin definition because none is necessary. In order to add modules to your application, you specify the modules in your Maven pom file (the only XML you'll have to touch to use Lift.) This makes sure that the module is available to your app. Next, you'll put one or

[Lift] Re: lift plugins/extensibility?

2009-04-14 Thread David Pollak
On Tue, Apr 14, 2009 at 8:23 AM, Mick Delaney mickdela...@gmail.com wrote: sorry guys. i didnt realise it was moderated (doh!!). Yeah... we are now getting about 10 spam messages a day, so new members are moderated. it's been almost 5 years since i did any java at all but i know how

[Lift] The Lift Wiki is back online

2009-04-14 Thread David Pollak
Folks, http://wiki.liftweb.net is back online. Thanks, David -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp

[Lift] Re: Liftweb without Maven?

2009-04-15 Thread David Pollak
On Tue, Apr 14, 2009 at 8:52 PM, tk050305cnx tk050305...@gmail.com wrote: On Apr 14, 7:53 pm, TylerWeir tyler.w...@gmail.com wrote: You'll have a better experience if you take the time to learn how maven works. Perhaps. But, it's a bit like this: Can I have a beer, please. We don't

[Lift] Re: create todo item during boot

2009-04-15 Thread David Pollak
Dude... it's the magic of dbAddTable in the MetaMapper object: in object ToDo... add: override def dbAddTable = Full(populate _) private def populate { ToDo.create.().save } When Schemifier adds a table, it will invoke the function specified by dbAddTable and that's

[Lift] Updates to Menu-related stuff

2009-04-15 Thread David Pollak
Folks, I just checked in new code for menu-related snippet stuff (note that this will only be available for local builds... our Hudson server is still not up): - For lift:Menu.builder/ there are a couple of new attributes: outer_tag=div (defaults to ul) and inner_tag=span (defaults to li).

[Lift] Re: Liftweb without Maven?

2009-04-16 Thread David Pollak
On Wed, Apr 15, 2009 at 9:37 AM, Alexander Kellett lypa...@gmail.comwrote: On Wed, Apr 15, 2009 at 5:26 PM, David Pollak feeder.of.the.be...@gmail.com wrote: While we are a community that welcomes newbies and tries to work with as many different people and with as many different styles

[Lift] Re: how to call my servlet from lift form

2009-04-16 Thread David Pollak
Pravin, Please see the Arc Challenge example: http://demo.liftweb.net/arc The view for the example is at: http://github.com/dpp/liftweb/blob/430b0abfc483a5c56856b169d2ac54a48257cdb4/sites/example/src/main/webapp/arc.html And the Scala code is at:

[Lift] Re: ANN: Mercurial liftweb mirror

2009-04-16 Thread David Pollak
On Thu, Apr 16, 2009 at 11:02 AM, bradford fingerm...@gmail.com wrote: Lift's GitHub code is now mirrored on bitbucket.org here: http://bitbucket.org/mirror/liftweb/. It will sync every hour. Great stuff! Thanks! -- Lift, the simply functional web framework http://liftweb.net

[Lift] Re: Code generate mapper class from existing database?

2009-04-16 Thread David Pollak
Greg Meredith did something along these lines... yoo hoo... greg... you around? On Thu, Apr 16, 2009 at 12:15 PM, jon jonhoff...@gmail.com wrote: Hi, Has anyone written a script to do that? Thanks, Jon -- Lift, the simply functional web framework http://liftweb.net Beginning Scala

[Lift] Re: CRUDifying a model

2009-04-16 Thread David Pollak
I've added new CRUDify stuff for 1.1 (Hudson is building right now). There are 4 methods that you can override: def showAllMenuLocParams: List[Loc.LocParam] = Nil def createMenuLocParams: List[Loc.LocParam] = Nil def viewMenuLocParams: List[Loc.LocParam] = Nil def editMenuLocParams:

[Lift] Re: Road Map of Lift

2009-04-17 Thread David Pollak
On Fri, Apr 17, 2009 at 6:05 AM, Timothy Perrett timo...@getintheloop.euwrote: Just in addition to this - Lift is very community driven, if there is something you really believe should make it into Lift core then we'll gladly listen to people's input and discuss it openly. That's exactly

[Lift] Re: Object typecast to Mapper

2009-04-17 Thread David Pollak
casting just like Java. This is an important feature. Thanks again Amit Kumar Verma On Apr 13, 10:10 pm, David Pollak feeder.of.the.be...@gmail.com wrote: I think it's best to use the built-in JSON creation code and keep the code as JsCmd as long as possible. Here's a snippet

[Lift] Re: [Lift committers] Re: Meeting

2009-04-17 Thread David Pollak
Lee, The reason that Lift has the richer MappedField and Field objects in Mapper and Record is to programmatically add this kind of functionality to fields. No, it's not PoJos, but it's as syntactically clean and a lot easier to understand/debug. Thanks, David On Fri, Apr 17, 2009 at 9:47 AM,

[Lift] Re: Lift works on Google App Engine (within the confines of what's possible)

2009-04-17 Thread David Pollak
On Fri, Apr 17, 2009 at 4:20 PM, Timothy Perrett timo...@getintheloop.euwrote: I just can't for the life of me figure out why anyone would want to put a Java/Scala app on GAE. The answer to this my good fellow, is simple: Marketing. D'oh! I'm such a dolt... I missed that one.

[Lift] Re: Object typecast to Mapper

2009-04-18 Thread David Pollak
at compile time. It's not poss... But we use this feature in Java for casting the objects. I will write this to scala group. I have also written you about the road map of lift. Thanks for your support Amit Kumar verma On Apr 17, 8:30 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Apr 17

[Lift] Re: Can't get applications to run in Jetty

2009-04-21 Thread David Pollak
It looks like you were editing some of the files with Eclipse which uses a different version of Scala than does Lift. If you try mvn clean jetty:run on your Mac, all should be good. On Tue, Apr 21, 2009 at 8:08 AM, Julian Howarth howar...@freenet.co.ukwrote: I've switched to my Linux box with

[Lift] Re: Is Lift the right tool for us?

2009-04-21 Thread David Pollak
On Tue, Apr 21, 2009 at 7:12 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: Hello, I've been lurking on this list for a while and trying out small things with Lift/Scala but thought I would ask the more experienced people around here before digging much deeper. First some background: I've

[Lift] Welcome Heiko Seeberger to the Lift committers

2009-04-21 Thread David Pollak
Folks, I'm pleased to announce that Heiko Seeberger has joined the Lift commiters. I'm expecting cool OSGi related stuff to be in Lift very soon. Please join me in welcoming him. Thanks, David -- Lift, the simply functional web framework http://liftweb.net Beginning Scala

[Lift] Re: anybody looked at the 280north stuff?

2009-04-21 Thread David Pollak
On Tue, Apr 21, 2009 at 10:42 AM, Raoul Duke rao...@gmail.com wrote: http://280north.com/blog/2009/02/announcing-atlas/ i'm curious how it really pans out. I looked at it a year ago and helped them out in terms of choosing licenses and business models. Have not had a chance since to look

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread David Pollak
Franz, In the createdOn field: object createdOn extends MappedLong(this) { override def dbDisplay_? = false } This will exclude the field from display. Does this help? Thanks, David On Mon, Apr 20, 2009 at 7:19 PM, Franz Bettag i...@fbettag.de wrote: Hey there, is there any way to

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread David Pollak
dbDisplay_? = false } } On 21 Apr., 20:05, David Pollak feeder.of.the.be...@gmail.com wrote: Franz, In the createdOn field: object createdOn extends MappedLong(this) { override def dbDisplay_? = false } This will exclude the field from display. Does this help? Thanks

[Lift] Re: ajax form that submits multiple values?

2009-04-21 Thread David Pollak
Howdy, This is a bug in how Ajax forms are submitted (it's a browser-level bug.) The submit button is not serialized as part of the thing that's sent to the server. I'd suggest the following: submit - SHtml.hidden(Add user, processEntryAdd) ++ input type=submit value=Add User/ Thanks, David

[Lift] Re: CRUDifying a model

2009-04-21 Thread David Pollak
On Sun, Apr 19, 2009 at 3:44 AM, Tobias Daub hannes.flo...@gmx.li wrote: Do I understand it right..before I had to do this access stuff in Boot.scala. But those new methods I've to override directly in the companion object of the class that inherits from CRUDify? Is that right? I dont

[Lift] Re: Moving to streaming upload API

2009-04-21 Thread David Pollak
Let's add it to the 1.1 backlog and see where we get. It might work out well for the refactoring of Req due to the coding of portlets, etc. On Tue, Apr 21, 2009 at 12:28 PM, Tim Perrett timo...@getintheloop.euwrote: Guys, I've been taking a close look at the way lift handles uploads. Right

[Lift] Re: Moving to streaming upload API

2009-04-21 Thread David Pollak
On Tue, Apr 21, 2009 at 12:38 PM, Timothy Perrett timo...@getintheloop.euwrote: +1, having the choice would be good. Seems like it would be simple to add it to LiftRules for user configuration. @dpp What other re-factoring of Req did you have in mind? Id have a poke about with the streaming

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread David Pollak
that to false, the field will be included in display, but not in input forms. On 21 Apr., 20:31, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Apr 21, 2009 at 11:27 AM, Franz Bettag i...@fbettag.de wrote: Idea 8 doesn't even list that in the Override List, in addition it doesn't

[Lift] Re: Why can eclipse never find: org.mortbay.jetty.webapp.WebAppContext

2009-04-21 Thread David Pollak
Please make it so. On Sun, Apr 19, 2009 at 1:59 PM, Timothy Perrett timo...@getintheloop.euwrote: Hey Heiko, This was my feeling - im aware that class does not exist in version 7... I guess my point was do we need to change the lift-archetype so that it explicitly defines jetty 6? It seems

[Lift] Re: Object typecast to Mapper

2009-04-21 Thread David Pollak
Amit, Class.forName(...) is called reflection in Scala/Java land. It allows you to get a class based on a String. You can then create a new instance of the class with the newInstance() method. However, what you get is an instance of Object... and you have to case it into something else before

[Lift] Re: CRUDify and hidden fields?

2009-04-21 Thread David Pollak
On Tue, Apr 21, 2009 at 2:04 PM, Franz Bettag i...@fbettag.de wrote: One last stupid rookie question.. i've checked out lift from github, ran mvn compile (which showed success on everything), now i am kinda stuck. what's the best practice to get rolling from here? You don't need to do that.

[Lift] Re: Can't get applications to run in Jetty

2009-04-21 Thread David Pollak
One final thing... try: rm -rf ~/.m2/repositories There may be a corrupted JAR file in your Maven repository. On Tue, Apr 21, 2009 at 3:13 PM, Julian Howarth howar...@freenet.co.ukwrote: On Apr 21, 6:41 pm, David Pollak feeder.of.the.be...@gmail.com wrote: It looks like you were editing

[Lift] Lift and Bespin... a new way to develop web apps...

2009-04-21 Thread David Pollak
Folks, I spent an hour with Dion Almaer http://almaer.com/blog/ yesterday. Dion is one of the guys behind Bespin https://bespin.mozilla.com/. Dion and I blocked out how Lift, when running in developer mode, could expose data via JSON giving Bespin information about the Lift app and read/write

[Lift] Re: Avoiding polling when using Comet. Reverse AJAX

2009-04-22 Thread David Pollak
On Wed, Apr 22, 2009 at 12:53 AM, Alexander Kellett lypa...@gmail.comwrote: are you sure this isn't the gc poll? It's not the GC ping i agree 10 seconds is too short (thats a lot of traffic...) 10 seconds, as Marius pointed out, is the periodicity of the app because the clock is

[Lift] Re: Netbeans 6.5 Out of Memory Error with 4MB file forces Eclipse for me

2009-04-22 Thread David Pollak
On Tue, Apr 21, 2009 at 10:15 PM, jsm2prof jsm2p...@googlemail.com wrote: Netbeans 6.5 gave me an Out of Memory Error when I loaded a 4MB file. If you've got a 4MB scala source code file, I'd suggest refactoring a little bit. If it's a 4MB text file, you'd likely be better served with vi or

[Lift] Re: CRUDifying a model

2009-04-22 Thread David Pollak
On Wed, Apr 22, 2009 at 1:00 AM, Tobias Daub hannes.flo...@gmx.li wrote: Hi Dave, First, is this 1.1 version already in the repository, will maven automatically get it? When you build, do mvn -U clean jetty:run The -U flag forces the updated Second, where do I have to override those

[Lift] Re: your first Lift application on GAE/J

2009-04-22 Thread David Pollak
Freekin' awesome stuff! Please keep it coming! Rock and Roll! On Wed, Apr 22, 2009 at 1:39 AM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi there, Let me introduce you the brief tutorial to deploy simple lift application to Google App Engine for Java(GAE/J) . Now, Lift

[Lift] Re: using Lift templates stand alone inside other frameworks like JAXRS?

2009-04-22 Thread David Pollak
On Wed, Apr 22, 2009 at 9:16 AM, James Strachan james.strac...@gmail.comwrote: 2009/4/22 David Pollak feeder.of.the.be...@gmail.com: James, This is an interesting idea that more than one person has expressed excitement about. Jorge Ortiz (one of the Lift committers) was puttering

[Lift] Re: lift and background processing

2009-04-22 Thread David Pollak
I think Tim has an app that does exactly this. He uses Actors. Perhaps he'll be able to share code. On Wed, Apr 22, 2009 at 1:38 PM, Rogelio rogbo...@gmail.com wrote: Hi, New to the forum and new to Scala/Lift. In a previous Ruby Rails project, I needed to generate some PDF files on the

[Lift] Re: HAML-style template syntax?

2009-04-22 Thread David Pollak
On Wed, Apr 22, 2009 at 1:36 PM, Jacob jacobno...@gmail.com wrote: HAML (http://haml.hamptoncatlin.com/) offers super-clean syntax for producing html/xml. It basically cuts the characters spent on structure in half - you only need to write the open tags and then the tags are closed by

[Lift] Re: Why no BLOB for Derby?

2009-04-22 Thread David Pollak
Dunno... care to fix it? :-) On Wed, Apr 22, 2009 at 1:40 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: The DerbyDriver object has the binaryColumnType set to LONG VARCHAR FOR BIT DATA instead of BLOB. Is there a specific reason why we're not using BLOB there like we do with other

[Lift] Re: Why no BLOB for Derby?

2009-04-22 Thread David Pollak
it if there was a reason we didn't use it. Derek On Wed, Apr 22, 2009 at 2:57 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Dunno... care to fix it? :-) On Wed, Apr 22, 2009 at 1:40 PM, Derek Chen-Becker dchenbec...@gmail.com wrote: The DerbyDriver object has

[Lift] Re: bitrot

2009-04-22 Thread David Pollak
Loc(REPLForm.1, /AJAXREPLForm, R-E-P-L, If(User.loggedIn_? _, x)) - Loc(REPLForm.1, List(AJAXREPLForm), R-E-P-L, If(User.loggedIn_? _, x)) On Wed, Apr 22, 2009 at 4:53 PM, Meredith Gregory lgreg.mered...@gmail.comwrote: Lifted, Apparently i'm not keeping pace with the Jones'. The following

[Lift] Welcome Greg Meredith to the Lift committers

2009-04-22 Thread David Pollak
Folks, It's been a new-commiter-o-rama lately... and I'm wicked pleased to announce that Greg Meredith has agreed to join the Lift committers. Greg has applied his vast mathematical mind to computing over the years. I'm psyched that Greg will be applying his brain to Lift. Please join me in

[Lift] Re: Netbeans 6.5 Out of Memory Error with 4MB file forces Eclipse for me

2009-04-23 Thread David Pollak
it. Please also see Daniel's excellent comments on this thread. Thanks, David On Apr 22, 10:45 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Apr 21, 2009 at 10:15 PM, jsm2prof jsm2p...@googlemail.com wrote: Netbeans 6.5 gave me an Out of Memory Error when I loaded a 4MB

[Lift] Re: Proxy settings for services

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 2:20 AM, aborg aborga...@gmail.com wrote: Hi All, I checked the Lift book, wiki, and mail archives, but not found any way to get/set general proxy settings. I believe (and I could be wrong) that the proxy settings are done on a service-by-service basis rather than

[Lift] Re: Comet - Unique to each page

2009-04-23 Thread David Pollak
On Wed, Apr 22, 2009 at 6:53 PM, bradford fingerm...@gmail.com wrote: I noticed in the chat demo that if you enter your name or chat into one tab, the same results will propagate to the other tab. I need a short lived comet session that's unique to each tab -- I want to prevent one tab from

[Lift] A Lift preso

2009-04-23 Thread David Pollak
http://www.slideshare.net/itemis/lift-mit-scala-ein-befrderungsmittel-in-die-nchste-etage-der-web-frameworks-presentation -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some:

[Lift] Re: Comet - Unique to each page

2009-04-23 Thread David Pollak
on and in that situation, you also work around the 2 connection limit. Thanks On Apr 23, 9:12 am, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Apr 22, 2009 at 6:53 PM, bradford fingerm...@gmail.com wrote: I noticed in the chat demo that if you enter your name or chat

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread David Pollak
On Thu, Apr 23, 2009 at 8:30 AM, Andrew Scherpbier and...@scherpbier.orgwrote: Hi kkarad, I'm a fellow newbie to lift (and scala) and ran into the same issue. I believe the solution is simple: You need to create entries in your SiteMap for every page. You'll need to do that in your

[Lift] Re: Cannot access html files other than index.html in GAE using lift

2009-04-23 Thread David Pollak
: - Serving turd pages left behind by the developers or from an older version of the app - Serving pages that can only be viewed if you're logged in Lee re: documentation, I tripped on this getting started as well. On Thu, Apr 23, 2009 at 8:45 AM, David Pollak feeder.of.the.be

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