[Lift] Added upload progress widget

2009-07-19 Thread Timothy Perrett
Hey guys, I've just reworked the upload progress widget and could do with a few opinions... it still feels pretty raw but is not perfectly functional in a bunch of different browsers and i've managed to remove the implementing boiler plate. Boot up the lift-widgets example application and have

[Lift] Re: Added upload progress widget

2009-07-19 Thread Timothy Perrett
Oops!!! I meant to say it IS perfectly functional in browsers! Lol. On 19/07/2009 16:03, Timothy Perrett timo...@getintheloop.eu wrote: I've just reworked the upload progress widget and could do with a few opinions... it still feels pretty raw but is not perfectly functional in a bunch

[Lift] Re: Disabling the lift auto-reload on webapp restart?

2009-07-20 Thread Timothy Perrett
@ellis, I too found this annoying, thats why I use java rebel as the classes are just replaced wholesale dynamically while the container is running - no need for a restart (unless its a major class change that it is unable to swap out). Cheers, Tim On Jul 20, 10:32 am, Ellis

[Lift] Re: Best practice for creating a view-less, lightweight controller/dispatcher

2009-07-20 Thread Timothy Perrett
Change your dispatcher to be: LiftRules.dispatch.prepend { case r @ Req(u :: id :: Nil, , GetRequest) = () = { // lookup in your database here... Full(RedirectResponse(fullyQualifiedUrl)) } } I can then pass the id parameter to your database query then do a

[Lift] Re: Hudson not building?

2009-07-20 Thread Timothy Perrett
Hey Jeppe, Thats strange, i've just kicked off a hudson build manually, so we'll see if it works or not - i'll report back shortly Derek / DPP can you look into this? Cheers, tim On Jul 20, 12:03 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Hi, It seems the latest Lift build

[Lift] Re: Hudson not building?

2009-07-20 Thread Timothy Perrett
:15 pm, Timothy Perrett timo...@getintheloop.eu wrote: Hey Jeppe, Thats strange, i've just kicked off a hudson build manually, so we'll see if it works or not - i'll report back shortly Derek / DPP can you look into this? Cheers, tim On Jul 20, 12:03 pm, Jeppe Nejsum Madsen je

[Lift] Article: Lift snippet selection - DispatchSnippet vs snippet reflection

2009-07-20 Thread Timothy Perrett
Hey guys, Just posted a new article about lift snippets: http://is.gd/1FbDw - perhaps it will help someone :-) Cheers, Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send

[Lift] Re: Hudson not building?

2009-07-20 Thread Timothy Perrett
, 2009 at 6:09 AM, Timothy Perrett timo...@getintheloop.euwrote: Jeppe, There is something odd going on with hudson it seems - even the manual build does nothing... the modules say that didnt run even tho its taking nearly an hour to complete. Derek, is this perhaps related

[Lift] Re: calling java: AWSCredentials does not have a constructor - anybody recongnize this type of error ?

2009-07-20 Thread Timothy Perrett
I agree, looks fine ­ you don¹t mention if your using maven or whatever, but IMO, make sure you¹ve set the dependencies properly and that your running the right goal on your pom.xml Also, you probably don¹t want to post your secret for S3 as people could log into your account with it. Cheers,

[Lift] Re: Article: Lift snippet selection - DispatchSnippet vs snippet reflection

2009-07-20 Thread Timothy Perrett
Hey Marius, Thanks for the critical feedback :-) I have no benchmarks to speak of, just pouring out my general understanding onto my blog - I do remember DPP saying some time ago that DispatchSnippets were really the way to go for most things of any serious implementation. Cheers, Tim On

[Lift] Re: Feedback on presentation

2009-07-20 Thread Timothy Perrett
+1 it looks really good mate. Presumably your doing a live demo at the start or similar? Cheers, Tim Sent from my iPhone On 20 Jul 2009, at 23:09, David Pollak feeder.of.the.be...@gmail.com wrote: Looks good to me. On Mon, Jul 20, 2009 at 3:05 PM, Derek Chen-Becker dchenbec...@gmail.com

[Lift] Re: ResourceServer problem

2009-07-22 Thread Timothy Perrett
Naftoli, Can you explain what your trying to do? My assumption is that you have a secondary jar away from your WAR and you want to load template from there? A completely valid use case... Right now there are ways of doing it but you then don't get a lot of the stuff lift provides for free

[Lift] Re: Starting with lift, problem

2009-07-22 Thread Timothy Perrett
Just to clarify what Jeppe wrote, you need the = because that tells the compiler this method will be returning a concrete type, not Unit (like void in Java) Cheers, Tim On 22/07/2009 11:20, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: You need a = before the function body: def

[Lift] Re: Newbee question

2009-07-22 Thread Timothy Perrett
You mean like the one on the left hand side of the home page titled The Lift Book? ;-) Cheers, Tim On 22/07/2009 14:06, Tim Nelson tnell...@gmail.com wrote: @Lift coders: Is there a reason there is no link anywhere on the liftweb.net http://liftweb.net site to the Lift Book?

