I am uging lift develop a projectI, I want to deploy my project using
jetty instead of tomcat, so i test jetty 6.1.22.
my notebook: lenovo Y330(cpu: Core2 Duo p7350 2GHz, mem: 3G)
my os: debian lenny for amd64
jdk: Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
step 1: download jetty
Seems more than your User class is not implemented or not visible. Is
it ? Does your model classes declare the same package ?
On Nov 20, 6:42 am, adamp adam.perrypellet...@gmail.com wrote:
I'm brand new to Lift and Scala, but an old hand to Java. I'm trying
to work through the 'todo' example
I am developing an application in which i need to do url rewriting so
that all the request of type /document/id gets directed to webpage
display.html which calls a snippet in which i am trying to do some
processing by capturing the parameter passed during
urlrewriting,everything works fine but i
Have a read of my article here: http://is.gd/wq4K
Cheers, Tim
On 23 Nov 2009, at 10:50, iboy wrote:
I am developing an application in which i need to do url rewriting so
that all the request of type /document/id gets directed to webpage
display.html which calls a snippet in which i am
Interesting - this is something i've not actually thought about: If we were to
compile a list of all the breaking changes in 1.1, perhaps that would give some
focus to this discussion... as josh points out, there are most likely quite a
few now and 1.0 - 1.1 is a fairly short jump.
Loc and
Thanks. It helped.
On Nov 23, 3:03 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Sun, Nov 22, 2009 at 3:36 AM, Anatoli anatoli...@gmail.com wrote:
I get following problem when trying to access a testOps.list method
from a template
WARN - Snippet Failure: SnippetFailure(/ -
Thanks Naftoli, that did it. I wonder, why use a new method -% for
attribute preservation?
Naftoli Gugenheim wrote:
This was changed. Instead, with the regular arrow - attributes are not
preserved at all, and a new arrow was introduced -% that preserves all
attributes from the template as
Is Lift suitable for web for mobiles?
Generally web for mobiles (especially in Japan) has some
characteristics:
* No JavaScript support
* No cookie support
* Non standard HTML tags
Thanks
I think this thread contains the key dragons in Lift. Basically, it boils
down to: Lift is highly
To run maven without compiling+running test from commandline :
mvn -Dmaven.test.skip=true
To fully disable test without commenting them :
edit pom.xml
properties
maven.test.skiptrue/maven.test.skip
/properties
(I prefer using the property instead of directly configure surfire because :
*
Jack,
1.
object MyThing extends SessionVar[Box[String]](Empty)
Im using Box[String] here, but you can use whatever types you want...
2. They can be anything (classes, actors, objects), provided they are in
session scope (that is, S.init has been called)
Cheers, Tim
On 23 Nov 2009, at 13:15,
Do not call S.init on your own. Lift does that automatically.
object MyThing extends SessionVar[Box[String]](Empty)
set value:
MyThing.set(Full(my value))
get the value:
MyThing.get
Br's,
Marius
On Nov 23, 3:26 pm, Jack Widman jack.wid...@gmail.com wrote:
Thanks Tim. I didn't know S.init
Jack,
No, you don't call that yourself - I was meaning that Lift initiates the
session for you, thats not your worry :-)
My point really was that comet actors and other lift infrastructure initiate
the session, but normal scala actors would require you to start the session
scope manually using
I agree skipping test is BAD, but in the case of 2.8 for lift or when
running test is long and you need to run install (eg to check compilation on
a multi-module project).
-Dtest=false less typing but not the same result : -Dtest=false == avoid
running test not compiling them and generate this
It should be just fine.
You can tell lift to not use Ajax or any JS at all. There are some
flags in LiftRules to do that.
LiftRules.setAutoIncludeComet = false;
LiftRules.setAutoIncludeAjax = false;
Besides that just don't use JS in your markup or don't use Lift's ajax
stuff.
Lift works with
Hi all
I can't seem to find a way to use a combined primary key. The use case
I'm looking at would be something like a bug tracker where you can
comment on each bug. Each comment would have a number (only unique
within each bug report). In SQL I'd write something like:
CREATE TABLE bug_comments
Marius marius.dan...@gmail.com writes:
It should be just fine.
You can tell lift to not use Ajax or any JS at all. There are some
flags in LiftRules to do that.
LiftRules.setAutoIncludeComet = false;
LiftRules.setAutoIncludeAjax = false;
Besides that just don't use JS in your markup or
Ummm, there is no pom for this - its not that kind of thing.
NGINX is a front end C application - if you want the fair load balencer, just
download the module and compile into your NGINX build.
Cheers, Tim
On 20 Nov 2009, at 10:59, Jeremy Day wrote:
All,
I'm admittedly quite a n00b here
The real question is could you still keep source compatibility if you made
use of some interesting implict and @deprecated annotations? I believe
those are acceptable.
- Josh
On Mon, Nov 23, 2009 at 6:05 AM, Timothy Perrett timo...@getintheloop.euwrote:
Interesting - this is something i've
On Mon, Nov 23, 2009 at 2:09 AM, Heiko Seeberger
seeber...@weiglewilczek.com wrote:
Josh,
Thank you for your brilliant elaboration of compatibility issues!
[snip/]
Also, there is the possibility of taking the version system and adding a
functionality milestone version at the begginning.
On Mon, Nov 23, 2009 at 7:24 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Marius marius.dan...@gmail.com writes:
It should be just fine.
You can tell lift to not use Ajax or any JS at all. There are some
flags in LiftRules to do that.
LiftRules.setAutoIncludeComet = false;
If those other issues are with lift and you're stuck, of course feel
free to post to the list for help.
-Ross
On Nov 20, 2009, at 9:31 AM, jhonig wrote:
Hi Ross,
I haven't been able to test your solution yet, still struggling with
several other
issues. I seldom feel this unproductive,
I have heard on the list previously that compound primary keys are not
supported by mapper.
-Ross
On Nov 23, 2009, at 10:18 AM, Arthur wrote:
Hi all
I can't seem to find a way to use a combined primary key. The use case
I'm looking at would be something like a bug tracker where you can
One reason is that the regular arrow takes a NodeSeq which can't necessarily
have attributes; for example it might be a few Elems. The new arrow takes Elem
which can.
-
Chris Lewisburningodzi...@gmail.com wrote:
Thanks Naftoli, that did it. I wonder, why use
On Sat, Nov 21, 2009 at 8:16 PM, Donald McLean dmclea...@gmail.com wrote:
We are considering porting an existing Java desktop app to a
Scala/lift web app. The application works with a Sybase DB. I'm still
pretty new to Scala and Lift so I'm probably overlooking something
obvious but could
On Mon, Nov 23, 2009 at 8:38 AM, Jim Barrows jim.barr...@gmail.com wrote:
On Sat, Nov 21, 2009 at 8:16 PM, Donald McLean dmclea...@gmail.comwrote:
We are considering porting an existing Java desktop app to a
Scala/lift web app. The application works with a Sybase DB. I'm still
pretty new
On Mon, Nov 23, 2009 at 8:30 AM, Ross Mellgren dri...@gmail.com wrote:
I have heard on the list previously that compound primary keys are not
supported by mapper.
That'd be correct. Please use JPA.
-Ross
On Nov 23, 2009, at 10:18 AM, Arthur wrote:
Hi all
I can't seem to find a
I guess this conversation should have taken place before we started doing
milestone releases etc - stuff thats broken will have to stay broken now
otherwise we'll be making more breaking changes just to un-break previous
stuff...
Cheers, Tim
On 23 Nov 2009, at 16:18, Josh Suereth wrote:
What command line command did you use to create the project?
Is there a User.scala file in your model package/directory?
On Thu, Nov 19, 2009 at 9:42 PM, adamp adam.perrypellet...@gmail.comwrote:
I'm brand new to Lift and Scala, but an old hand to Java. I'm trying
to work through the 'todo'
On Sun, Nov 22, 2009 at 11:36 PM, mr najmi mnajm...@gmail.com wrote:
dear all,
i have one problem in url rewriting..what i want is something like
this guest/view?branch=?date=?...or guest/view/branch/date.
my code as below:
LiftRules.rewrite.append {
case RewriteRequest(
Guys (IRC specifically),
The archetypes in master are broken:
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] Error creating from archetype
Embedded error:
On 23 Nov., 17:42, David Pollak feeder.of.the.be...@gmail.com wrote:
On Mon, Nov 23, 2009 at 8:30 AM, Ross Mellgren dri...@gmail.com wrote:
I have heard on the list previously that compound primary keys are not
supported by mapper.
That'd be correct. Please use JPA.
Thanks Ross and David.
I am okay with an NPE thrown from using S outside a request. Yeah, it'd be
nicer to have a more polite error message, but there should be no creep
towards being able to call S outside a request/session scope.
Also, except for tests or actors, one should never think about initializing
S.
On
I think scalajpa is a very good option if your database is supported by the
underlying jpa provider.
- according to https://www.hibernate.org/80.html, the hibernate / sybase
supported version is Sybase 12.5 (JConnect 5.5)
- according to https://www.hibernate.org/120.html, there is some Batch
So would you prefer no change or change to have better error message?
-Ross
On Nov 23, 2009, at 1:55 PM, David Pollak wrote:
I am okay with an NPE thrown from using S outside a request. Yeah,
it'd be nicer to have a more polite error message, but there should
be no creep towards being
On Mon, Nov 23, 2009 at 11:01 AM, Ross Mellgren dri...@gmail.com wrote:
So would you prefer no change or change to have better error message?
Change to have a better error message
-Ross
On Nov 23, 2009, at 1:55 PM, David Pollak wrote:
I am okay with an NPE thrown from using S outside a
mvn dependency:tree
-Ross
On Nov 23, 2009, at 2:55 PM, David Pollak wrote:
Folks,
I've narrowed down part of the slowness problem. There's a
reference to javax.script:script-js that's never satisfied.
How can I track down what is including this reference or
alternatively blacklist
David, it's probably a broken Specs 1.6.1 which causes this. Please
see this:
http://github.com/robey/xrayspecs/issues/closed/#issue/1
Cheers Joni
On 23 marras, 22:06, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Nov 23, 2009 at 12:02 PM, Ross Mellgren dri...@gmail.com wrote:
On Mon, Nov 23, 2009 at 12:56 PM, Joni Freeman freeman.j...@gmail.comwrote:
David, it's probably a broken Specs 1.6.1 which causes this. Please
see this:
http://github.com/robey/xrayspecs/issues/closed/#issue/1
Tnx!
Cheers Joni
On 23 marras, 22:06, David Pollak
I've been working with lift-flot a lot recently and I'd like to share
some thoughts and suggest some improvements. It's a very useful
interface to a great Javascript plotting library, so consider these as
small suggestions from a fan.
First, the fact that FlotSerie's data property is a
I really thought that you were talking about Azul, which is something I
would *love* to run Lift on :)
http://www.azulsystems.com/
Derek
On Thu, Nov 19, 2009 at 3:20 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Thu, Nov 19, 2009 at 1:51 PM, Matt Harrington
OK, thinking about this a little further, technically it would be a breaking
change to remove the menus method from MetaMegaProtoUser. Would it be better
to simply introduce a MenuGenerator trait, a la
trait MenuGenerator {
def menus : List[Menu]
}
And add that to CRUDify and
I get the HTTP Status 404 Error: The requested resource () is not
available
On Nov 24, 11:21 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Nov 23, 2009 at 4:13 PM, sunanda sunanda.pa...@gmail.com wrote:
Hi,
I need the url pattern for my application to be /grid/*.
I
On Mon, Nov 23, 2009 at 4:27 PM, sunanda sunanda.pa...@gmail.com wrote:
I get the HTTP Status 404 Error: The requested resource () is not
available
Do you have items and SiteMap entries for
/grid/index
/grid/
?
On Nov 24, 11:21 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
No I don't have.
Do I need to have this.
On Nov 24, 11:49 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Nov 23, 2009 at 4:27 PM, sunanda sunanda.pa...@gmail.com wrote:
I get the HTTP Status 404 Error: The requested resource () is not
available
Do you have items and
As much as I subscribe to the a lack of dissent is implicit assent policy,
I'm hoping somebody deeply familiar with SiteMap can comment on whether this
change seems like a bad idea? I guess if I don't hear anything I'll create an
issue and submit the patch for review, but I'd feel better with a
On Mon, Nov 23, 2009 at 4:54 PM, sunanda sunanda.pa...@gmail.com wrote:
No I don't have.
Do I need to have this.
If you don't define the pages, then you'll get a 404.
On Nov 24, 11:49 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Nov 23, 2009 at 4:27 PM, sunanda
On Mon, Nov 23, 2009 at 4:55 PM, Ross Mellgren dri...@gmail.com wrote:
As much as I subscribe to the a lack of dissent is implicit assent
policy, I'm hoping somebody deeply familiar with SiteMap can comment on
whether this change seems like a bad idea? I guess if I don't hear anything
I'll
Hi David,
Thank for all the help so far.
My lift application needs to coexist with the spring servlet in
the same web application. I have configured the web.xml file for both
of the spring servlet and lift filter.
Hence I need to configure the url pattern in such a way that /grid/*
request
Added an issue for you:
http://github.com/dpp/liftweb/issues#issue/205
and it's on review board:
http://reviewboard.liftweb.net/r/121/
So it will (probably) be in 1.1-SNAPSHOT in a day or two, assuming the change
isn't unacceptable for whatever reason.
-Ross
On Nov 23, 2009, at 11:50 PM,
Thanks, that's what I was looking for.
On Tue, Nov 24, 2009 at 12:40 AM, Ross Mellgren dri...@gmail.com wrote:
It looks like you can override dbIncludeInForm_? to suppress fields from
showing up in the form:
...
object myField extends MappedString(this, 32) {
override def
50 matches
Mail list logo