[Lift] Re: More docs?

2009-03-11 Thread Heiko Seeberger
Great! Thanx Heiko On 11.03.2009, at 02:01, TylerWeir wrote: Derek, Marius and I are writing a book for Lift: http://github.com/tjweir/liftbook/tree/master and http://cloud.github.com/downloads/tjweir/liftbook/master-20090309.pdf On Mar 10, 3:07 pm, Heiko Seeberger

[Lift] Re: You guys rock!

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

[Lift] Re: Lift-friendly Web Hosting

2009-03-11 Thread Mateusz Fiołka
I recommed http://www.slicehost.com/I have not done any serious Lift work there, but I have checked that Lift works well on the 256 slice. It's quite cheap and the first service I found to work out of the box without any problems for such money. I did install ubuntu, then apt-get ant, maven, java,

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

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

[Lift] Re: You guys rock!

2009-03-11 Thread etorreborre
Hi Alex, Knowing that you can write specs which can be run as JUnit tests, can't the continuous testing plugin in Eclipse work with that? Or would you like something simple like autotest in Ruby which polls the modified files regularly and executes the tests in the console if any file is

[Lift] Re: You guys rock!

2009-03-11 Thread David Bernard
About naming convention of test, I used : class XxxxSpecTest extends org.specs.runner.JUnit4(XxxxSpec) import org.specs._ object XxxxSpec extends Specification with ScalaCheck { About file roller, I could modify the maven:cc to add an option that rerun every test on change but I thing it

[Lift] Re: mvn compile logging level

2009-03-11 Thread Derek Chen-Becker
Add arg-nowarn/arg The the plugin config section. The whole plugin would look like: plugin groupIdorg.scala-tools/groupId artifactIdmaven-scala-plugin/artifactId executions execution goals goalcompile/goal

[Lift] Re: Bug in LiftRules defaultLocaleCalculator

2009-03-11 Thread David Pollak
Fixed in the 1.1 branch. It might make sense to back-port to the 1.0 branch On Wed, Mar 11, 2009 at 1:49 PM, marius d. marius.dan...@gmail.com wrote: I'll look on it this evening ... On Mar 11, 1:12 pm, Timothy Perrett timo...@getintheloop.eu wrote: Just realised i had not posted the

[Lift] Re: Bug in LiftRules defaultLocaleCalculator

2009-03-11 Thread Derek Chen-Becker
The git diff makes it hard to see what happened (it looks like Req was replaced wholesale). What did it end up being? Thanks, Derek On Wed, Mar 11, 2009 at 9:15 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Fixed in the 1.1 branch. It might make sense to back-port to the 1.0 branch

[Lift] Re: You guys rock!

2009-03-11 Thread Alex Boisvert
On Wed, Mar 11, 2009 at 1:55 AM, etorreborre etorrebo...@gmail.com wrote: Knowing that you can write specs which can be run as JUnit tests, can't the continuous testing plugin in Eclipse work with that? I'm using Eclipse 3.4 and neither ct-eclipse nor the MIT continuous testing tools seem to

[Lift] Re: You guys rock!

2009-03-11 Thread Alex Boisvert
On Wed, Mar 11, 2009 at 8:56 AM, Raoul Duke rao...@gmail.com wrote: Between Scala and Lift, ScalaCheck and Specs, Eclipse and Buildr, Jetty and JavaRebel, it's amazing to see how far the tools have evolved in the 2 years I've been following Scala. so... any good concise instructions on

[Lift] Re: You guys rock!

2009-03-11 Thread Dano
Late to the party here, but I would second the request for Alex's writeup of his dev environment formula. A link reference would be most appreciated. Thanks very much. Dan On Mar 11, 9:38 am, Alex Boisvert boisv...@intalio.com wrote: On Wed, Mar 11, 2009 at 8:56 AM, Raoul Duke

[Lift] Re: Bug in LiftRules defaultLocaleCalculator

2009-03-11 Thread marius d.
Ohh goody goody goody ... I won't have to fix it :D ... so back on the book work ... On Mar 11, 5:15 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Fixed in the 1.1 branch.  It might make sense to back-port to the 1.0 branch On Wed, Mar 11, 2009 at 1:49 PM, marius d.

[Lift] How can I use unit tests with S.?(key) ?

2009-03-11 Thread Joachim A.
Hi, I have a unit test which call a method which uses the locale method S.? (String). It throws a nullpointer, though. Did I forget to setup things somewhere? Or can't I use S.? without a running request? The call to S.? works fine in a running web application. Thanks a lot, Joachim The

[Lift] Re: How can I use unit tests with S.?(key) ?

2009-03-11 Thread marius d.
Can you try S.initIfUninitted(liftSession) { do your code here } ? ... but you'd still need to create a dumb LiftSession Br's, Marius On Mar 11, 8:40 pm, Joachim A. wallaby.po...@googlemail.com wrote: Hi, I have a unit test which call a method which uses the locale method S.?

[Lift] Google search results

2009-03-11 Thread lmorroni
Hello, I could not help but notice that the mini site map that gets returned on google when searching for lift framework has dead links. Can someone fix that? Larry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Lift] Re: Bug in LiftRules defaultLocaleCalculator

2009-03-11 Thread David Pollak
On Wed, Mar 11, 2009 at 3:43 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: The git diff makes it hard to see what happened (it looks like Req was replaced wholesale). What did it end up being? We were not always doing null testing for request.request. I fixed that. There are cases where

[Lift] Re: Google search results

2009-03-11 Thread Timothy Perrett
In short, no. We can't fix those results as they are generated by google not by our good selves. I belive this is because the wiki used to be on the lift TLD. Over time this will work itself out - appologies for any confussion this had caused. Cheers, Tim Sent from my iPhone On 11 Mar

[Lift] Re: Bug in LiftRules defaultLocaleCalculator

2009-03-11 Thread Timothy Perrett
For group benifit, the fix to Req solves the comet issue. Awesome. Cheers Tim Sent from my iPhone On 11 Mar 2009, at 22:51, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Mar 11, 2009 at 3:43 PM, Derek Chen-Becker dchenbec...@gmail.com wrote: The git diff makes it hard to

[Lift] Re: How can I use unit tests with S.?(key) ?

2009-03-11 Thread etorreborre
Hi, I don't know how this could help because I've been away from lift code for a long time. But I remember that I tried to use mocks with JMock and specs in order to specify the example site (\liftweb\sites \example\src\test\scala\net\liftweb\example\snippet). The idea was to simulate a