Re: [Lift] **IMPORTANT** Lift ticketing system has moved to Assembla

2010-02-07 Thread Timothy Perrett
We also need to change the liftweb.net site... dont forget that. Cheers, Tim On 6 Feb 2010, at 21:17, Indrajit Raychaudhuri wrote: Folks, Following David's announcement about moving our ticketing system to Assembla [1], the migration is complete and we have now completely moved from

Re: [Lift] Forcing Authentication not working

2010-02-07 Thread Timothy Perrett
How odd - why dont you just match on the req unapply rather that this awkward sub match? You need to do something like: LiftRules.httpAuthProtectedResource.prepend { case Req(restricted :: _,_,_) = Full(AuthRole(admin)) } LiftRules.authentication =

Re: [Lift] Maven vs. you don’t need to write anyt hing that isn’t explicitly necessary for the task at hand

2010-02-07 Thread Timothy Perrett
Of course we thought of that already. You can do: mvn archetype:generate -DarchetypeCatalog=http://scala-tools.org/ That sound help you out. Moreover, SBT is not so ugly... Cheers, Tim On 7 Feb 2010, at 14:10, mjy wrote: Posting here even though it's not really a support issue: I've just

[Lift] Re: Are there Maven artifacts for snapshot or milestone releases?

2010-02-07 Thread Timothy Perrett
Would be nice if you could have written an email body - subject only emails bug the ass out of me ;-) You mean like: http://scala-tools.org/repo-snapshots/net/liftweb/ or the hudson builds into nexus? Otherwise, you'll have to clarify exactly what your asking (herewith the problem with

[Lift] Re: Redirect after post ?

2010-02-07 Thread Timothy Perrett
Of course its possible. def myMethod = { def submitHandler(){ // after post, redirect S.redirectTo(/my/page) } bind(., submit - SHtml.submit(submitHandler)) } Cheers, Tim On Feb 7, 2:53 pm, Francois fan...@gmail.com wrote: Hello guys, A common pattern to avoid duplicate

Re: [Lift] Re: Lift Google Summer of Code?

2010-02-07 Thread Timothy Perrett
It would require one of the committers to essentially act as a mentor - someone who knows Lift very well would need to mentor the candidate and dedicate a fair amount of time to the program. We looked at doing it last year if memory serves... Cheers, Tim On 7 Feb 2010, at 17:29, Peter

Re: [Lift] Re: HTTP Reason Phrase

2010-02-07 Thread Timothy Perrett
reason phrase, but Chrome displays the standard one instead. Erkki L On Feb 7, 1:08 pm, Timothy Perrett timo...@getintheloop.eu wrote: If you want to alter the Reason-Phrase, you can already do that - objects like NotFoundResponse are just helpers on InMemoryResponse... nothing stopping you

[Lift] Re: Potential breakage: Choosing the default Lift logging backend

2010-02-06 Thread Timothy Perrett
Jeppe, Certainly 2 has to be the way to go. We can add stuff to the archetypes to ease this process for users. Moreover, we could add specific lift modules that carried the right dependencies and boot wire up to save the users writing boilerplate. i.e.: + lift-logging \ - lift-log4j \ -

Re: [Lift] Re: Error messages are not displayed - 2.0-M1

2010-02-06 Thread Timothy Perrett
wow, thats some ugly code man. Why dont you try something like: def validateAndSave { currentEntry.validate match { case Nil = currentEntry.save S.notice(currentEntry.title + SAVED!) case List(fielderror) = S.error(fielderror.msg) case _ = } } I havent tested it of

[Lift] LiftRules inconsistencies (including FactoryMaker grump)

2010-02-05 Thread Timothy Perrett
Guys, I just wanted to have a grumpy moan about FactoryMaker. Now, this must easily be the most complicated / confusing piece of scala code in Lift. Its totally non-trivial implementation and its levels of miss- direction (and total lack of examples) make it an utter nightmare to figure out what

[Lift] Re: LiftRules inconsistencies (including FactoryMaker grump)

2010-02-05 Thread Timothy Perrett
to me why not just using function like: LiftRules.stripComments: () = Boolean Maybe I missed previous talks, or just not remember it it doesn't look that API simplified or became more intuitive by adding FactoryMakers ... Br's, Marius On Feb 5, 5:35 pm, Timothy Perrett timo...@getintheloop.eu

Re: [Lift] LiftRules inconsistencies (including FactoryMaker grump)

2010-02-05 Thread Timothy Perrett
. stripComments might say: * To strip comments from all resources served by lift: *LiftRules.stripComments.default.set(() = false) * To strip only for a certain request: *... -Ross On Feb 5, 2010, at 1:41 PM, David Pollak wrote: On Fri, Feb 5, 2010 at 7:35 AM, Timothy

Re: [Lift] Re: S.params disappear?

2010-02-05 Thread Timothy Perrett
Agreed - based on the code, its a systemic issue with Tomcat rather than the proxy. Consider swapping to another container if that is a viable option... Cheers, Tim On 5 Feb 2010, at 19:04, Ross Mellgren wrote: Looking at the tomcat code, it seems pretty likely this is a Tomcat-specific

Re: [Lift] Facebook Application

2010-02-04 Thread Timothy Perrett
Seems like this would be a good task to assign to one of the new / free of task committers? It probably wouldn't take a huge amount of work to clean it up right? Ideally we want to avoid having modules in Lift that are totally unsupported :-) Cheers, Tim On 3 Feb 2010, at 22:52, David Pollak

[Lift] Re: S.params disappear?

2010-02-04 Thread Timothy Perrett
Yeah, try dumping the Req instance and seeing what is there - if its empty, then you can be sure its Tomcat causing the problem and not Lift. Cheers, Tim On Feb 4, 8:03 am, Naftoli Gugenheim naftoli...@gmail.com wrote: Just to double-check, can you acces the form data via the HTTPRequest?

Re: [Lift] [lift] Comet making jetty take a long time to shutdown

2010-02-04 Thread Timothy Perrett
Are you seeing a stack trace? Cheers, Tim On 4 Feb 2010, at 10:15, Channing Walton wrote: Hi, I've added some comet-fu in my lift app but I've found that it now takes a minute or so for jetty to shut down. Is there something I should have done to enable things to shutdown quicker?

[Lift] Re: Lift Deployment

2010-02-04 Thread Timothy Perrett
Arie, Getting your deployment server setup is the first thing. Getting Jetty, Glassfish or others working is not really a question for this list, but when they are running (see the respective container documentation) you should just be able to drop the compiled war file (created with mvn clean

Re: [Lift] Github issue browser

2010-02-03 Thread Timothy Perrett
Really nice stuff naftoli!! Cheers, Tim On 3 Feb 2010, at 04:44, Naftoli Gugenheim wrote: If anyone finds github's issue manager too limited, I made a teeny little app that lets you list the issues in a more configurable way. All comments welcome!

Re: [Lift] Is there any way to set default source encoding in Lift2.0-scala280 ?

2010-02-03 Thread Timothy Perrett
Do not use the 2.8 port of Lift yet... its mostly broken. Please use 2.7.7 until the official 2.8 release is out. Cheers, Tim On 3 Feb 2010, at 02:00, pomu0325 wrote: Hi, I'm quite a newbie to Lift. I'm now trying to port my first Lift application from Lift1.0.2 to latest Lift2.0-scala280,

Re: [Lift] Lift security vulnerability

2010-02-03 Thread Timothy Perrett
+1 Fix it in head, no need to back-port; M2 is only around the corner. Cheers, Tim On 3 Feb 2010, at 09:49, Jeppe Nejsum Madsen wrote: David Pollak feeder.of.the.be...@gmail.com writes: I'd like to get a sense of how important the community views this defect. Is it a backport the fix to

Re: [Lift] Handle OOM

2010-02-03 Thread Timothy Perrett
+1 JVM flags are like major ninja foo. Cant wait! Cheers, Tim On 3 Feb 2010, at 16:12, Naftoli Gugenheim wrote: Looking forward! - David Pollakfeeder.of.the.be...@gmail.com wrote: I've got a work in progress jvm memory options for Lift post... but

Re: [Lift] Re: Tomcat/Apache ESME: Shutdown Problems

2010-02-03 Thread Timothy Perrett
See: http://is.gd/7Dzv4 Cheers, Tim On 3 Feb 2010, at 19:58, Dick Hirsch wrote: David, Thanks. Is the new StandardDBVendor just available the 2.0 Snapshot? Do you have a link to a description of the StandardDBVendor, D. On Feb 3, 8:30 pm, David Pollak

Re: [Lift] Re: Lift 2.0 on Scala 2.8 update

2010-02-03 Thread Timothy Perrett
, Jan 31, 2010 at 12:44 PM, Timothy Perrett timo...@getintheloop.euwrote: Im just doing a fresh clone and checkout to see if something was screwed in my local build. Cheers, Tim On Jan 31, 7:44 pm, Indrajit Raychaudhuri indraj...@gmail.com wrote: I was suspecting Java 1.5 (if you were on 10.5

[Lift] Since when did Record depend on Derby and H2??

2010-02-02 Thread Timothy Perrett
Guys, Just found this in my deps tree: [INFO] | | \- net.liftweb:lift-record:jar:2.0-SNAPSHOT:compile [INFO] | | +- net.liftweb:lift-mapper:jar:2.0-SNAPSHOT:compile [INFO] | | +- com.h2database:h2:jar:1.2.127:runtime [INFO] | | \- org.apache.derby:derby:jar:10.5.3.0_1:runtime

Re: [Lift] Prevent leaving page if unsaved

2010-02-02 Thread Timothy Perrett
Try: window.onbeforeunload = function(evt){ var reply= You have unsaved changes!; if(typeof evt == 'undefined'){ evt = window.event; } if(evt){ evt.returnValue = reply; } return reply; } Cheers, Tim On 2 Feb 2010,

Re: [Lift] ProtoUser i18n

2010-02-02 Thread Timothy Perrett
there. Tim, +1 on not having spaces in properties. Cheers, Indrajit On 02/02/10 10:41 PM, Timothy Perrett wrote: Sure - one of us will take this up... its minor. I propose we agree a policy, and use that going forward... should keys have spaces? no would be my default response... (i

Re: [Lift] How to use API offline?

2010-02-02 Thread Timothy Perrett
Clone lift from git, cd into the framework directory and run: mvn scala:doc Cheers, Tim On 2 Feb 2010, at 22:35, Strom wrote: Hi, I'm traveling, and I have about an hour to figure out how to download the liftweb 1.1 API so I can continue to work offline for the next few days. I've done

Re: [Lift] Re: How to use API offline?

2010-02-02 Thread Timothy Perrett
] And after this, where can I view the doc? Sorry...I'm not very polished on maven. On Feb 2, 10:52 pm, Timothy Perrett timo...@getintheloop.eu wrote: Clone lift from git, cd into the framework directory and run: mvn scala:doc Cheers, Tim On 2 Feb 2010, at 22:35, Strom wrote: Hi, I'm

Re: [Lift] Re: How to use API offline?

2010-02-02 Thread Timothy Perrett
] And after this, where can I view the doc? Sorry...I'm not very polished on maven. On Feb 2, 10:52 pm, Timothy Perrett timo...@getintheloop.eu wrote: Clone lift from git, cd into the framework directory and run: mvn scala:doc Cheers, Tim On 2 Feb 2010, at 22:35, Strom wrote

Re: [Lift] Single log in for three contexts

2010-02-01 Thread Timothy Perrett
Chas, I've done exactly this using a cookie with a 192bit encrypted value. I cant share the code, but i would advise you to make a LocParam subtype and use that as the authenticator as it is evaluated much before anything else. Cheers, Tim On 29 Jan 2010, at 23:02, c...@munat.com wrote: I

Re: [Lift] Re: Netty integration

2010-01-31 Thread Timothy Perrett
I've looked at your code and it looks good - im not a couch user, but the implementation looks good to me. Push to master ;-) Cheers, Tim On 27 Jan 2010, at 16:31, Marius wrote: I'd strongly encourage you to do it. I was planning to work on it but I never seem to find slots for it :( If

Re: [Lift] Re: Image resize code

2010-01-31 Thread Timothy Perrett
IMO, these are separate concerns. lift-imaging is purely for image manipulation and caching etc does not belong there. Cheers, Tim On 28 Jan 2010, at 20:25, Strom wrote: By caching I mean like EHCache, where you serve an image from the cache (some folder on the file system) instead of

Re: [Lift] lift-couchdb

2010-01-31 Thread Timothy Perrett
Ross, I've just got back from Italy... taken a look at your code and it looks good to me. Go for it :) Cheers, Tim On 25 Jan 2010, at 19:24, David Pollak wrote: Ross, Thanks for this contribution!! I don't have the bandwidth to review it but would encourage folks from the community

[Lift] Re: static data

2010-01-31 Thread Timothy Perrett
You could in theory have some run task that just essentially executed a bunch of mapper calls, but it sounds like you want more of a build up and tear down approach a la: http://code.google.com/p/scala-migrations/ Perhaps that is what you are after? Cheers, Tim On Jan 31, 11:59 am, Channing

[Lift] Re: Lift 2.0 on Scala 2.8 update

2010-01-31 Thread Timothy Perrett
I just attempted to build the branch and got the following: Running net.liftweb.common.BoxSpecTest org.apache.maven.surefire.booter.SurefireExecutionException: org/specs/ matcher/AnyBaseMatchers$$anon$4; nested exception is java.lang.NoClassDefFoundError: org/specs/matcher/AnyBaseMatchers$$anon

Re: [Lift] Re: Lift 2.0 on Scala 2.8 update

2010-01-31 Thread Timothy Perrett
in. Just to confirm - the maintained 2.8 port branch is 280_port_refresh. Cheers, Indrajit On 31/01/10 11:02 PM, Timothy Perrett wrote: I just attempted to build the branch and got the following: Running net.liftweb.common.BoxSpecTest

[Lift] Re: Lift 2.0 on Scala 2.8 update

2010-01-31 Thread Timothy Perrett
compare with the Hudson copy (http://hudson.scala-tools.org/view/Lift/job/lift-framework-scala280/) - IRC On 01/02/10 12:55 AM, Timothy Perrett wrote: macbookpro:lift-framework timperrett$ java -version java version 1.6.0_17 Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025

[Lift] Re: Lift 2.0 on Scala 2.8 update

2010-01-31 Thread Timothy Perrett
OK, so that really didn't help. How is it building OK on hudson?! That makes no sense at all. I guess for the moment i'll just have to work with the JARs built by hudson. Cheers, Tim On Jan 31, 8:44 pm, Timothy Perrett timo...@getintheloop.eu wrote: Im just doing a fresh clone and checkout

Re: [Lift] Re: Upgrade to Flot 0.6

2010-01-31 Thread Timothy Perrett
It seems like peter will take ownership of this and make it happen ASAP so a patch / diff should not be needed. Peter, please confirm when you will roll this in a branch and put it on review board? Cheers, Tim Sent from my iPhone On 31 Jan 2010, at 22:48, Aaron Valade aval...@gmail.com

Re: [Lift] Welcome Jeppe to the Lift committers

2010-01-22 Thread Timothy Perrett
Massively overdue welcome Jeppe! What are you hoping to contribute to Lift? Cheers, Tim On 22 Jan 2010, at 16:25, David Pollak wrote: Folks, Please join me in welcoming Jeppe as a Lift Committer. He's been helping people on the Lift list and contributing his thoughts to the Lift

Re: [Lift] buildr?

2010-01-22 Thread Timothy Perrett
Alex, Can I suggest you distill your own learning onto the wiki? Cheers, Tim On 22 Jan 2010, at 01:51, Alex Boisvert wrote: On Thu, Jan 21, 2010 at 5:17 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Jan 21, 2010 at 5:03 PM, Raoul Duke rao...@gmail.com wrote: hi,

Re: [Lift] web site critique

2010-01-21 Thread Timothy Perrett
The site is not perfect, we know that... we are trying to work on it but progress is slow for a variety of reasons. On 22 Jan 2010, at 00:34, Raoul Duke wrote: hi, On Thu, Jan 21, 2010 at 4:32 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Jan 21, 2010 at 4:29 PM, Raoul

Re: [Lift] Welcome Mads Hartmann Jensen to the Lift Committers

2010-01-19 Thread Timothy Perrett
Welcome Mads, what are you planning on contributing to start with? Send me offline a picture and description of yourself so I can add you to liftweb.net Cheers, Tim Sent from my iPhone On 19 Jan 2010, at 19:15, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Please join me

[Lift] Re: Welcome Mads Hartmann Jensen to the Lift Committers

2010-01-19 Thread Timothy Perrett
I see - cool. Anything else you wanted to work on or contribute? Cheers, Tim On Jan 19, 10:12 pm, Mads Hartmann mads...@gmail.com wrote: Thanks guys :) @Timothy Perrett Unless someone beats me to the punch I was thinking about solving this:http://github.com/dpp/liftweb/issues#issue/46 I

[Lift] Re: An experience report using Scala Lift

2010-01-18 Thread Timothy Perrett
Jeppe, Very interesting stuff - agree with most of your points, however, this statement: While you can’t get code into your templates, it’s easy to get UI into your code, which is (almost) just as bad. The dynamic part of the UI is done by snippets and they of course need to emit HTML. But it is

Re: [Lift] Re: Need jquery jgGrid working example (Firefox problem)

2010-01-17 Thread Timothy Perrett
To clarify, its a problem with those JQuery plugins, not lift... those plugins incorrectly use document.write which is not supported in XHTML. Cheers, Tim On 17 Jan 2010, at 12:08, Marius wrote: yes some of the JQuery plugins are not working properly with xhtml. Br's, Marius On Jan 17,

Re: [Lift] Re: Hook into snippet creation

2010-01-17 Thread Timothy Perrett
Check back in the group archives for dependency injection - we've discussed this at length many times. Cheers, Tim On 17 Jan 2010, at 21:19, Marius wrote: I guess it depends what kind of dependencies you had in mind ... DI frameworks are not very popular with Lift and I tend to think because

Re: [Lift] Re: 1.1: children of menu items do not appear

2010-01-16 Thread Timothy Perrett
Try: mvn -U clean jetty:run Cheers, Tim On 16 Jan 2010, at 17:15, Tim Nelson wrote: Did you clean out your code before you updated? I don't use maven, so I'm not sure of the exact command, but that seems to come up a lot on this list. If you indeed did clean out the code before updating,

Re: [Lift] Re: ConversionRules

2010-01-15 Thread Timothy Perrett
+1 on the Box... that is the lift idiom. Cheers, Tim On 15 Jan 2010, at 07:18, Marius wrote: I'd strongly suggest: 1. All should return Box. In case of parsing failure for example return a Failure. 2. If a param is null, inside your method use (Box !! param) which would give you an Empty

Re: [Lift] Re: [Lift committers] Re: Image resize code

2010-01-15 Thread Timothy Perrett
Cool stuff Ross, whats the overhead like in terms of memory etc? I might have a bit of time to put this into a module and stuff it on review board. Cheers, Tim On 15 Jan 2010, at 15:03, Ross Mellgren wrote: According to Jon on the call, he said he was putting together just such a lift

[Lift] Re: Image resize code

2010-01-15 Thread Timothy Perrett
I'm not sure how that could be improved offhand. If you want to wrap it up and put it in, that'd be awesome! -Ross On Jan 15, 2010, at 10:17 AM, Timothy Perrett wrote: Cool stuff Ross, whats the overhead like in terms of memory etc? I might have a bit of time to put

Re: [Lift] Oauth tutorial?

2010-01-14 Thread Timothy Perrett
lift-oauth is an OAuth SERVER... you want an OAuth CLIENT. Try dispatch: http://dispatch.databinder.net/About as it already has a twitter client built in. Cheers, Tim On 14 Jan 2010, at 10:20, Mads Hartmann wrote: Hey everyone I'm about to re-write the last part of my project - the

[Lift] Re: Code generation plugin for SBT

2010-01-14 Thread Timothy Perrett
skeleton corresponding to lift-archetype-blank / lift-archetype-basic in mvn repo. I've not finished it yet, but as soon as I finished and tested it works, I will send a pull request on GitHub. On 1月11日, 上午2時22分, Timothy Perrett timo...@getintheloop.eu wrote: Hi all, I've started a little

Re: [Lift] Re: Lift and Akka Actors in comparison?

2010-01-14 Thread Timothy Perrett
David, have you actually mixed Akka actors with Lift comet actors (that is, akka actors powering our comet)? I keep meaning to try this, but havent yet. Cheers, Tim On 14 Jan 2010, at 22:57, David Pollak wrote: Akka actors and Lift Actors share the same interface. Scala Actors do not share

[Lift] Re: Lift and Akka Actors in comparison?

2010-01-14 Thread Timothy Perrett
appears to be fixed to LiftActor and there arnt any type parameters? trait CometActor extends LiftActor with LiftCometActor with BindHelpers Cheers, Tim On Jan 14, 11:49 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Thu, Jan 14, 2010 at 3:48 PM, Timothy Perrett timo

[Lift] Re: Show the deprecated messages

2010-01-13 Thread Timothy Perrett
Something like: plugin groupIdorg.scala-tools/groupId artifactIdmaven-scala-plugin/artifactId version2.12.2/version configuration jvmArgs jvmArg-Xmx1024m/jvmArg /jvmArgs args arg-unchecked/arg

Re: [Lift] Squid with lift?

2010-01-13 Thread Timothy Perrett
Only if you want a caching proxy im not sure what your driving at really as the nginx wiki does a pretty good job of explaining what it is used for. We only really recommend NGINX because its what we use, however, you are free to use whatever you want... jetty standalone, some other proxy

Re: [Lift] NGinx and sticky sessions

2010-01-13 Thread Timothy Perrett
Nginx offers weighted round robin requests if memory serves... what does your config look like? The upstream module should be cool for what you want. http://wiki.nginx.org/NginxHttpUpstreamModule See that it uses class-c ip hashing to always distribute requests to the same backend node...

Re: [Lift] Re: NGinx and sticky sessions

2010-01-13 Thread Timothy Perrett
To follow up this thread for completeness, I communicated to Marius that he needs to use: http://wiki.nginx.org/NginxHttpUpstreamRequestHashModule Which should do what he wants. Cheers, Tim On 13 Jan 2010, at 12:02, Marius wrote: On Jan 13, 1:42 pm, Timothy Perrett timo

Re: [Lift] Re: Scheduling the San Francisco Scala Lift Off

2010-01-13 Thread Timothy Perrett
There is an EU meet-up at EPFL in April... thats as good as we are going to get (until there is more UK lift following)! Cheers, Tim On 13 Jan 2010, at 17:35, Stuart Roebuck wrote: Or Edinburgh? :-) On Jan 13, 12:22 pm, Mads Hartmann mads...@gmail.com wrote: Was is 'Scala Lift Off' ? I

[Lift] Re: Recommendations for a Web Designer familiar with Lift?

2010-01-13 Thread Timothy Perrett
Provided they know (and care) about XHTML, any designer can learn lift templates... its one of its major selling points IMHO. -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe

Re: [Lift] Re: Lift - GAE Version

2010-01-13 Thread Timothy Perrett
This is correct - many part of lift don't work on GAe... So far, we've seen little need for it as the vast majority of users simply want more than GAE can offer. Cheers, Tim Sent from my iPhone On 13 Jan 2010, at 22:51, Randinn rand...@gmail.com wrote: The problem as far as I know is the

Re: [Lift] Using Lift to Build stand alone multi threaded (multi actor?) apps. (was Lift based backend server subscribing via amqp)

2010-01-12 Thread Timothy Perrett
with rabbitmq and ideally something that provides the same service for me talk to a database via scala. I haven't seen Akka before, so I'll take a look at that :). Would you say mapper is worth it? On Tue, Jan 5, 2010 at 2:23 AM, Timothy Perrett timo...@getintheloop.euwrote: It depends

Re: [Lift] Re: problems with file upload inside modal

2010-01-12 Thread Timothy Perrett
I just looked at it. Your getting this problem because you are literally doing a hard post to /ajax_request/.. its no wonder its dumping the response to the browser. I see you have two options; one is to just stuff the normal form in an element hidden within the page and then display that

Re: [Lift] Re: **IMPORTANT** Lift 2.0 Milestone1 is coming and it's time to test the SNAPSHOT in master

2010-01-12 Thread Timothy Perrett
Its changed quite considerably - however, git should be clever enough to track the functions / changes themselves rather than files. At worst, it might just ask you if what its doing is right or whatever. Should be fine. Cheers, Tim On 11 Jan 2010, at 21:31, Naftoli Gugenheim wrote: To

[Lift] Re: TextileParser

2010-01-12 Thread Timothy Perrett
The textile support is fairly complete, there are some cases that are not covered though. If you just want simple bolden, italics etc the sure, TextileParser.toHtml will deal with that for you with no problems. Cheers, Tim On Jan 12, 8:35 am, aw anth...@whitford.com wrote: Playing around with

Re: [Lift] Lift on Stack Overflow

2010-01-12 Thread Timothy Perrett
StackOverflow tends to be peer to peer IMO; I dont believe that MUST be committers or whatever, as DPP says, this is the official forum, if other users or committers use stack overflow, then sure, but i doubt I'll be hanging out there massively. Cheers, Tim On 12 Jan 2010, at 16:41, David

Re: [Lift] Re: User Presence Heartbeat

2010-01-12 Thread Timothy Perrett
Whilst, I dont have an answer just yet, I wanted to say that the below statement is very, very cool! Cheers, Tim On 12 Jan 2010, at 18:25, Daniel Spiewak wrote: We're already using the Comet support within Lift quite extensively across the board. There are very, very few pages in our

[Lift] Re: LiftRules organization

2010-01-11 Thread Timothy Perrett
+1 object in the http package sounds good to me for logical ordering. Cheers, Tim On Jan 11, 8:37 am, Marius marius.dan...@gmail.com wrote: On Jan 11, 10:27 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Naftoli Gugenheim naftoli...@gmail.com writes: A while ago I started working on

Re: [Lift] Re: Parcing Json

2010-01-11 Thread Timothy Perrett
Hey Joni, What did you think of ScalaQuery btw? Have you used it inside a lift app? Cheers, Tim On 11 Jan 2010, at 11:07, Joni Freeman wrote: Ok, thanks for clarification. Unfortunately my knowledge about mapper is very limited (I've previously used ScalaQuery for db persistence). Maybe

Re: [Lift] Re: **IMPORTANT** Lift 2.0 Milestone1 is coming and it's time to test the SNAPSHOT in master

2010-01-11 Thread Timothy Perrett
That would be because 2.0-M1 has not been released yet... as Indrajit's first note, that will be coming in the next few days. Cheers, Tim On 11 Jan 2010, at 17:08, Yuan wrote: Hi Indrajit, I cannot find 2.0-M1 in http://scala-tools.org/repo-snapshots, only 2.0-SNAPSHOT . and the

Re: [Lift] Re: **IMPORTANT** Lift 2.0 Milestone1 is coming and it's time to test the SNAPSHOT in master

2010-01-11 Thread Timothy Perrett
There might be an element of manual merge, but as your working on a local branch (you are working on a branch, right?) then it should be fine. Cheers, Tim On 11 Jan 2010, at 17:14, Naftoli Gugenheim wrote: It's not out yet, until Wednesday. Indrajit or anyone, if I have changes in my local

Re: [Lift] Re: Parcing Json

2010-01-11 Thread Timothy Perrett
and there hasn't been any official release as far as I know, the documentation is also severely lacking. Cheers Joni On 11 tammi, 13:32, Timothy Perrett timo...@getintheloop.eu wrote: Hey Joni, What did you think of ScalaQuery btw? Have you used it inside a lift app? Cheers, Tim On 11 Jan 2010

Re: [Lift] Re: **IMPORTANT** Lift 2.0 Milestone1 is coming and it's time to test the SNAPSHOT in master

2010-01-11 Thread Timothy Perrett
Is there an ETA from EPFL yet on when we'll see a proper 2.8 RC? Whilst these beta-betas are a good cycle as they are finding bugs, it would be good to know what they are planning. Cheers, Tim On 11 Jan 2010, at 18:28, Heiko Seeberger wrote: Or will Lift support only ONE Scala version?

Re: [Lift] TimeHelpers and SimpleDateFormat

2010-01-11 Thread Timothy Perrett
The whole Date class in Java is not thread safe. We considered swapping to JodaTime and I know DCB was working on it, but im not sure from the top of my head if he ever committed / merged what he was working on... Cheers, Tim On 11 Jan 2010, at 20:10, aw wrote: See:

Re: [Lift] Re: Backbutton for Ajax

2010-01-11 Thread Timothy Perrett
I'm not sure what is stopping you using something like this in conjunction with lift? If you want something baked in, can you be specific with what and how you might want it to work? Cheers, Tim Sent from my iPhone On 11 Jan 2010, at 23:13, greekscala hellectro...@gmail.com wrote:

Re: [Lift] Re: Can lift strip all the leading and trailing blank characters?

2010-01-10 Thread Timothy Perrett
Marius, I dont mean to butt in, but this has been discussed on the list before and DPP rejected it as a requirement because of the performance impact it would have on lifts rendering pipeline? Either way, I would say this is a feature request, not a defect ;-) Cheers, Tim On 10 Jan 2010, at

[Lift] Code generation plugin for SBT

2010-01-10 Thread Timothy Perrett
Hi all, I've started a little project to add code-generation to SBT and I would like to hear from anyone who wants to collaborate (and has time to). This could be very important for the lift community, and my aim is to make something like thus: generate lift snippet WhateverName where

[Lift] Re: Lift AuthRoles, httpAuthProtectedResource

2010-01-09 Thread Timothy Perrett
David, Thanks for considering me - right now, the breakage is so small and only affects one, small app in production that is soon going to be swallowed by something else i've just written so its a non-issue for me right now. Go for it :-) Cheers, Tim On Jan 8, 8:58 pm, David Pollak

[Lift] Re: Can't find JS in /classpath/

2010-01-09 Thread Timothy Perrett
Right - as a wider note, all the widgets follow this init in boot pattern. Cheers, Tim On Jan 9, 9:15 am, Mads Hartmann mads...@gmail.com wrote: Wohoo, I solved this one myself, success! ;) You have to add AutoComplete.init() somewhere in your boot.scala file On Jan 9, 10:05 am, Mads

[Lift] Re: *** Breaking change *** issue 265 Providing more flexible behaviour for NotFound (404)

2010-01-09 Thread Timothy Perrett
Very nice stuff Marius, kudos. Cheers, Tim On Jan 9, 9:52 pm, Marius marius.dan...@gmail.com wrote: Hi all, This affects LiftRules.uriNotFound. It was changed from  type URINotFoundPF = PartialFunction[(Req, Box[Failure]), LiftResponse] to  type URINotFoundPF = PartialFunction[(Req,

[Lift] Re: Lift AuthRoles, httpAuthProtectedResource

2010-01-08 Thread Timothy Perrett
Ethan, Dont worry, this appears to be a confusing thing for many lift new- commers. The role stuff is *only* for use with HTTP authentication... for the scenario you described, it wont help you. What is it you want to authenticate? A user? An api call? Cheers, Tim On Jan 8, 5:45 pm, Ethan

Re: [Lift] Record and nulls / missing values

2010-01-08 Thread Timothy Perrett
Whilst I didn't need option feilds, making custom field types is part of the course with Record as the defaults are just that; defaults :-) Cheers, Tim Sent from my iPhone On 8 Jan 2010, at 23:37, Ross Mellgren dri...@gmail.com wrote: So I'm trying to write the CouchDB / Lift-JSON record

Re: [Lift] Re: what is the meaning of _! and _?

2010-01-08 Thread Timothy Perrett
It's nasty because it could blow up with either exception or null - neither of which we like in scala land! Boxing values keeps things far more managable Cheers, Tim Sent from my iPhone On 8 Jan 2010, at 21:52, Gang wangga...@gmail.com wrote: Why is Box.open_! nasty? is it just returning

Re: [Lift] JAX-RS (Lift on Atmosphere)

2010-01-07 Thread Timothy Perrett
The work has already been done - it just needs adding to lift proper and maintaining... its currently in jersey contrib. Cheers, Tim On 7 Jan 2010, at 10:13, Paul Sandoz wrote: I would be happy to help with any such integration work. -- You received this message because you are subscribed

Re: [Lift] Re: QueryParams and joins

2010-01-06 Thread Timothy Perrett
Remove the lift-core dependency and separately specify lift-webkit, lift-common and lift-util. That should resolve your issue... its probally a problem with the transitive dependencies in maven. Cheers, Tim On 5 Jan 2010, at 22:17, Ross Mellgren wrote: It looks like you probably have some

Re: [Lift] Lift on Atmosphere

2010-01-06 Thread Timothy Perrett
paksegu, Lift does have better comet support than Atmosphere, but it depends what your use case is and what you specifically want to do. If you chose to run lift with atmosphere you'd essentially be loosing out on some of lift's best features. As jonas says, Akka does indeed use Atmosphere to

Re: [Lift] Lift on Atmosphere

2010-01-06 Thread Timothy Perrett
comet and that would of course deploy without any issues in any container. I actually had a discussion with Jean-Francois at Devoxx this year about Atmosphere and Lift ;-) Cheers, Tim On 6 Jan 2010, at 12:40, Paul Sandoz wrote: On Jan 6, 2010, at 12:49 PM, Timothy Perrett wrote: paksegu

Re: [Lift] Re: Lift based backend server subscribing via amqp

2010-01-06 Thread Timothy Perrett
, Timothy Perrett timo...@getintheloop.eu wrote: Pushed to master - will be in hudson jars in a few hours. Cheers, Tim On Jan 5, 10:06 am, Timothy Perrett timo...@getintheloop.eu wrote: http://github.com/dpp/liftweb/issues/#issue/270 Fixed and on review board. Cheers, Tim On Jan 5

Re: [Lift] JAX-RS (Lift on Atmosphere)

2010-01-06 Thread Timothy Perrett
I think you mean James Strachen ;-) On 6 Jan 2010, at 20:47, David Pollak wrote: There's Jersey - Lift integration already: http://n2.nabble.com/Lift-support-for-Jersey-checked-into-trunk-td3007414.html And if Jim Strachan would just sign the Lift paperwork, he could roll the Jersey

[Lift] Re: Lift on Atmosphere

2010-01-06 Thread Timothy Perrett
Guys, I just had a private mail from JF, so Im relaying it onto the list (as per his wishes - for some reason he cannot post). == from JF == Salut, On Jan 6, 2010, at 12:49 PM, Timothy Perrett wrote: Lift does have better comet support than Atmosphere, :-) but it depends what your use

Re: [Lift] Re: [lift] Lift based backend server subscribing via amqp

2010-01-05 Thread Timothy Perrett
is worth it? On Tue, Jan 5, 2010 at 2:23 AM, Timothy Perrett timo...@getintheloop.euwrote: It depends on your use case... you don't really describe exactly what you want to do. Perhaps start by providing more detail? If you want service teir *only* though, its quite probable that akka would

[Lift] Re: [lift] Lift based backend server subscribing via amqp

2010-01-05 Thread Timothy Perrett
for me talk to a database via scala. I haven't seen Akka before, so I'll take a look at that :). Would you say mapper is worth it? On Tue, Jan 5, 2010 at 2:23 AM, Timothy Perrett timo...@getintheloop.euwrote: It depends on your use case... you don't really describe exactly what you want

[Lift] Re: Lift based backend server subscribing via amqp

2010-01-05 Thread Timothy Perrett
Pushed to master - will be in hudson jars in a few hours. Cheers, Tim On Jan 5, 10:06 am, Timothy Perrett timo...@getintheloop.eu wrote: http://github.com/dpp/liftweb/issues/#issue/270 Fixed and on review board. Cheers, Tim On Jan 5, 8:57 am, Timothy Perrett timo...@getintheloop.eu wrote

Re: [Lift] ANN: Akka 0.6 is released

