[Lift] Re: Cached CSS (and Javascript?) issue

2010-02-21 Thread Marius
Guys, I'm starting to have second thoughts about having css or js combine (concatenation of multiple files into a single response) on lift side. I'm starting to question that real benefits as in production sites in many cases the lift app has a http reverse proxy front end that can serve static

[Lift] Re: Unnecessary SELECT DISTINCT statements

2010-02-21 Thread Petr Pudlak
Thanks. My bad, instead of checking the Scala repository (http://scala- tools.org/repo-releases/net/liftweb/lift-mapper/) I was checking the main Maven repository, where there was just version 2.0-M1. I moved my project to 2.0-M2 and now it works perfectly. Petr On 18 Ășn, 23:03, David Pollak

[Lift] What is the current working pattern for storing timestamps?

2010-02-21 Thread Hannes
Hi Lifters, I'm using Mapper with Lift 1.1-M7 and I need to have some information about time. Especially I wanna store a time-stamp for a status field that can have three values: NEW; OPEN; CLOSED; So, what I thought about was defining two new fields open_time and close_time that I'd use

Re: [Lift] What is the current working pattern for storing timestamps?

2010-02-21 Thread Jonathan Hoffman
Does MappedDateTime do what you want? Also look at MappedEnum for the status On Feb 21, 2010, at 6:07 AM, Hannes wrote: Hi Lifters, I'm using Mapper with Lift 1.1-M7 and I need to have some information about time. Especially I wanna store a time-stamp for a status field that can

[Lift] Versions: Netbeans, Scala and Lift

2010-02-21 Thread Arie
I've been going through as many posts as possible to try to establish how to use Netbeans (on a Mac) with Lift. I think I'm correct in saying that Netbeans 6.8 will only work with Scala 2.8 (beta/snapshot - http://wiki.netbeans.org/Scala68v1), and that from this

Re: [Lift] Versions: Netbeans, Scala and Lift

2010-02-21 Thread Ross Mellgren
Lift 1.1 and 2.0 are the same code stream by the way, just 1.1 was renamed to 2.0 after 1.1-M8. That said, the most recent versions of 2.0-SNAPSHOT and 1.1-SNAPSHOT run on Scala 2.7.7. The new 2.0-SNAPSHOT branch for Scala 2.8.0 (280_port_refresh, built as 2.0-scala280-SNAPSHOT I believe) runs

Re: [Lift] Versions: Netbeans, Scala and Lift

2010-02-21 Thread Timothy Perrett
For the OP, Read: Binary incompatible and totally inoperable between even micro releases. Cheers, Tim On 21 Feb 2010, at 21:51, Ross Mellgren wrote: Keep in mind that Scala is extremely version sensitive and not backward compatible. -- You received this message because you are subscribed

[Lift] Problem with FocusOnLoad and passing attributes through bind

2010-02-21 Thread Luke Nezda
Hello, I am new to Scala and Lift. I am having a problem using 2 features together which seem to work fine individually. Here's a simplified piece of the code: class Ajax { def someResult(q:String) = spansome results for query {q}.../ span // searchField closure def searchField(xhtml:

Re: [Lift] Versions: Netbeans, Scala and Lift

2010-02-21 Thread Caoyuan
Yes, Scala plugin for NetBeans 6.8 needs Scala 2.8, thus lift's 280 branches. For Maven project, there is no need to set Scala home and dependent libs in NetBeans, all these setting are in pom.xml. Cheers, -Caoyuan On Mon, Feb 22, 2010 at 5:51 AM, Ross Mellgren dri...@gmail.com wrote: Lift 1.1

Re: [Lift] Re: Setting run mode for Lift applications

2010-02-21 Thread Jeppe Nejsum Madsen
On Sun, Feb 21, 2010 at 2:19 AM, Timothy Perrett timo...@getintheloop.eu wrote: The former is a lift idiom that we use for everything configurable... Lets look into doing that. Jeppe: Are you willing to investigate this / take the lead? Yes. I've created

Re: [Lift] Re: Setting run mode for Lift applications

2010-02-21 Thread Heiko Seeberger
Folks, I really do not understand the value of setting the run mode statically via code in LiftRules. The run mode should be set externally, right? In order to use the same artifact (WAR) on a dev or a prod server. Heiko On 22 February 2010 08:44, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: