Correct - I generally only update the installers periodically with major or
minor releases of maven... i haven't the time to update with every micro
release.
As david points out, not everyone has mac ports installed. You can of course
use the macports version - the lift installer is just an
You need to put it in your Boot.scala file.
determineContentType is of PartialFunction[(Box[Req], Box[String]), String]
type - this means that you can match on particular paths:
LiftRules.determineContentType = {
case (Full(Req(some :: path :: Nil, pdf, GetRequest)),
Full(accept))
I'm wondering about scala 2.8 compatibility, is it in or when is it
planned?
--
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 from this group, send email to
No, it is not in yet.
This is currently on the 2_8_0 branch and will be in Lift 2.0 (Scala 2.8 keeps
being put back)
Cheers, Tim
On 15 Dec 2009, at 10:57, Oleg G. wrote:
I'm wondering about scala 2.8 compatibility, is it in or when is it
planned?
--
You received this message because
It still dosn't work :(
this is path to my html file, which is using google maps api: ./
location/maps/testmap.html
i put in my Boot.scala file this code:
LiftRules.determineContentType = {
case (Full(Req(location :: maps :: testmap :: Nil,
html, GetRequest)), Full(accept))
It still dosn't work :(
this is path to my html file, which is using google maps api: ./
location/maps/testmap.html
i put in my Boot.scala file this code:
LiftRules.determineContentType = {
case (Full(Req(location :: maps :: testmap :: Nil,
html, GetRequest)), Full(accept))
Hi,
I store the lift model to json, but cannot revert json to lift model, any
idea?
For example:
My model:
class Book extends LongKeyedMapper[Book] with IdPK{
def getSingleton = Book
object name extends MappedPoliteString(this, 125)
object desc extends MappedTextarea(this, 1320)
}
You need to remove the if guard on the first case match and change the
second parameter you are passing to Req. The second param is for the
context. Try this:
LiftRules.determineContentType = {
case (Full(Req(location :: maps :: testmap :: Nil, _,
GetRequest)), Full(accept)) = text/html;
Hey,
I'm new to both Scala and Lift, but I don't have any professional Java
experience. It seems that all of the documentation available for Lift
is aimed at folks who have considerable professional experience with
Java already. Is there any documentation available aimed for people
like me who
Due to the practical realities of the organization that I work in, I'm
not using Maven at all. Is there some way that I can just download the
Lift jars and install them somewhere?
--
Family photographs are a critical legacy for
ourselves and our descendants. Protect that
legacy with a digital
On Tue, Dec 15, 2009 at 8:32 AM, Donald McLean dmclea...@gmail.com wrote:
Due to the practical realities of the organization that I work in, I'm
not using Maven at all. Is there some way that I can just download the
Lift jars and install them somewhere?
The Lift jars are located at:
The code in the spec is:
person.companies ++= companies
person.save
// Break some joins
companies(3).delete_! // delete 4
companies(6).delete_! // delete 7
person.companies.refresh // reload joins so joinEntity.company.obj
isn't cached
person
My plan is to make FKs
On Tue, Dec 15, 2009 at 4:37 AM, Xuefeng Wu ben...@gmail.com wrote:
Hi,
I store the lift model to json, but cannot revert json to lift model, any
idea?
For example:
My model:
class Book extends LongKeyedMapper[Book] with IdPK{
def getSingleton = Book
object name extends
Hey all!
I'm having great luck coding up my web site which consists of a
handful of pages each of which contains a Flot graph. Behind each
page is a CometActor which dynamically updates the graph.
Since appetite grows while dining, I'm now interested in optimizing a
bit. I presume I have the
On Tue, Dec 15, 2009 at 9:54 AM, Java1Guy mark.cha...@gmail.com wrote:
Hey all!
I'm having great luck coding up my web site which consists of a
handful of pages each of which contains a Flot graph. Behind each
page is a CometActor which dynamically updates the graph.
Since appetite grows
Thanks again for the help. Here are tho talk slides:
http://www.slideshare.net/dcbriccetti/birdshow-a-lift-app-for-showing-flickr-photos-2720594
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
Awesome Dave! Thanks for the acknowledgement.
Cheers, Tim
On 15 Dec 2009, at 18:07, Dave Briccetti wrote:
Thanks again for the help. Here are tho talk slides:
http://www.slideshare.net/dcbriccetti/birdshow-a-lift-app-for-showing-flickr-photos-2720594
--
You received this message because
Yes - it seems upon closer examination with jVisualVM that in fact the
CometActors *are* reused for each page. Yet again, Lift Rules! (I
had been looking at printouts of the uniqueid and thought i was seeing
more than necessary...)
Thanks, Mark
On Dec 15, 11:06 am, David Pollak
Following the layout for building a Lift application using Ant, I put
together a Hello, World application and deployed it. Deploying gives
an error (see below). Any suggestions on what the problem is and how
to fix it?
Thank you,
Donald
Exception starting filter LiftFilter
Looks like you have a mess of wrong JAR files.
What version of Lift are you using?
On Tue, Dec 15, 2009 at 11:16 AM, Donald McLean dmclea...@gmail.com wrote:
Following the layout for building a Lift application using Ant, I put
together a Hello, World application and deployed it. Deploying
commons-fileupload-1.2.1.jar
lift-util-1.0.2.jar
lift-webkit-1.0.2.jar
log4j-1.2.15.jar
scala-library.jar (2.7.6, I believe)
On Tue, Dec 15, 2009 at 2:21 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
Looks like you have a mess of wrong JAR files.
What version of Lift are you using?
On Tue, Dec 15, 2009 at 11:25 AM, Donald McLean dmclea...@gmail.com wrote:
commons-fileupload-1.2.1.jar
lift-util-1.0.2.jar
lift-webkit-1.0.2.jar
log4j-1.2.15.jar
scala-library.jar (2.7.6, I believe)
Never, ever, ever for any reason use Scala 2.7.6. It's very broken.
Lift 1.0.2 uses
That version of lift uses 2.7.5 scala - they are binary incompatible with
2.7.6. Moreover, that isn't enough dependencies for Lift - your probably
missing a bunch of things. How big is the WAR?
Cheers, Tim
On 15 Dec 2009, at 19:25, Donald McLean wrote:
commons-fileupload-1.2.1.jar
It looks like the source jars are missing from the M8 repository, at
least for some of the libraries (for example,
http://scala-tools.org/repo-releases/net/liftweb/lift-util/1.1-M8/).
Are these perhaps located somewhere else now? Or do they typically
get added a bit later?
--
Jim
On Mon, Dec
My mistake - it's 2.7.7 - should I go back to 2.7.5?
On Tue, Dec 15, 2009 at 2:29 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Tue, Dec 15, 2009 at 11:25 AM, Donald McLean dmclea...@gmail.com wrote:
commons-fileupload-1.2.1.jar
lift-util-1.0.2.jar
lift-webkit-1.0.2.jar
On Tue, Dec 15, 2009 at 11:38 AM, Donald McLean dmclea...@gmail.com wrote:
My mistake - it's 2.7.7 - should I go back to 2.7.5?
*Lift 1.0.2 uses Scala 2.7.5 and only works with code compiled by the 2.7.5
compiler and with the 2.7.5 JAR files.*
On Tue, Dec 15, 2009 at 2:29 PM, David Pollak
That worked. Thank you very much!
Donald
On Tue, Dec 15, 2009 at 2:40 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Tue, Dec 15, 2009 at 11:38 AM, Donald McLean dmclea...@gmail.com wrote:
My mistake - it's 2.7.7 - should I go back to 2.7.5?
Lift 1.0.2 uses Scala 2.7.5 and only
I'd start with the Beginning Scala book and work on some code kata like
project euler. Lift is a jump in the deep end - I don't think knowing Java
is much of a help there anyway.
--
View this message in context:
http://old.nabble.com/Documentation-tp26797233p26801361.html
Sent from the liftweb
My suggestion is to get Programming in Scala, it explains the basics
more than the others. Davids book and the rest are great but written
for existing programmers. I also am learning not being a coder for
years so I know how you feel.
On Dec 16, 3:05 am, Daniel who.reads.th...@gmail.com wrote:
And from there, my suggestion would be to experiment with existing sample
Lift applications such as those in http://github.com/dpp/lift-samples to get
the feel for Lift from working code.
alex
On Tue, Dec 15, 2009 at 12:49 PM, Randinn rand...@gmail.com wrote:
My suggestion is to get
Hmm. A word of warning - Netbeans 6.8 requires Scala 2.8. I found out
the hard way. If anyone knows a workaround on how to make Netbeans 6.8
work with Lift, do share.
On Dec 15, 3:16 am, Timothy Perrett timo...@getintheloop.eu wrote:
No, it is not in yet.
This is currently on the 2_8_0 branch
Then I guess you could use an older version of Netbeans, or the 2.8 branch
despite its work-in-progress status (use git and build yourself).
-
DMBcombust...@gmail.com wrote:
Hmm. A word of warning - Netbeans 6.8 requires Scala 2.8. I found out
the hard way.
My tables created by Schemefier have multiple keys for the primary key
when my Mapper model is declared like so: class myModel extends
LongKeyedMapper[myModel] with IdPK. There is naturally the primary key
but there is also a unique key on the column that simply duplicates
the functionality of the
Thanks, David. In my case I want to update a Flot graph and some text
boxes with new information. Since they have their source data in
common, it seems to me it would be most efficient to update the two
parts of the page simultaneously via a partialUpdate. Is this
reasonable or am I abusing
I compiled much of this thread into
http://wiki.github.com/dpp/liftweb/about-naming-conventions in raw form. As
we continue to discuss the naming goals and guidelines and vote or decide on
controversial goals, that wiki page should become more consolidated and less
of a copy-paste of a discussion.
On Tue, Dec 15, 2009 at 5:46 PM, Peter Robinett pe...@bubblefoundry.comwrote:
My tables created by Schemefier have multiple keys for the primary key
when my Mapper model is declared like so: class myModel extends
LongKeyedMapper[myModel] with IdPK. There is naturally the primary key
but there
On Tue, Dec 15, 2009 at 5:49 PM, Peter Robinett pe...@bubblefoundry.comwrote:
Thanks, David. In my case I want to update a Flot graph and some text
boxes with new information. Since they have their source data in
common, it seems to me it would be most efficient to update the two
parts of the
On Dec 15, 2009, at 10:23 PM, David Pollak wrote:
On Tue, Dec 15, 2009 at 5:46 PM, Peter Robinett pe...@bubblefoundry.com
wrote:
Should this be fixed? Or is the more helpful answer 'Don't use
MySQL'? ;-)
I would use MySQL for a production site.
Did you mean wouldn't?
-Ross
--
You
On Tue, Dec 15, 2009 at 7:33 PM, Ross Mellgren dri...@gmail.com wrote:
On Dec 15, 2009, at 10:23 PM, David Pollak wrote:
On Tue, Dec 15, 2009 at 5:46 PM, Peter Robinett
pe...@bubblefoundry.comwrote:
Should this be fixed? Or is the more helpful answer 'Don't use
MySQL'? ;-)
I would use
I also suggest possibly looking at http://www.scala-lang.org/node/104
and http://www.naildrivin5.com/scalatour might help a bit.
Also working on the tuts at http://www.simplyscala.com/ are nice as
you can see them in action.
On Dec 16, 3:05 am, Daniel who.reads.th...@gmail.com wrote:
Hey,
I'm
Without changing any code, I just got this error. The template main is
where it always was. Any ideas?
Error locating template/main.
Message::1:6: expected
scala.xml.dtd.ValidationException: :1:6:
expectednet.liftweb.util.PCDataXmlParser.reportSyntaxError
(PCDataMarkupParser.scala:169)
never mind :)
On Dec 16, 1:09 am, jack jack.wid...@gmail.com wrote:
Without changing any code, I just got this error. The template main is
where it always was. Any ideas?
Error locating template/main.
Message::1:6: expected
scala.xml.dtd.ValidationException: :1:6:
I need to load test my site. It uses Comet. I am trying JMeter but I'm
not sure if it will work with Comet. The application I am testing is
basically a search engine that returns results via Comet.
What is a good tool to load and stress test this?
--
You received this message because you are
Hi,
I add two method to en/decode JObject/String
def encodeAsJsonString(in: A): String =
Printer.compact(JsonAST.render(encodeAsJson(in)))
def buildFromJsonString(json: String): A =
buildFromJson(JsonParser.parse(json).asInstanceOf[JsonAST.JObject])
Do there have better way?
On Thu, Dec 3,
44 matches
Mail list logo