[Lift] Re: Weekly Article Request

2009-07-22 Thread Timothy Perrett
Xavi, I'll do the one on localization - think im the only committer doing any heavy duty localization work so probably best placed to write an example / how-to. I'll try and churn something out onto my blog then just convert it wholesale onto the lift wiki. Cheers, Tim PS: You deserve a medal

[Lift] Re: Acceding object fields in template

2009-07-22 Thread Timothy Perrett
José, im afraid it doesn't do that, you have to use explicit binds as far as im aware. Perhaps you'll find this article on lifts binding mechanism useful: http://is.gd/sfyT Cheers, Tim On Jul 22, 11:02 am, José María josemariar...@gmail.com wrote: Hi, Is it possible to access to the field of

[Lift] Re: how to create a dynamic form in lift?

2009-07-23 Thread Timothy Perrett
Hey, Take a read of: http://is.gd/sfyT Does that help understanding how you can use bind with forms? Cheers, Tim On 23/07/2009 08:34, JanWillem Tulp janwillem.t...@gmail.com wrote: Hi community, I was wondering: what is a nice and efficient way to do the following in Lift: I would

[Lift] Re: todo app., Oracle: Invalid column type

2009-07-23 Thread Timothy Perrett
Hey Jon, Sounds like Mapper is not quite sure what to do with one of the types it created - If memory serves Derek is looking after the DB drivers these days (the fellow who wrote oracle driver isn't active anymore), so my advice would be log a issue here so that it doesn't get missed:

[Lift] Re: How to use SHtml.ajaxCall?

2009-07-23 Thread Timothy Perrett
Couldn't agree more, just gist it... http://gist.github.com/ Cheers, Tim On 23/07/2009 16:09, Lance Zheng lanc...@gmail.com wrote: (google group is not a good place to show code, no syntax highlight) --~--~-~--~~~---~--~~ You received this message because

[Lift] Re: Good build tool for Lift/Scala projects

2009-07-24 Thread Timothy Perrett
Jeppe, I recently explored SBT and was really impressed by how far they have come - you can use it today, they have a lift example on their wiki. When they add code-generation (a la archetypes) then I'll make some SBT plugins for lift as its a pretty sweet all-scala system. Good luck Cheers,

[Lift] Re: Good build tool for Lift/Scala projects

2009-07-24 Thread Timothy Perrett
They have a pretty extensive plugin architecture so its my understanding you can just write scala to do whatever you want... http://code.google.com/p/simple-build-tool/wiki/SbtPlugins Checkout n8han's dbDispath - it uses SBT so might give you more of a feel how it can work:

[Lift] Re: Good build tool for Lift/Scala projects

2009-07-24 Thread Timothy Perrett
Wow great tip david! Its for reasons like this that you are the maven master ;-) Cheers, Tim On 24/07/2009 13:39, David Bernard david.bernard...@gmail.com wrote: if what you dislike in pom, it's the xml (like me) try yaml (http://wiki.github.com/mrdon/maven-yamlpom-plugin) ;)

[Lift] Re: JavaRebel has expired

2009-07-24 Thread Timothy Perrett
Thanks Ty, you beat me too it. I've sent new installers for DPP to put up onto scala-tools, when he does that, this issue will go away forever. Thanks Tim On Jul 24, 4:05 pm, TylerWeir tyler.w...@gmail.com wrote: http://groups.google.com/group/liftweb/browse_thread/thread/ca49bc965... On

[Lift] Re: Lift (AsyncWeb || ...)

2009-07-25 Thread Timothy Perrett
Hey Marius, I read your email with interest - myself and viktor were only today discussing all the various technologies such as this which are now flooding the wider JEE eco-system and how lift can interoperate with them (or if indeed we need to / should) I think perhaps there is something

[Lift] Re: url rewrite subdomain?

2009-07-26 Thread Timothy Perrett
Id say this is a fairly common idiom with multi-tenant systems... Cheers, Tim On Jul 26, 8:30 am, marius d. marius.dan...@gmail.com wrote: What is the usecase of rewriting the hostname? ... Having multiple subdomains mapped to the same IP address and want to discriminate them? Br's,

[Lift] Re: Image problems...

2009-07-26 Thread Timothy Perrett
Hey Joe, Can you post your code? Are the images on the filesystem or held in a database etc? Cheers, Tim On Jul 25, 7:28 pm, Joe Wass j...@folktunefinder.com wrote: I'm completely stumped. I'll give the background for the sake of completeness but I'm not sure if it will help or not. It's

[Lift] Re: url rewrite subdomain?

2009-07-26 Thread Timothy Perrett
, Timothy ;) Thanks!! On Jul 26, 2:37 pm, Timothy Perrett timo...@getintheloop.eu wrote: JanWillem, You might find this article I wrote on URL rewriting helpful:http://is.gd/wq4K Cheers, Tim On 26/07/2009 13:10, JanWillem Tulp janwillem.t...@gmail.com wrote: Hi Marius

[Lift] Re: Comet DispatchPF - RestfulCometActor?

2009-07-27 Thread Timothy Perrett
Hey David, Thanks for the response - got the impression you were swamped :-) Looking forward to your thoughts on this. Cheers, Tim I have some serious thoughts on this.  I've been swamped with client-based stupid over-work over the last 10 days.  I have one last set of stuff to do tomorrow

[Lift] Re: CircleShare Blog where?

2009-07-27 Thread Timothy Perrett
Yeah I think its an old link. We [the team] are aware that the wiki sucks and are in the process of moving to a new wiki, with fresh new content. Sorry for the run around. Cheers, Tim On 27/07/2009 12:30, TylerWeir tyler.w...@gmail.com wrote: dpp's blog is here: http://blog.lostlake.org/

[Lift] Re: the question abount HelloForm2 of example darwin

2009-07-27 Thread Timothy Perrett
Hey koji, Perhaps this article will help: http://is.gd/sfyT Otherwise, can you post the code your using? (perhaps onto gist.github.com) Cheers, Tim On Jul 27, 11:11 am, koji koji@gmail.com wrote: Hi, I'm trying the HelloForm2 of darwin example. The second version of HelloForm2 that who

[Lift] Re: URL Rewrite and complex paths

2009-07-27 Thread Timothy Perrett
FYI, I detail lift's rewriting scheme here: http://is.gd/wq4K Cheers, Tim On Jul 27, 9:52 pm, edgarchan edgarchancarri...@gmail.com wrote: Hola. All parameters put it on the map are available in the request, so you can use S.param function to get them. in your example case

[Lift] Re: Modularization of Lift code

2009-07-27 Thread Timothy Perrett
Hi Glen... I actually do a lot of this - we have a product at work and i've just written a bunch of abstractions for work which just require me to do: MyLib.init In the boot file of a new application and then everything wires up - I couldn't think of anything more straightforward? The vast

[Lift] Re: Hear podcast interview with David Pollack about Lift

2009-07-27 Thread Timothy Perrett
Sweet link Cheers, Tim On Jul 27, 7:40 pm, Goldfish gregt...@mindspring.com wrote: Visithttp://pondjumpers.com/2009/07/27/episode-2-interview-about-lift/ to hear a podcast interview with David Pollack about Lift. --~--~-~--~~~---~--~~ You received this message

[Lift] Re: Minimizing Memory Usage

2009-07-28 Thread Timothy Perrett
What version of Lift are you using? Are you using scala.actors code within your application at all? Cheers, Tim On Jul 28, 2:47 am, Peter Robinett pe...@bubblefoundry.com wrote: Hi all, I'm running Lift on the smallest Slicehost VPS available (256 mb RAM, plus 512 mb swap) and I've recently

[Lift] Re: Help on Build from source

2009-07-28 Thread Timothy Perrett
Can you provide some enviroment details What version of maven are you using? What JDK? What maven command did you run? Cheers, Tim On Jul 28, 4:48 am, Nile Black nile.bl...@gmail.com wrote: [INFO] Building Lift Utils [INFO]    task-segment: [install] [INFO]

[Lift] Re: Minimizing Memory Usage

2009-07-28 Thread Timothy Perrett
Agreed; its pretty light to run all those services. I have a lift based app that's been running for quite some time and its using around 250mb of RAM on average. A raw lift app will probably use 128mb RAM as minimum. Cheers, Tim On 28/07/2009 10:08, marius d. marius.dan...@gmail.com wrote: BTW

[Lift] Re: Modularization of Lift code

2009-07-28 Thread Timothy Perrett
for every module you add. Some hook function in an object that Boot.scala runs each time that would iterate through all your init functions that followed a pre- defined signature, would be a nice feature to add to Lift. Glenn... On Jul 27, 4:01 pm, Timothy Perrett timo

[Lift] Re: Modularization of Lift code

