Hi Guys
Is it possible to disable XHTML only in one html file?
When i put
LiftRules.useXhtmlMimeType = false
in Boot.scala then i'll swich this off in whole project.
Is any other place to put this line?
Thanks.
--
You received this message because you are subscribed to the Google Groups
You can use LiftRules.determineContentType to do this. Here is a
sample from my project:
LiftRules.determineContentType = {
case (_, Full(accept)) if LiftRules.useXhtmlMimeType
accept.toLowerCase.contains(application/xhtml+xml) =
application/xhtml+xml; charset=utf-8
case _ =
On Dec 14, 7:37 am, O'Rorke Paul p...@ororke.com wrote:
Hi: I am still getting Couldn't start SessionMaster ping errors when I
shut down with a control C.
Is this just something to be expected on shutting down that way?
or do I need to edit my pom.xml and change
On Sat, Dec 12, 2009 at 5:51 PM, daiwhea daiw...@gmail.com wrote:
Thanks David. I think lift can give me what I want. There is no doubt
on it now. All the problem is can I master it enough. Thanks for all
your words.
One more thing... in Boot, there's a DB.buildConnectionWrapper line. This
I started a new 1.1-Snapshot and am now getting the following error
when trying to save a mapper object:
Message: net.liftweb.mapper.MapperException: Cannot test the
MetaMapper singleton for saved status
net.liftweb.mapper.MetaMapper$class.saved_$qmark(MetaMapper.scala:
550)
On 2009-12-14 02:26, DMB wrote:
That's a common misconception among Java folks. Leaving aside the
relative merits of the various web frameworks, .NET runtime is about
10% faster on Windows in steady state than Sun Server JRE, and it uses
Back it up by a decent benchmark, otherwise tell me
Can anyone recommend a way to map a virtual directory in Jetty/Lift?
E.g. I'd like /images to point to a file system location that is not
in my project.
Is there a simple Jetty mechanism, or Lift configuration for this type
of thing?
Thx!
- Alex
--
You received this message because you are
On Mon, Dec 14, 2009 at 9:11 AM, glenn gl...@exmbly.com wrote:
I started a new 1.1-Snapshot and am now getting the following error
when trying to save a mapper object:
You're not saving a Mapper instance, you're calling save on the MetaMapper
instance. That can cause significant problems,
Two options as I see it. One is:
LiftRules.liftRequest.prepend {
case Req(your :: path :: Nil, pdf, GetRequest) = false
}
This will make lift ignore the request path and the servlet container (jetty in
this instance) will serve it. Option 2 is to put a front end rewrite in on your
I'm working on a plugin for a website. Essentially a user of the external
website (we'll call it Shopify), can click on a link to add my service to
their webstore. So Shopify uses a URL like:
Hi Tim, thanks for the suggestions.
I'm new to Jetty etc, so bear with me, but, in your first suggestion,
we're basically telling Lift to ignore those requests. Once they are
ignored, how do I tell Jetty to look in the mapped folder? Would I
write my own servlet?
Thanks!
- Alex
On Dec 14,
The 1.1-M7 basic archetype in http://scala-tools.org/repo-snapshots
doesn't have a dependency on lift-json and so compilation fails.
Adding this dependency in the pom solves this. Also, shouldn't the pom
use the SNAPSHOT repo rather than, or at least in addition to,
releases?
Glenn
--
You
On Mon, Dec 14, 2009 at 10:47 AM, glenn gl...@exmbly.com wrote:
The 1.1-M7 basic archetype in http://scala-tools.org/repo-snapshots
doesn't have a dependency on lift-json and so compilation fails.
Adding this dependency in the pom solves this. Also, shouldn't the pom
use the SNAPSHOT repo
Stupid me!! I mistakenly put the CRUDify trait on the class, not the
object.
Thanks a bunch for getting me out of this mess.
Glenn
On Dec 14, 10:13 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Dec 14, 2009 at 9:11 AM, glenn gl...@exmbly.com wrote:
I started a new 1.1-Snapshot
Folks,
Lift allows developers to create web sites that are:
1. Reliable (which includes secure)
2. Maintainable/concise
3. Highly interactive
4. Easy to build
5. High Performance
6. Easy to on-board (initial understanding of the APIs)
Lift's APIs should reflect these
The Lift Web Framework team is pleased to announce the lift-1.1-M8 release!
Lift is an expressive and elegant framework for writing web applications.
Lift stresses the importance of security, maintainability, scalability
and performance while allowing for high levels of developer
This is such a preference. Most people use IDEs, I personally dont, but I would
still choose clarity and marginal verbosity over less typing. A classic is some
places in lift we call it calc and other palces its calculator
Cheers, Tim
On 14 Dec 2009, at 19:34, David Pollak wrote:
I
Huzzah!
Welcome M8!
--
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
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at
Ah, I see.
Where does MappedManyToMany delete anything not in the join table? If you mean
the spec feel free to change it or comment out the whole thing and ask me to
fix it. By the way it's hardcoded to use H2MemoryProvider.
Is OneToMany doing anything bad?
Thanks.
If I run the Mac installer, where does it put the Lift files?
Thank you,
Donald
--
Family photographs are a critical legacy for
ourselves and our descendants. Protect that
legacy with a digital backup and recovery plan.
Join the photo preservation advocacy Facebook group:
I snipped some stuff.
On Mon, Dec 14, 2009 at 12:34 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Sun, Dec 13, 2009 at 10:39 PM, Heiko Seeberger
heiko.seeber...@googlemail.com wrote:
2009/12/13 Kris Nuttycombe kris.nuttyco...@gmail.com
5) Avoid using abbreviations
I
On Mon, Dec 14, 2009 at 12:00 PM, Donald McLean dmclea...@gmail.com wrote:
If I run the Mac installer, where does it put the Lift files?
The Lift installer simply installs Maven 2.2.0 on your Mac. Once you create
a new Lift app or run Maven (mvn) on an existing Lift app, Maven downloads
the
5) Avoid using abbreviations
I disagree. When coding with a non-IDE, abbreviations make life much
easier.
I agree with David, abbreviations are better. When I'm trying to get
something out of my head and into code, I don't want things getting in my
way. 2 things in this scenario get
Very nice, great work guys!
On Dec 15, 6:57 am, harryh har...@gmail.com wrote:
Huzzah!
Welcome M8!
--
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
I'm not sure you can generalize whether abbreviations are good or bad. It
depends how obvious their meaning is. No one in favor of abreviations wants to
replace say JSONResponseType (if such a name exists) with JRT! Nor does anyone
want to replace JSON with JavaScriptObjectNotation. Everyone
Naftoli mentioned the LifecycleCallbacks trait but doesn't actually
hook into anything itself – it just provides the methods. To hook into
things it looks like you definitely could subclass get and set, but
that doesn't strike me as nice from a user's perspective as having
the . I just discovered
Do you have benchmarks comparing the differences in time?
Just kidding. :)
But I would like to point out, I understand your position, but I think many
people would use the exact same argument against abbreviations, if they make it
take longer to figure out or remember what their called!
Some
Do you have benchmarks comparing the differences in time?
Just kidding. :)
But I would like to point out, I understand your position, but I think many
people would use the exact same argument against abbreviations, if they make it
take longer to figure out or remember what their called!
Some
I think MetaMapper finds it via reflection--am I wrong?
-
Peter Robinettpe...@bubblefoundry.com wrote:
Naftoli mentioned the LifecycleCallbacks trait but doesn't actually
hook into anything itself – it just provides the methods. To hook into
things it looks
The default location is:
/Applications/liftweb-1.0.2
However, if you followed the process you would have been asked where you wanted
to install the files... Moreover, the installer alters your bash profile so you
have maven available on your $PATH
Cheers, Tim
On 14 Dec 2009, at 20:56,
lift:OuterSnippet form=POST
lift:InnerSnippet class=foo style=color:blue
/lift:InnerSnippet
/lift:OuterSnippet
class InnerSnippet {
def render(xhtml: NodeSeq) {
// S.attrs will, at this point give me (form, POST), (class, foo),
(style, color:blue). I only
// want the
Oh nevermind. S.currentAttrs is what I want. Just didn't see it
before.
-harryh
--
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
On 14 Gru, 20:56, David Pollak feeder.of.the.be...@gmail.com wrote:
The Lift installer simply installs Maven 2.2.0 on your Mac
There is newer Maven version available in MacPorts:
$ port search maven2
maven2 @2.2.1 (java, devel)
--
JZ
--
You received this message because you are subscribed
On Mon, Dec 14, 2009 at 2:12 PM, Jaroslaw Zabiello
hipertrac...@gmail.comwrote:
On 14 Gru, 20:56, David Pollak feeder.of.the.be...@gmail.com wrote:
The Lift installer simply installs Maven 2.2.0 on your Mac
There is newer Maven version available in MacPorts:
$ port search maven2
maven2
On Mon, Dec 14, 2009 at 12:31 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
Folks,
Lift allows developers to create web sites that are:
Reliable (which includes secure)
Maintainable/concise
Highly interactive
Easy to build
High Performance
Easy to on-board (initial understanding
On Sun, Dec 13, 2009 at 9:55 AM, tommycli tommy...@ucla.edu wrote:
A use case is inline page previews for entries - whereas on the full
page there should be full headers, on the preview, h1 ought to
become h3 etc.
I would recommend putting the textile stuff in a div that has a style that
On Sun, Dec 13, 2009 at 10:26 PM, tommycli tommy...@ucla.edu wrote:
The below example fails to render a list in lift-textile, but works in
the reference implementation (http://textism.com/tools/textile/
index.php http://textism.com/tools/textile/%0Aindex.php).
Lists work in lift-textile only
Found this sitting in my drafts... :)
I agree. It should be possible for library users to have the same meaning with
the bytes experience while factoring out Mapper so that the presentation
aspect lives in a trait that can be used without Mapper.
-Original Message-
From: Jeppe Nejsum
Thanks David.
In fact, I can't find DB.buildConnectionWrapper in the Boot.scala of
lift-archetype-jpa-basic archetype.
I'm looking for a webframework which I can update some my old PHP site
to a new platform for high performance. I think lift can provide what
I want. I'm still wondering about
39 matches
Mail list logo