Hi,
In trying to move to slf4j/logback I encountered an error when I removed
log4j from the cp:
09:53:50.297 [main] ERROR org.mortbay.log - failed LiftFilter
java.lang.NoClassDefFoundError: org/apache/log4j/LogManager
at net.liftweb.util.LogBoot$.log4jIsConfigured$1(Log.scala:113)
when I do mvn install scala:doc i get
[WARNING] /Users/george/Sites/git/liftweb/lift-util/src/main/scala/net/
liftweb/util/CurrencyZone.scala:32: error: AU is already defined as
package AU
[WARNING] object AU extends CurrencyZone {
[WARNING]^
[WARNING]
i have downloaded H2 client and tried to connect to pca_example
database.
but how?
i dont know the username and password. and i tried to find it out from
the source code, but nothing.
thanks
--~--~-~--~~~---~--~~
You received this message because you are
Now that the APIs have changed to abstract the servlet stuff, I'd
really like a 1.1-M5 release. Anyone any objections to cutting one
soon?
--
James
---
http://macstrac.blogspot.com/
Open Source Integration
http://fusesource.com/
--~--~-~--~~~---~--~~
You
To what end? Not a lot of code has gone in since the 1.1-m4
Cheers, Tim
On 13/08/2009 10:59, James Strachan james.strac...@gmail.com wrote:
Now that the APIs have changed to abstract the servlet stuff, I'd
really like a 1.1-M5 release. Anyone any objections to cutting one
soon?
Hi
I have a mapped object A with a foreign key to mapped object B.
I need to display the information (A+B) in a table. The not so smart way
is to first query on the As and then for each A, get the B. This
results in n+1 selects.
Is it possible to ask Mapper, when querying for the As, that it
On Thu, Aug 13, 2009 at 2:59 AM, James Strachan james.strac...@gmail.comwrote:
Now that the APIs have changed to abstract the servlet stuff, I'd
really like a 1.1-M5 release. Anyone any objections to cutting one
soon?
We do time-based releases, so M5 is going to come at the end of August.
2009/8/13 Timothy Perrett timo...@getintheloop.eu:
To what end? Not a lot of code has gone in since the 1.1-m4
I just wanna be able to use the new APIs (which avoid the explicit use
of servlets) without being on the bleeding edge. e.g. S.render()
changed to not take HttpServletRequest.
--
The JDBC URL that we use for pocketchange makes an embedded server (no
external connections, AFAIK). Someone just posted a thread on the list
recently about adding a line to Boot.boot that would set up the H2 web
console in the Lift project, which may work for you:
You should be able to use the PreCache QueryParam to tell Mapper to
pre-fetch the mapped object:
http://scala-tools.org/scaladocs/liftweb/1.0/net/liftweb/mapper/PreCache.html
Derek
On Thu, Aug 13, 2009 at 6:11 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Hi
I have a mapped object A with
I'll check in a fix in a little. Thanks for the bug report.
On Thu, Aug 13, 2009 at 1:27 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Hi,
In trying to move to slf4j/logback I encountered an error when I removed
log4j from the cp:
09:53:50.297 [main] ERROR org.mortbay.log - failed
Derek Chen-Becker dchenbec...@gmail.com writes:
You should be able to use the PreCache QueryParam to tell Mapper to
pre-fetch the mapped object:
http://scala-tools.org/scaladocs/liftweb/1.0/net/liftweb/mapper/PreCache.html
Ahh nice. I missed that one, Thanks
/Jeppe
Folks,
I'm pleased to announce that Joni Freeman has joined the Lift committers.
Joni will be adding his high performance JSON library as a module in Lift...
and I certainly hope that Lift's JSON support will improve.
Please join me in welcoming Joni!
Thanks,
David
--
Lift, the simply
Welcome on board Joni !
On Aug 13, 7:06 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
I'm pleased to announce that Joni Freeman has joined the Lift committers.
Joni will be adding his high performance JSON library as a module in Lift...
and I certainly hope that Lift's JSON
Joni,
Welcome!
Best wishes,
--greg
On Thu, Aug 13, 2009 at 9:06 AM, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
I'm pleased to announce that Joni Freeman has joined the Lift committers.
Joni will be adding his high performance JSON library as a module in
Lift... and I
Hi,
I have some code checked in on the 1.0_maint branch to fix the issues
with PostgreSQL doubles and Oracle autoincrement primary keys (issue #37).
If no one else has anything that needs to go into 1.0.1, I'll move ahead
with releasing 1.0.1 and setting 1.0_maint to 1.0.2-SNAPSHOT. Also, does
I have 3 classes like so
class Foo extends LongKeyedMapper[Foo] with IdPK
def getBazes = {
Baz.findAll(...)
}
}
class Bar extends LongKeyedMapper[Bar] with IdPK
object fooid extends MappedLongForeignKey(this, Foo)
}
class Baz extends LongKeyedMapper[Baz] with IdPK
object barid
One possibility is to do Baz.findAllBy{PreparedStatement,InsecureSql}
(section 6.3.2 of lift book)
I am also curious if there is a safe way to construct a join.
- Jon
On Aug 13, 3:41 pm, harryh har...@gmail.com wrote:
I have 3 classes like so
class Foo extends LongKeyedMapper[Foo] with IdPK
On Thu, Aug 13, 2009 at 12:41 PM, harryh har...@gmail.com wrote:
I have 3 classes like so
class Foo extends LongKeyedMapper[Foo] with IdPK
def getBazes = {
Baz.findAll(...)
}
}
Baz.findAll(In.fk(Baz.barid, By(Bar.fooid, this.id)))
class Bar extends LongKeyedMapper[Bar] with
All,
As a follow up, i was able to get the Apache Axis2 maven plugin to accept
WSDL 2.0. Below is what i had to add to my pom.xml. Attached is an example
that will get you an Http binding that should work RESTfully.
Best wishes,
--greg
pluginRepositories
...
pluginRepository
Sorry... try:
class Foo extends LongKeyedMapper[Foo] with IdPK {
def getBazes = {
Baz.findAll(In(Baz.barid, Bar.id, By(Bar.fooid, this)))
}
}
object Foo extends Foo with LongKeyedMetaMapper[Foo]
class Bar extends LongKeyedMapper[Bar] with IdPK {
object fooid extends
From Joni:
Thanks everyone, it is great to be part of growing Lift community!
Here's a short description of current state of lift-json module (I
haven't pushed it to master yet, it currently lives in my fork at
http://github.com/jonifreeman/liftweb/tree/master Will push to master
real soon.).
Now I get an NPE :(
Message: java.lang.NullPointerException
net.liftweb.mapper.In$$anon$3.init(MetaMapper.scala:1206)
net.liftweb.mapper.In$.apply(MetaMapper.scala:1200)
com.harryh.model.Venue.checkins(Venue.scala:40)
-harryh
Tim,
How do you compose JAX-WS generated services with lift or do you? i'm trying
to enumerate the ways to do this.
Best wishes,
--greg
On Thu, Aug 6, 2009 at 5:15 PM, Timothy Perrett timo...@getintheloop.euwrote:
Myself and Viktor are two committers who do a lot of SOAP work - right now,
Hello there,
I'm stumped! I've got snippet code that is like this:
val nextpage: String = ... calculate next page number ...
bind(c, xhtml,
next - a href=/customer/page-{nextpage}next/a,
back - back
)
But when the page is generated, the link is /customer/page-
Try
bind(c, xhtml,
next - a href={ /customer/page- + nextpage}next/a,
back - back
)
I ran into something similar earlier today.
Thanks, Chris
On Thu, Aug 13, 2009 at 6:21 PM, pabraham paulabraham...@googlemail.comwrote:
Hello there,
I'm stumped! I've got snippet code that is
On Thu, Aug 13, 2009 at 3:21 PM, pabraham paulabraham...@googlemail.comwrote:
Hello there,
I'm stumped! I've got snippet code that is like this:
val nextpage: String = ... calculate next page number ...
bind(c, xhtml,
next - a href=/customer/page-{nextpage}next/a,
next - a
You should be able to connect to the db with the following steps:
1) start the H2 webinterface/server with something like
java -cp h2-1.1.113.jar org.h2.tools.Server
2) point your browser to localhost:8082
3) Use Generic H2 (Embedded),
driver class: org.h2.Driver
JDBC URL: something like
My Lift project is in a git repository and to the repository I've
added a submodule. Since right now I only want one javascript file
from this submodule, my thought was to make the directory src/main/
webroot/js and then make a symbolic link to the javascript file in
question. Unfortunately, when
Is this according to the specs?
bind(x, x:ax:b //x:a, b - c)
just returns the original NodeSeq untransformed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
Please post a reproducible example. I use this call pretty regularly and
have not seen any problems.
Also, what version of Lift are you using?
On Thu, Aug 13, 2009 at 2:31 PM, harryh har...@gmail.com wrote:
Now I get an NPE :(
Message: java.lang.NullPointerException
On Thu, Aug 13, 2009 at 7:09 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Is this according to the specs?
Yes. a:x fails binding and by default, it is returned. There is no
nesting or recursion in the seeking of the nested elements.
bind(x, x:ax:b //x:a, b - c)
just returns the
Why was the decision made, if I understand correctly, that normal attributes
are not preserved in a bound node, and are are only available for the snippet's
usage, and if you want the attribute to be sticky you have to prefix it with
lift:? Wouldn't it be better the other way?
One of lift's
Which means that chaining binds is only useful when they operate on nodes that
are side by side or are order outer first...
Thanks.
-
David Pollakfeeder.of.the.be...@gmail.com wrote:
On Thu, Aug 13, 2009 at 7:09 PM, Naftoli Gugenheim
Of the same prefix, that is...
-
Naftoli Gugenheimnaftoli...@gmail.com wrote:
Which means that chaining binds is only useful when they operate on nodes that
are side by side or are order outer first...
Thanks.
-
David
On Thu, Aug 13, 2009 at 7:24 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Why was the decision made, if I understand correctly, that normal
attributes are not preserved in a bound node, and are are only available for
the snippet's usage, and if you want the attribute to be sticky you have
What I would like to do:
label for=nameName/labelnbsp;person:name I'd=name size=10
class=special style=vertical-align: top maxlength=5 tabindex=1 /
Okay, just a little contrived...
My understanding is you can do this by prefixing the attribute with lift:;
otherwise it will not be output but is
37 matches
Mail list logo