2009-07-28 Thread Timothy Perrett
28, 9:36 am, Timothy Perrett timo...@getintheloop.eu wrote: Glenn, You have my full attention - this is something I've been sitting on for quite some time but just not quite sure what the best route forward is. When im creating these modules, I essentially just build a normal jar project

[Lift] Re: Modularization of Lift code

2009-07-28 Thread Timothy Perrett
classpath dependencies through a jar's META-INF file. But wouldn't that require launching an OSGi implementation with your main Lift application. Glenn... On Jul 28, 12:11 pm, Timothy Perrett timo...@getintheloop.eu wrote: I've been having a think about this, and are we overlooking

[Lift] Re: scala+maven

2009-07-28 Thread Timothy Perrett
Hey there, I wrote an article previously about how to use launchers with maven- scala-plugin, find it here: http://is.gd/1RuLQ Does that help? Cheers, Tim On Jul 28, 7:32 pm, ph pkirsa...@gmail.com wrote: Is there a good recourse on how to setup/use scala project with maven? I've installed

[Lift] Re: Modularization of Lift code

2009-07-28 Thread Timothy Perrett
Hey Naftoli, Lift has a general aversion to xml configs... Is there another route? Cheers, Tim On 28/07/2009 20:47, Naftoli Gugenheim naftoli...@gmail.com wrote: What I was suggesting is that instead of having to write Lib.init in Boot, Lift should look in Lib.jar for say /boot.xml which

[Lift] Moving the wiki...

2009-07-28 Thread Timothy Perrett
Hey guys, We had a discussion within the team and taken the decision to move to the github wiki - a fresh start for a fresh new wiki with lots of up- to-date information to replace our legacy wiki / documentation. I've started to move stuff across and supply some brand new documentation, do

[Lift] Re: Comet DispatchPF - RestfulCometActor?

2009-07-29 Thread Timothy Perrett
Hey David, Have you manage to submit any more brain cycles to this? Cheers, Tim I have some serious thoughts on this.  I've been swamped with client-based stupid over-work over the last 10 days.  I have one last set of stuff to do tomorrow and I'll be back on list on Tuesday afternoon.

[Lift] Re: How to configure MySQL In Lift

2009-07-29 Thread Timothy Perrett
pravin, Please see: http://wiki.liftweb.net/index.php/HowTo_configure_lift_with_MySQL Cheers, Tim On Jul 29, 9:31 am, pravin pravinka...@gmail.com wrote: Hi, I want to configure MySQL in my lift application. From following sitehttp://scala-tools.org/scaladocs/liftweb/1.0/  i come to know

[Lift] Re: Modularization of Lift code

2009-07-29 Thread Timothy Perrett
Ryan, I agree with you for the most part - certainly making it explicit would be my preference also. Im not 100% sure that we would need to replicate all the LiftRules functionality as a trait for plugins, as that's just one aspect of how a plugin could change the environment. Your point about

[Lift] Re: Modularization of Lift code

2009-07-29 Thread Timothy Perrett
@Heiko: Im not sure we would need to lookup snippets, as the module creator could just register them with LiftRules right? (think DispatchSnippet etc) @all: I think we need to take a step back here a second: Everyone wants a plugin system, but not everyone wants OSGi (specifically the

[Lift] Re: Modularization of Lift code

2009-07-29 Thread Timothy Perrett
Bah, that's very true Naftoli... On 29/07/2009 16:33, Naftoli Gugenheim naftoli...@gmail.com wrote: For that price you could write com.mypackage.Init etc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift

[Lift] Re: Where is source code for demo app?

2009-07-29 Thread Timothy Perrett
Find the source here: http://to.ly/nEZ On 29/07/2009 18:05, Goldfish gregt...@mindspring.com wrote: I see nice features demo'd at both http://lift-example.appspot.com/index and http://demo.liftweb.net/index. Now where can I read the source code behind the site, so I can start implementing

[Lift] Re: Comet DispatchPF - RestfulCometActor?

2009-07-29 Thread Timothy Perrett
into the Cappuccino stuff. Thanks, David On Mon, Jul 27, 2009 at 1:30 AM, Timothy Perrett timo...@getintheloop.eu wrote: Hey David, Thanks for the response - got the impression you were swamped :-) Looking forward to your thoughts on this. Cheers, Tim I have some serious thoughts

[Lift] Re: Comet DispatchPF - RestfulCometActor?

2009-07-29 Thread Timothy Perrett
I actually already started work on building a standalone chat application this afternoon with regular comet actors and markup... are you suggesting we then try and reskin that we a capp front end and add lift elements where needed? Cheers, Tim Let's work on the multi-user chat project first.  

[Lift] Re: Weekly Article Request