2010-01-05 Thread Timothy Perrett
Congratulations all... you guys have put so much effort into Akka and its a really great framework; cant wait to see what is in store down the track! Cheers, Tim On 5 Jan 2010, at 13:34, Jonas Bonér wrote: Hi. I am proud to announce the release of Akka 0.6. It is a major release in many

Re: [Lift] Re: Templating in lift

2010-01-04 Thread Timothy Perrett
Agreed - also, im not sure what you covered that was not covered on the wiki article: http://is.gd/5LDlM Cheers, Tim On 4 Jan 2010, at 08:42, Marius wrote: I think it is a really great blog. One comment if I may. I don't view snippets as controllers at all. Comparing to Spring MVC for

Re: [Lift] Lift based backend server subscribing via amqp

2010-01-04 Thread Timothy Perrett
Hi, No, the AMQP module hasnt had any work for some time... I think im the only person actually using it. Check my article about it here: http://is.gd/5LZ34 Cheers, Tim On 4 Jan 2010, at 15:34, vishnu wrote: Hi I'm trying to use lift to right a back end for a system that communicates

Re: [Lift] Minor ***Breaking Changes*** - ContextPath thingy

2010-01-04 Thread Timothy Perrett
Awesome work Marius - good to see this in master!! Cheers, Tim Sent from my iPhone On 4 Jan 2010, at 18:41, Marius marius.dan...@gmail.com wrote: All, As with the fix for issue 269 the signature for LiftRules.calculateContextPath has been changed from: var calculateContextPath:

Re: [Lift] Re: [lift] Lift based backend server subscribing via amqp

2010-01-04 Thread Timothy Perrett
It depends on your use case... you don't really describe exactly what you want to do. Perhaps start by providing more detail? If you want service teir *only* though, its quite probable that akka would be a better fix. Cheers, Tim On 4 Jan 2010, at 20:30, Channing Walton wrote: Maybe Akka

Re: [Lift] Lift based backend server subscribing via amqp

2010-01-04 Thread Timothy Perrett
oh super awesome! I had no idea!! Cheers, Tim On 4 Jan 2010, at 21:06, Kris Nuttycombe wrote: Nope! We're using it in production as well. :) -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to

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