[Lift] Re: Documentation Site

2009-12-21 Thread johncch
Well, this is an apt discussion at this point in time I feel. One of the weakness of the Lift Project is really the sparse documentation, as well as the rapid cycle of development obsoleting virtually many of the slightly older code out there. I don't mind contributing my time improving the docume

[Lift] Re: [scala-internals] RC4 candidate for the first 2.8.0 beta

2009-12-21 Thread martin odersky
On Sun, Dec 20, 2009 at 12:39 PM, martin odersky wrote: > Thanks for letting us know. This looks like something stirred up by > the change in erasure. We'll investigate Monday what it is. > > Cheers > >  -- Martin > I could reproduce the fault and think I found the underlying problem: There was a

Re: [Lift] Validation errors shown on CRUDify models?

2009-12-21 Thread Jeppe Nejsum Madsen
tommycli writes: > Are validation errors shown on CRUDify create/edit pages? > > I have validators set up like this: > > object subdomain extends MappedString(this,64) { > override def validations = List(valUnique("Subdomain taken.")_, > > valRegex(Pattern

[Lift] Re: [Lift Announce] **Important** Announcing the Lift 2.0 branch

2009-12-21 Thread Heiko Seeberger
Indrajit, Great to see the next refactoring round! I got the branch and there are a lot of oddities, e.g.: - All the POMs I looked at are still 1.1, not 2.0 - framework/pom.xml references module lift-archetypes and lift-examples - The parent POM is empty Maybe you did not update the br

[Lift] Re: Documentation Site

2009-12-21 Thread Randinn
Well for the current information the places to go are http://scala-tools.org/mvnsites-snapshots/liftweb/index.html and http://wiki.github.com/dpp/liftweb if that will help you. On Dec 21, 7:47 pm, johncch wrote: > Well, this is an apt discussion at this point in time I feel. One of > the weakness

[Lift] Re: About the performance

2009-12-21 Thread DMB
Spoken like a true zealot. The difference between us is that I've used both Java and .NET in a professional capacity, and you obviously have not. If you did, you wouldn't have any questions about the performance and stability of CLR. >> it's also much more primitive than modern JVMs I'd say it's

Re: [Lift] Re: [Lift Announce] **Important** Announcing the Lift 2.0 branch

2009-12-21 Thread Indrajit Raychaudhuri
Heiko, That looks like the initial check-in I did on the branch. There has been quite a few commits since. I double checked to ensure the git push. Seems fine. Looks like the little bird agrees too :) [http://twitter.com/liftweb/status/6862128603] Cheers, Indrajit On 21/12/09 3:41 PM, Heiko

[Lift] Re: **Important** Announcing the Lift 2.0 branch

2009-12-21 Thread chungonn
Hi Indrajit, I am new to both Scala and Lift. I have spent some time exploring Scala and only a little on Lift 1.0. I plan to do some real work with Lift soon, would you recommend that I focus on Lift 2.0 branch? Is there any guesstimate Lift 2.0 release schedule? Regards chungonn On Dec 21, 3:

Re: [Lift] Re: **Important** Announcing the Lift 2.0 branch

2009-12-21 Thread Indrajit Raychaudhuri
Hi Chungonn, At the moment the Lift 2.0 branch is updated and synchronized with the master. So yes, feel free to check that out and play with it by all means. However, be aware that I am making lot of commits on that branch (mostly cosmetic and build related). So keep a watch and keep doing fr

Re: [Lift] Re: **Important** Announcing the Lift 2.0 branch

2009-12-21 Thread Cheong Chung Onn
Hi Indrajit, Thanks for the speedy response. Cheers! chungonn Indrajit Raychaudhuri wrote, On 12/21/09 7:59 PM: > Hi Chungonn, > > At the moment the Lift 2.0 branch is updated and synchronized with the > master. So yes, feel free to check that out and play with it by all > means. However, be a

[Lift] Re: Nexus/Hudson maitenance on scala-tools.org

2009-12-21 Thread Josh Suereth
The hudson upgrade has been completed, however the nexus upgrade ran into some issues. We've reverted to the previous version of nexus. There will be a continuing maintenance window (for nexus only) from 8pm - 11pm EST today (December 21st). Thanks for your patience! - Josh Suereth On Fri, Dec

[Lift] Status of DB backend for record?

2009-12-21 Thread Jeppe Nejsum Madsen
Hi, What's the status of the DB backend for Record? I'm asking because, I'm about to start adding temporal object support to mapper but would hate to repeat this exercise soon if mapper is going to be superseded by record ;-) Alternatively, can somebody in the know enlighten me how mapper fits (i

[Lift] Sitemap - rendering "title" attributes for the links

2009-12-21 Thread Alex Black
Can someone point me in the right direction to get tooltips (title attributes) rendered in my sitemap? I'd like to add text to each link, so they get rendered like this: some page thx - Alex -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to

[Lift] Re: [maven-and-scala] Re: Nexus/Hudson maitenance on scala-tools.org

2009-12-21 Thread Indrajit Raychaudhuri
Neato! Thank you very much for the upgrade and the update on that! Should we expect a java5 environment as well, or are you deferring this for now? Cheers, Indrajit On 21/12/09 7:44 PM, Josh Suereth wrote: > The hudson upgrade has been completed, however the nexus upgrade ran > into some issues

[Lift] Re: Confused about validation

2009-12-21 Thread greekscala
Nice to see that there is discussion about this. I do not have much web framework background but the Wicket Validators are really nice. with best regards On 18 Dez., 10:13, Jeppe Nejsum Madsen wrote: > Naftoli Gugenheim writes: > > What would such an abstraction do? > > What code would you lik

Re: [Lift] Status of DB backend for record?

2009-12-21 Thread David Pollak
I think it's safe to say Mapper will live into the indefinite future, so please make your changes on Mapper. On Mon, Dec 21, 2009 at 6:30 AM, Jeppe Nejsum Madsen wrote: > Hi, > > What's the status of the DB backend for Record? I'm asking because, I'm > about to start adding temporal object suppor

Re: [Lift] Re: [maven-and-scala] Re: Nexus/Hudson maitenance on scala-tools.org

2009-12-21 Thread Josh Suereth
Deferred for now. I was trying to figure out how to set up "build nodes" which would handle building against various platforms (e.g. windows, mac, ubuntu, fedora, etc.). This is where we could better customize what's installed on our "build farm". Might take a different approach short term, but

Re: [Lift] Re: **Important** Announcing the Lift 2.0 branch

2009-12-21 Thread David Pollak
On Sun, Dec 20, 2009 at 10:37 PM, Xuefeng Wu wrote: > That's great that Lift2.0 is on Scala 2.8 Lift is not "on Scala 2.8" at this time. There is an experimental branch that we're using to track master which compiles a subset of Lift against Scala 2.8. At some point in the future, the master

Re: [Lift] The future of lift-core

2009-12-21 Thread David Pollak
On Sun, Dec 20, 2009 at 11:39 AM, Indrajit Raychaudhuri wrote: > Folks, > > lift-core is a 'meta' project that can be added as a dependency to a > Lift project to pull in all the Lift modules. This serves as a singular > configuration point in a Lift based application. > > However, since lift-cor

Re: [Lift] Directory structure

2009-12-21 Thread David Pollak
On Sun, Dec 20, 2009 at 12:48 PM, Alex Boisvert wrote: > I don't think it's worth a lot of effort. If it's been tried and doesn't > work nicely, I'm fine with sticking with the current structure. > +1 I dislike the current lift-xxx structure, but we've got higher priorities. > > At some poin

Re: [Lift] PayPal X

2009-12-21 Thread David Pollak
On Sun, Dec 20, 2009 at 2:42 PM, Timothy Perrett wrote: > Guys, > > Is their any appetite for adding support for the new Paypal X > services? > > https://www.x.com/index.jspa > > Basically it allows you to seamlessly integrate the billing cycle > without transferring to paypal I personally don

Re: [Lift] Re: CMS or wiki built with Lift?

2009-12-21 Thread David Pollak
On Sun, Dec 20, 2009 at 1:43 PM, jlist9 wrote: > Thanks! No checkins for hoisted yet. I'll check out Democritus. > I started working on Hoisted for my local elementary school and got un-sidetracked with paying work. Sorry. > > On Sun, Dec 20, 2009 at 12:44 PM, Randinn wrote: > > Well, as far

Re: [Lift] Validation errors shown on CRUDify models?

2009-12-21 Thread David Pollak
On Mon, Dec 21, 2009 at 1:53 AM, Jeppe Nejsum Madsen wrote: > tommycli writes: > > > Are validation errors shown on CRUDify create/edit pages? > > > > I have validators set up like this: > > > > object subdomain extends MappedString(this,64) { > > override def validations = List(valUnique("

[Lift] Re: Paranamer? Missing com.thoughtworks.paranamer:paranamer:jar:2.0

2009-12-21 Thread Dave Briccetti
Thanks for confirming that it is indeed there. The problem was my thoughtworks directory in my local repository was owned by root, for some reason. Problem solved. -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift

[Lift] Catch file upload exceptions?

2009-12-21 Thread tiro
Hi, just wondering if anybody knows of a handy way to properly handle the exceptions that are thrown when a user uploads a file that exceeds the size limit (or who knows what else can happen)? The stack trace that I see in such a case is as follows -- and apart from trying S.addAround I don't see

[Lift] Re: Catch file upload exceptions?

2009-12-21 Thread Marius
Have you tried using in boot LiftRules.exceptionHandler.prepend (...) ? Br's, Marius On Dec 21, 11:43 pm, tiro wrote: > Hi, > > just wondering if anybody knows of a handy way to properly handle the > exceptions that are thrown when a user uploads a file that exceeds the > size limit (or who kno

[Lift] Externalizing log4j configuration

2009-12-21 Thread Mark Feeney
Hi, all. I'm building a web app in Lift 1.0 and deploying to Jetty 6.1.22. I'm trying to figure out the best way (or any way) to externalize the log4j configuration. My ideal deployment would look like this: /usr/local/jetty/webapps/myapp.war /well/known/location/myapp-log4j.xml (i.e. not in

[Lift] Re: Skittr example in bad shape

2009-12-21 Thread Vesa
Hi, I noticed logged in user still can't see messages by other users they follow. There were couple of messages still missing parameters. Patch shows the parts that need to be modified to get it working again. - Vesa diff --git a/lift-examples/skittr/src/main/scala/com/skittr/actor/ UserActor.sc

[Lift] Re: Catch file upload exceptions?

2009-12-21 Thread Timothy Perrett
I'm not sure that is what the OP is after - it would work, but that's not what he is asking IMHO I'll take a look tomorrow and see what could be done cheers, Tim On Dec 21, 9:52 pm, Marius wrote: > Have you tried using in boot LiftRules.exceptionHandler.prepend > (...)  ? > > Br's, > Marius > >

[Lift] Re: PayPal X

2009-12-21 Thread Timothy Perrett
Cool - I'll have a play overthe hols. It's a SOAP api so I'd need to depend on CXF or JAXWS... Do you forsee any license conflicts before I start work? Cheers, Tim On Dec 21, 6:58 pm, David Pollak wrote: > On Sun, Dec 20, 2009 at 2:42 PM, Timothy Perrett > wrote: > > > Guys, > > > Is their any

Re: [Lift] Re: PayPal X

2009-12-21 Thread David Pollak
On Mon, Dec 21, 2009 at 4:28 PM, Timothy Perrett wrote: > Cool - I'll have a play overthe hols. > > It's a SOAP api so I'd need to depend on CXF or JAXWS... Do you forsee > any license conflicts before I start work? > As long as those libraries are Apache 2 or MIT/BSD licenses, all is good. > >

Re: [Lift] Sitemap - rendering "title" attributes for the links

2009-12-21 Thread Xuefeng Wu
You could add MetaData 'title' by Elem 's method '%' some page % ("title" -> "what will happen when you click on this link") or use { } some page On Mon, Dec 21, 2009 at 10:38 PM, Alex Black wrote: > Can someone point me in the right direction to get tooltips (title > attributes) rendered in my

Re: [Lift] Re: PayPal X

2009-12-21 Thread Ross Mellgren
Looks like JAX-WS reference implementation is dual licensed CDDL or GPLv2. -Ross On Dec 21, 2009, at 7:32 PM, David Pollak wrote: > > > On Mon, Dec 21, 2009 at 4:28 PM, Timothy Perrett > wrote: > Cool - I'll have a play overthe hols. > > It's a SOAP api so I'd need to depend on CXF or JAXWS

[Lift] 280_port and yuicompressor problem

2009-12-21 Thread Alan M
I just recently started tinkering around with 2.8.. actually a recent upgrade of Netbeans kind of necessitated it.. (the only Scala plugin for Netbeans 6.8 requires Scala 2.8.xxx, ughh). So most of my code is close anyway, except for anything that depends on specs. But I had to get the 280_port o

Re: [Lift] Re: Catch file upload exceptions?

2009-12-21 Thread Xuefeng Wu
It's good way to handle exception. And I think it's better that it could pop dialog to tell users what's wrong. http://www.mail-archive.com/liftweb@googlegroups.com/msg03001.html http://wiki.liftweb.net/index.php/HowTo_use_error_pages On Tue, Dec 22, 2009 at 5:52 AM, Marius wrote: > Have you

[Lift] Re: Nexus/Hudson maitenance on scala-tools.org

2009-12-21 Thread Josh Suereth
The scala-tools.org maintenance/upgrade has been completed. Any further service interruptions should be reported to ad...@scala-tools.org Thanks! - Josh On Fri, Dec 18, 2009 at 3:38 PM, Josh Suereth wrote: > All, > > Nexus/Hudson will be temporarily disabled Saturday/Sunday from 8-11pm > EST.

Re: [Lift] 280_port and yuicompressor problem

2009-12-21 Thread Ross Mellgren
This is actually due to OpenJDK, not due to Scala at all, if I recall correctly. Please try installing the Sun JDK and see if the problem goes away. If you're staunchly against that, you can just comment out the yuicompressor plugin, also. -Ross On Dec 21, 2009, at 8:10 PM, Alan M wrote: > I

Re: [Lift] 280_port and yuicompressor problem

2009-12-21 Thread Xuefeng Wu
If you google "[yuicompressor:compress {execution: default}]" would find so many information about this. It's not caused by scala2.8 or lift. On Tue, Dec 22, 2009 at 9:10 AM, Alan M wrote: > I just recently started tinkering around with 2.8.. actually a recent > upgrade of Netbeans kind of nece

[Lift] Re: Sitemap - rendering "title" attributes for the links

2009-12-21 Thread Alex Black
Hi Xuefeng, I'm using the default Lift Sitemap, so I don't think I can use either of your suggestions, or, I don't see how to use them. The sitemap renders the links for me... I have seen how to set the class of the elements that it renders, but not how to add other attributes such as title. - A

Re: [Lift] Re: Scala to JavaScript DSL ...

2009-12-21 Thread Naftoli Gugenheim
Inlined 2009/12/19 Marius > If I may a few notes: > > Syntactically it doesn't seem to me that there are much differences > between this and the initial proposal. Probably the most noticeable > diffs are in algebraic expressions like > > Var("y") := (2:Expr) * x * 2 > > which probably looks more

Re: [Lift] Re: Sitemap - rendering "title" attributes for the links

2009-12-21 Thread Xuefeng Wu
Sorry I misunderstand you. And I do not know how to too. Maybe you should use instead of On Tue, Dec 22, 2009 at 11:29 AM, Alex Black wrote: > Hi Xuefeng, > > I'm using the default Lift Sitemap, so I don't think I can use either > of your suggestions, or, I don't see how to use them. The s

[Lift] Re: Validation errors shown on CRUDify models?

2009-12-21 Thread tommycli
Thanks guys. On Dec 21, 11:59 am, David Pollak wrote: > On Mon, Dec 21, 2009 at 1:53 AM, Jeppe Nejsum Madsen wrote: > > > > > tommycli writes: > > > > Are validation errors shown on CRUDify create/edit pages? > > > > I have validators set up like this: > > > >   object subdomain extends MappedSt

[Lift] About the Chat demo of the Lift?

2009-12-21 Thread Neil.Lv
Hi all I have a silly question about the Chat demo. How could i create a Chat room in this demo ? Maybe i can define a variable or some other method to achieve the purpose ! Now all the people are in the same Chat room ( global ) in the example, so i want to create more than one Cha

Re: [Lift] About the Chat demo of the Lift?

2009-12-21 Thread Margaret
see this http://github.com/maweis1981/chatOnLift - mawei...@gmail.com 13585201588 http://maweis.com On Tue, Dec 22, 2009 at 2:31 PM, Neil.Lv wrote: > Hi all > >   I have a silly question about the Chat demo. > >   How could i create a Chat

[Lift] How could i send a HTTP get or post request in the Snippet or Views in the Lift?

2009-12-21 Thread Neil.Lv
Hi all, How could i send a HTTP get or post request in the Snippet or Views in the Lift? For example, the weather API . I want to send an HTTP get request or post request to another website that it supplies some APIs, then in the lift we can receive the return data such as XML data, so

[Lift] Re: About the Chat demo of the Lift?

2009-12-21 Thread Neil.Lv
OK, and Where is the code about the Creating more Chat Rooms? Thanks very much! Cheers, Neil On Dec 22, 2:34 pm, Margaret wrote: > see this > > http://github.com/maweis1981/chatOnLift > > - > mawei...@gmail.com > 13585201588http://mawe

Re: [Lift] Re: About the Chat demo of the Lift?

2009-12-21 Thread Margaret
maybe need create more comet actor or add room entity to filter request and response. - mawei...@gmail.com 13585201588 http://maweis.com On Tue, Dec 22, 2009 at 3:05 PM, Neil.Lv wrote: > >  OK, and Where is the code about the Creating more

[Lift] Re: How could i send a HTTP get or post request in the Snippet or Views in the Lift?

2009-12-21 Thread Marius
Well from your Snippet method you can just use HttpURLConnection, or Apache Commons Client to make remote requests to other services. Of course typically you won't do this directly from the snippet method but from a Service layer of your application. One you get the response (say it's an XML) you p