2009-07-30 Thread Timothy Perrett
Xavi, Have you got links for the new pages... seems like it would make a complete picture then for the archives :-) Cheers, Tim On Jul 30, 4:23 pm, Xavi Ramirez xavi@gmail.com wrote: Awesome! Thanks for the hard work guys. Sorry, I haven't sent another list out.  I moved last weekend

[Lift] Re: ajaxCall jlift.js and json2.js

2009-07-30 Thread Timothy Perrett
James, Correct, you do indeed need to include this in a page where you want to use json forms etc... Cheers, Tim On Jul 30, 3:53 pm, James Kearney ghostf...@googlemail.com wrote: I wanted to use ajaxCall on a page but it didn't seem to be working due to javascript issues. Eventually I

[Lift] Re: How to use Mapper and record framework

2009-07-31 Thread Timothy Perrett
Yup - Im using it no problems at all with MS SQL... Cheers, Tim In short - Is lift's mapper framework provides Support for MS SQL ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this

[Lift] Implementing KeyedRecord[T,K]

2009-07-31 Thread Timothy Perrett
Guys, What is the intended implementation of KeyedRecord? The work done so far on DBRecord appears not to use it? When / How should one go about implementing a custom record backend? We could really do with some docs on this :-) Cheers, Tim --~--~-~--~~~---~--~~

[Lift] Re: Lift maven archetypes seem to be broken ... again

2009-07-31 Thread Timothy Perrett
Glenn, What command are you using to pull the archetype? Its certainly not an issue in lift as we don't have any 2.7.4 refs in the codebase now. The archetype catalog at http://scala-tools.org/ however still points to 1.0 of Lift, so that's on 2.7.3... Cheers, Tim On 31/07/2009 16:26, glenn

[Lift] Re: Lift maven archetypes seem to be broken ... again

2009-07-31 Thread Timothy Perrett
... On Jul 31, 8:40 am, Timothy Perrett timo...@getintheloop.eu wrote: Glenn, What command are you using to pull the archetype? Its certainly not an issue in lift as we don't have any 2.7.4 refs in the codebase now. The archetype catalog athttp://scala-tools.org/howeverstill points to 1.0

[Lift] Re: Offline building and documentation

2009-07-31 Thread Timothy Perrett
Grant, If your on windows or OSX, just take a look at your $M2 environment variable and remove the javarebel path... We didn¹t know at the time of making that installer that it would expire in one year ­ if we had, we probably would have thought twice about enabling it. That¹s another story...

[Lift] Hudson failing again and Lift build failure

2009-07-31 Thread Timothy Perrett
Guys, From a fresh github clone im now seeing the following when trying a full build: [WARNING] /Users/timperrett/repositories/lift/lift-framework/lift/src/ main/scala/net/liftweb/http/LiftServlet.scala:302: error: type mismatch; [WARNING] found : java.lang.Object [WARNING] required:

[Lift] Re: Hudson failing again and Lift build failure

2009-07-31 Thread Timothy Perrett
Looks like hudson now recognizes the code failure too: http://hudson.scala-tools.org/job/Lift/1075/ Cheers, Tim On Aug 1, 12:24 am, Timothy Perrett timo...@getintheloop.eu wrote: Guys, From a fresh github clone im now seeing the following when trying a full build: [WARNING] /Users

[Lift] Re: Hudson failing again and Lift build failure

2009-07-31 Thread Timothy Perrett
? - Timothy Perretttimo...@getintheloop.eu wrote: Looks like hudson now recognizes the code failure too: http://hudson.scala-tools.org/job/Lift/1075/ Cheers, Tim On Aug 1, 12:24 am, Timothy Perrett timo...@getintheloop.eu wrote: Guys, From a fresh github clone im

[Lift] Re: how 10 seconds works?

2009-08-03 Thread Timothy Perrett
I think his point was that rails is doing un-type-safe operations at runtime which is *not* good! On 03/08/2009 08:15, marius d. marius.dan...@gmail.com wrote: The point being ... ? On Jul 31, 7:44 pm, Alex Cruise a...@cluonflux.com wrote: marius d. wrote: Implicit conversions. It's

[Lift] Re: Is it possible to dynamically add/remove a Menu?

2009-08-03 Thread Timothy Perrett
Lance, For what reason do you want to persist the site map to the database? Can the user customize the menu or something? You can do pretty much anything you want my making your own Loc() Cheers, tim On Aug 3, 9:31 am, Lance Zheng lanc...@gmail.com wrote: Hi, I want to add/remove Menu at

[Lift] Re: Access to Apache commons library

2009-08-03 Thread Timothy Perrett
Jeff, All you need to do in your application to get access to HttpClient is add this to your pom.xml: dependency groupIdorg.apache.httpcomponents/groupId artifactIdhttpclient/artifactId version4.0-beta2/version /dependency then make the relevant import in your scala

[Lift] Re: Post form and return file?

2009-08-04 Thread Timothy Perrett
Hey there, Does this help: http://wiki.github.com/dpp/liftweb/about-streamingresponse Cheers, Tim On Aug 4, 5:23 am, DFectuoso santiago1...@gmail.com wrote: I'm working on some landing pages that need to capture some information and after getting that, i will let the user download a

[Lift] Re: Using ExtJS with Lift?

2009-08-04 Thread Timothy Perrett
Stefan, Chas is doing work with ExtJS, but right now I think because of the GPL licensing we cant integrate it with lift because of some legal stuff. You might be interested to know that there is a current effort to integrate with http://cappuccino.org/ which might be of interest (led my

[Lift] Lift installers

2009-08-04 Thread Timothy Perrett
Guys, As you may or may not know there have been several issues with the lift installers than configure maven, add javarebal etc etc and this has caused several users problems. So, I *finally* pulled my finger out and fixed the problems and removed the now defunct javarebel - note, if you still

[Lift] Re: Or QueryParams

2009-08-05 Thread Timothy Perrett
You can get items from the query string by doing: S.param(theparam) // Box[T] Cheers, Tim On Aug 5, 4:22 am, Naftoli Gugenheim naftoli...@gmail.com wrote: How can you Or QueryParams (e.g. find text in any field)? Thanks. --~--~-~--~~~---~--~~ You received this

[Lift] Re: Dynamically setting class attribute on div or span

2009-08-05 Thread Timothy Perrett
You might want to checkout the wiki - answers to your questions are on there: http://wiki.github.com/dpp/liftweb Cheers, Tim On Aug 4, 11:22 pm, Naftoli Gugenheim naftoli...@gmail.com wrote: See Exploring Lift 7.6.2. In short, the lift:snippet specifies a method that returns extra attributes.

[Lift] Re: *** BREAKING CHANGES COMING UP SOON ***

2009-08-05 Thread Timothy Perrett
Portlets have some mixed press, so im not sure how much of a win that will be. The AsyncWeb / Netty stuff does look pretty freaking cool tho. Cheers, Tim On Aug 4, 10:40 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: Cool. I'll have to look at portlets and see what they do. Derek On

[Lift] Re: More than one lift:surround in HTML file

2009-08-05 Thread Timothy Perrett
Marius is right, use with-param... That's the correct solution here. Cheers, Tim On 05/08/2009 22:19, pabraham paulabraham...@googlemail.com wrote: I've added lift:children to my index.html file and now get: XML Parsing Error: junk after document element Location:

[Lift] Re: More than one lift:surround in HTML file

2009-08-06 Thread Timothy Perrett
://article.gmane.org/gmane.comp.web.lift/820 On Aug 5, 10:55 pm, Timothy Perrett timo...@getintheloop.eu wrote: Marius is right, use with-param... That's the correct solution here. Cheers, Tim On 05/08/2009 22:19, pabraham paulabraham...@googlemail.com wrote: I've added lift:children to my

[Lift] Re: amqp library error

2009-08-06 Thread Timothy Perrett
I wrote a fairly extensive blog about how to use the AMQP module - please take a read of it and watch the video: http://is.gd/CkPX - my example is also not a webapp, so its just what you want! The source code is also available which should help you. Cheers, Tim On 06/08/2009 23:55, ph

[Lift] Re: SOAP web services?

2009-08-06 Thread Timothy Perrett
Myself and Viktor are two committers who do a lot of SOAP work - right now, the best route forward it to use the Java JAX-WS code and call into it with a scala wrapper - this is exactly what I do and it works perfectly. Because there is toll free calling of Java code, there is little point in

[Lift] Re: amqp library error

2009-08-07 Thread Timothy Perrett
on lift from 1.1-snapshot (as it is not in repo) to 1.0 and to 1.1-M4; neither works. When I'm trying to create a new instance of class (listener) in scala console it just hangs, never riches RabbitMQ server. This is on Windows. Have you tried your code on Windows? On Aug 6, 8:10 pm, Timothy

[Lift] Re: Full stack for building RIAs

2009-08-08 Thread Timothy Perrett
Im not really that sure why you think AIR might be ok in a couple of years... its perfectly good right now and will do nothing but improve! The same is true for all UI technologies. Lift puts no prescription on what you must or must not use - you are free to use anything you want, in any way you

[Lift] Re: Full stack for building RIAs

2009-08-08 Thread Timothy Perrett
ivo, The Bespin story (likewise for http://cappuccino.org/ ) is one of integration with Lifts comet support etc... both those technologies are all based on Javascript runtime (as is GWT) so you need to think in more abstract terms; when we talk about integration with a client side technology, we

[Lift] Re: amqp library error

2009-08-08 Thread Timothy Perrett
. This is on Windows. Have you tried your code on Windows? On Aug 6, 8:10 pm, Timothy Perrett timo...@getintheloop.eu wrote: I wrote a fairly extensive blog about how to use the AMQP module - please take a read of it and watch the video:  http://is.gd/CkPX-myexample is also not a webapp

[Lift] Re: Full stack for building RIAs

2009-08-08 Thread Timothy Perrett
to a technology ... or maybe it's just shorthand for a common English phrase. Finally I thought unique sales point might be a common English phrase ... and then I found unique selling proposition online. So USP = unique selling proposition? On Aug 8, 10:49 am, Timothy Perrett timo...@getintheloop.eu

[Lift] Re: amqp library error

2009-08-09 Thread Timothy Perrett
                target1.5/target ... My project also Includes Protocol Buffers generated Java classes and those needed this for sure... On Aug 8, 10:02 am, Timothy Perrett timo...@getintheloop.eu wrote: I just fixed the rabbitmq sample in my repo to 1.1-m4, so do a pull and things should start

[Lift] Re: Scala XML Bug?

2009-08-09 Thread Timothy Perrett
Try loading the XML with net.liftweb.util.PCDataXmlParser ? Cheers, Tim On Aug 9, 6:58 pm, Ross Mellgren dri...@gmail.com wrote: Loading this XML using XML.loadString works fine for me, so I suspect   there is something else going on here (e.g. formatting of the string,   encoding you use,

[Lift] Re: SOAP web services?

2009-08-11 Thread Timothy Perrett
Hey Greg, Im not sure about WSDL2.0, but my understanding was that WADL ( https://wadl.dev.java.net/ ) was making the most ground in the REST service description arena. Cheers, Tim On Aug 10, 10:58 pm, Meredith Gregory lgreg.mered...@gmail.com wrote: Lifted RESTafarians, Has anyone tried

[Lift] Re: bind with outer element?

2009-08-11 Thread Timothy Perrett
Jon, To read attributes, you do the following: S.attr(shorten) // = Box[String] Cheers, Tim On Aug 10, 9:44 pm, jon jonhoff...@gmail.com wrote: Hi, I have a template with the following lift:Snippit   t:name shorten=true /   t:foo form=POST     form:name/     ...   /t:foo

[Lift] Re: SOAP web services?

2009-08-11 Thread Timothy Perrett
Id say you are correct Marius - you simply don't see it; I think that's partly because of marketing (wind back to 2004... SOA == SOAP, and SOAP == XML + HTTP), and partly because of companies such as Microsoft implementing SOAP in their tooling such as they did (and still do). To that end,

[Lift] Re: SOAP web services?

2009-08-11 Thread Timothy Perrett
But I'm just a weird guy with weird opinions... We hadn't noticed Viktor ;-) Cheers, Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com

[Lift] Re: Cant generating liftweb document from source

2009-08-11 Thread Timothy Perrett
Can you try: mvn install scala:doc Cheers, Tim On Aug 11, 8:49 pm, Lance Zheng lanc...@gmail.com wrote: I try to generate doc but got an error.http://wiki.liftweb.net/index.php/Generating_Lift_scaladocs_locally my OS is vista and maven's version is 2.2.0 D:\scalasrc\liftwebmvn -v Apache

[Lift] Re: how to wtite scala code in dynamic table

2009-08-12 Thread Timothy Perrett
Pravin, Checkout my example here: http://is.gd/sfyT - the key point your looking for is chooseTemplate; you can have two NodeSeq, one with a Nothing to display type message if there is no content, and one with the content if it exists. Does that help? Cheers, Tim On Aug 12, 7:54 am, pravin

[Lift] Re: TableEditor article

2009-08-12 Thread Timothy Perrett
I just fixed the article markup - thanks for writing it up. Cheers, Tim On Aug 12, 10:51 pm, Naftoli Gugenheim naftoli...@gmail.com wrote: Apparently some less than/greater than signs aren't being converted into their entity format. On Wed, Aug 12, 2009 at 5:49 PM, Naftoli Gugenheim

[Lift] Re: TableEditor article

2009-08-12 Thread Timothy Perrett
, Aug 12, 2009 at 6:22 PM, Timothy Perrett timo...@getintheloop.euwrote: I just fixed the article markup - thanks for writing it up. Cheers, Tim On Aug 12, 10:51 pm, Naftoli Gugenheim naftoli...@gmail.com wrote: Apparently some less than/greater than signs aren't being converted

[Lift] Re: any idea when we can cut a 1.1-M5 release?

2009-08-13 Thread Timothy Perrett
To what end? Not a lot of code has gone in since the 1.1-m4 Cheers, Tim On 13/08/2009 10:59, James Strachan james.strac...@gmail.com wrote: Now that the APIs have changed to abstract the servlet stuff, I'd really like a 1.1-M5 release. Anyone any objections to cutting one soon?

[Lift] Re: ws-generated code in lift

2009-08-14 Thread Timothy Perrett
I agree with Viktor - in a similar vein, this is exactly what I implemented with Akka; the servlet runs in conjunction with lifts filter and lift just hands off stuff it doesnt know what to do with. So if you want to use AxisServlet or whatever its real easy. From my point of view, you'd need a

[Lift] Re: ws-generated code in lift

2009-08-15 Thread Timothy Perrett
and sharing of experience. i'm in a situation where i'm working with legacy stuff. i was just wondering how deeply into lift i could push the WSDL-based Java handlers. Best wishes, --greg On Fri, Aug 14, 2009 at 2:54 PM, Timothy Perrett timo...@getintheloop.euwrote: I agree with Viktor

[Lift] Re: ws-generated code in lift

2009-08-15 Thread Timothy Perrett
that I'll be able to tell in a week or so... integrating WS into Lift (rather than running on the side) will, I think, have benefits. On Sat, Aug 15, 2009 at 9:45 AM, Timothy Perrett timo...@getintheloop.euwrote: Sounds like a classic situation what is technically possible is one thing

[Lift] Re: CMS for Lift?

2009-08-16 Thread Timothy Perrett
Short answer: no. Long answer: There are a couple of efforts in progress, but this are early, early stages (not even runnable code). Cheers, Tim On Aug 16, 7:08 am, philip philip14...@gmail.com wrote: Hi, Has anyone made a CMS for Liftweb? or I should say, in liftweb. Thanks, Philip

[Lift] Re: CMS for Lift?

2009-08-16 Thread Timothy Perrett
I think Akka / GoatRodeo will make building such developments with Lift even more compelling thanks to persistence systems like Cassandra. @Glenn - is your project public? Cheers, Tim On 16/08/2009 19:13, glenn gl...@exmbly.com wrote: Philip, I'm working on a cms system in Lift. Right

[Lift] Re: How do I add jar files to my app?

2009-08-17 Thread Timothy Perrett
You can specify this in maven, but make sure you set the scope: scopeprovided/scope Cheers, Tim On 17/08/2009 15:04, marius d. marius.dan...@gmail.com wrote: The JDBC driver should not be in the applications class-path (WEB-INF/ lib) but in container's classpath. Say jetty's lib folder.

[Lift] Re: makeUtf8 and HttpServletRequest broken in new build???

2009-08-17 Thread Timothy Perrett
I think his point is that he wants it added by default, rather than there is any problem. Personally, I don¹t see the point of adding it by default... But hey. On this note, I¹ve been thinking of perhaps having a re-shuffle in the code base to group the archetypes together in a module and add a

[Lift] Re: Deploying

2009-08-17 Thread Timothy Perrett
I run several sizable applications with NGINX and Jetty... Works like a dream. On 17/08/2009 18:55, Peter Robinett pe...@bubblefoundry.com wrote: I know David likes running Nginx in front of Jetty --~--~-~--~~~---~--~~ You received this message because

[Lift] Re: makeUtf8 and HttpServletRequest broken in new build???

2009-08-17 Thread Timothy Perrett
They would still output the same of course ­ I just see a need for a few more starting points and I don¹t want to clutter the main codebase so a little bit of housekeeping is in order :-) Cheers, Tim On 17/08/2009 23:43, David Pollak feeder.of.the.be...@gmail.com wrote: As long as you don't

[Lift] Re: CMS for Lift?

2009-08-18 Thread Timothy Perrett
Just my two cents, but I wouldn't use the lift namespace... If you use the lift tags OOTB, you risk designers shoving lots of comet actors on a single page. You would get more granular control if you created a special set of tags: cms:something .. / Cheers, Tim On 18/08/2009 23:00, Ewan

[Lift] Re: Relax method scope

2009-08-19 Thread Timothy Perrett
Committed - I also added a dirty_? : Boolean method to Field.scala Cheers, Tim On Aug 18, 6:38 pm, David Pollak feeder.of.the.be...@gmail.com wrote: It's okay to relax it... maybe even make it public. On Tue, Aug 18, 2009 at 8:57 AM, Timothy Perrett timo...@getintheloop.euwrote

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