I am interested in this too but I don't understand the
lift:with-resource-id thing, where can I find out more?
AnthonyW wrote:
Ugh, I must have had a cache issue despite the fact that I certainly
did hit refresh before...
I am now seeing 1.4.2 JQuery.
Regarding lift:with-resource-id, I
on a
single JVM). You can of course register your own function and define
your own behavior of how the resources (script and link) are modeled
to control caching.
On Mar 8, 7:55 pm, Channing Walton channingwal...@mac.com wrote:
I am interested in this too but I don't understand the
lift:with
a read-only view I need to do this:
deal.formFields.map(f =
trtd{f.displayName}/tdtd{f.asHtml}/td/tr)
It seems unbalanced that you can generate a form for editing purposes but
not a view - unless I'm mistaken about that.
Naftoli Gugenheim wrote:
asHtml?
2010/2/14 Channing Walton
tis done: http://www.assembla.com/spaces/liftweb/tickets/350
bearfeeder wrote:
On Tue, Feb 16, 2010 at 12:44 AM, Channing Walton
channingwal...@mac.comwrote:
thats fine for individual fields of a mapper, dates etc., but not for a
object with mapped fields. This is what I get for my
Just a bit more on this: I've noticed that if all users have logged out then
jetty shuts down quickly...
Channing Walton wrote:
Hi,
I've added some comet-fu in my lift app but I've found that it now takes a
minute or so for jetty to shut down.
Is there something I should have done
Hi,
I've added some comet-fu in my lift app but I've found that it now takes a
minute or so for jetty to shut down.
Is there something I should have done to enable things to shutdown quicker?
Channing
--
View this message in context:
No, it eventually quits peacefully.
Timothy Perrett wrote:
Are you seeing a stack trace?
Cheers, Tim
On 4 Feb 2010, at 10:15, Channing Walton wrote:
Hi,
I've added some comet-fu in my lift app but I've found that it now takes
a
minute or so for jetty to shut down
ah, thats a good question. I am using sbt and its jetty-stop. I'll find out
what its doing.
bearfeeder wrote:
On Thu, Feb 4, 2010 at 2:15 AM, Channing Walton
channingwal...@mac.comwrote:
Hi,
I've added some comet-fu in my lift app but I've found that it now takes
a
minute or so
bearfeeder wrote:
On Thu, Feb 4, 2010 at 1:11 PM, Channing Walton
channingwal...@mac.comwrote:
ah, thats a good question. I am using sbt and its jetty-stop. I'll find
out
what its doing.
I'm pretty sure Lift cancels the Comet connections during the Servlet
unload
process
Thanks for the advice, I'll definitely rethink the pattern.
I'm actually seeing the problem when I use RunWebApp. When I press a key
RunWebApp should shut down but it just hangs for me.
bearfeeder wrote:
On Thu, Feb 4, 2010 at 2:31 PM, Channing Walton
channingwal...@mac.comwrote
, Channing Walton
channingwal...@mac.comwrote:
Thanks for the advice, I'll definitely rethink the pattern.
I'm actually seeing the problem when I use RunWebApp. When I press a key
RunWebApp should shut down but it just hangs for me.
What is RunWebApp?
bearfeeder wrote:
On Thu, Feb 4
Hi,
I am building an app which needs some static data added whenever we rebuild
the database. I would like to do that using the mapper api but it looks like
I need to do it table by table by overriding dbAddTable. I would prefer to
do this in one place for the whole model, preferably using the
you are after?
Cheers, Tim
On Jan 31, 11:59 am, Channing Walton channingwal...@mac.com wrote:
Hi,
I am building an app which needs some static data added whenever we
rebuild
the database. I would like to do that using the mapper api but it looks
like
I need to do it table by table
essentially executed
a bunch of mapper calls, but it sounds like you want more of a build
up and tear down approach a la:
http://code.google.com/p/scala-migrations/
Perhaps that is what you are after?
Cheers, Tim
On Jan 31, 11:59 am, Channing Walton channingwal...@mac.com wrote:
Hi,
I
run task that just essentially executed
a bunch of mapper calls, but it sounds like you want more of a build
up and tear down approach a la:
http://code.google.com/p/scala-migrations/
Perhaps that is what you are after?
Cheers, Tim
On Jan 31, 11:59 am, Channing Walton channingwal
ok cool, sounds like a plan!
bearfeeder wrote:
On Sun, Jan 31, 2010 at 12:17 PM, Channing Walton
channingwal...@mac.comwrote:
Looking around MetaMapper and Schemifier, it looks like I could override
BaseMetaMapper.afterSchemifier to do what i want although I would need to
nominate
I use maven 2.2.1 without any problem. i prefer to use sbt these days which
still makes use of mvn repositories.
James Matlik wrote:
What is Lift's recommended version of Maven? I am looking to create an
sbaz
package for easy download and install for maven for newcomers (myself
Maybe Akka would be better for you? http://akkasource.org/
Akka has an AMQP module which abstracts AMQP Producer and Consumer as
Actors.
Channing
vishnu-11 wrote:
Hi
I'm trying to use lift to right a back end for a system that
communicates via AMQP. The idea is to have a bunch of
bearfeeder wrote:
Do you have a production app that depends on Scala 2.8? Is there a part
of
Lift that you immediately need ported to 2.8?
No, I don't have an immediate need. However, I am very likely to be starting
on a new app in mid January which will launch in the middle of next
ok here it is. The only thing I changed in the main pom is the scala version
to the 2.8.0 beta rc3
[INFO] Compiling 2 source files to
/Users/channing/tmp/280_port/lift-base/lift-common/target/test-classes
error: error while loading Sugar, Scala signature Sugar has wrong version
expected: 5.0
If I skip tests:
[INFO] Compiling 3 source files to
/Users/channing/tmp/280_port/lift-base/lift-actor/target/classes
/Users/channing/tmp/280_port/lift-base/lift-actor/src/main/scala/net/liftweb/actor/LAFuture.scala:19:
error: not found: value common
import common._
^
, 2009, Channing Walton channingwal...@mac.com
wrote:
ah I see the problem - I know nothing about git!
I original thought that the URL at the top of the github page for
port_280
would get me port_280 which it doesn't.
I tried following the instructions here:
http://wiki.github.com/bricoleurs
I would like to use Lift with scala 2.8.0 but need some helping building the
branches. I've checked out the 280_port branch, but when I set the scala
version to 2.8.0.Beta1-RC3 in the main pom, Lift doesn't compile. Either the
specs tests fail because they have the wrong class signature or if I
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
Hi,
I just upgraded from M4 to M5 and one of my tests started failing
with:
scala.MatchError: Full(ok/ok)
at net.liftweb.http.testing.HttpResponse.xml(TestFramework.scala:281)
where the HttpResponse body is:
?xml version=1.0 encoding=UTF-8?
ok/ok
If I revert this change it works:
bearfeeder wrote:
It's Lift. I'll loosen the pattern... turns out the thing you're testing
returns a Document rather than an element. I'll check in a fix in about
30
minutes.
Thank you very much :-)
--
View this message in context:
Thank you both for your reply but I have to admit that it was an error
in my javascript that was preventing my code from working. Apologies
for wasting your time.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift
I'm a bit stumped as to how to proceed with the following. I have a
page which shows a list of items, each of which can be deleted. When
the user clicks the delete button next to an item, I would like to
open a confirmation dialog and if they confirm, call a backend
function to delete the
On Aug 7, 9:32 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
I reproduced the issue on Opera... then Google banned my IP address for
excessive requests... :-(
they need to move to lift to handle the load ;)
--~--~-~--~~~---~--~~
You received this
I've added a much simpler example too, see simple.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send
ok, lots of jscript debugging and I'm pretty sure its this:
JSON.stringify(new GLatLng(0,0))
where GLatLng is a google map object.
the imports needed for this are
script src=http://maps.google.com/maps?
file=apiamp;v=2.xamp;key=your-keyamp;sensor=false type=text/
javascript/script
script
actually that example doesn't work in Opera, but does in safari and
firefox. To see the problem in safari I had to modify the script like
this:
var geocoder = new GClientGeocoder();
geocoder.getLatLng(london,doit);
function doit(point) {
var s = JSON.stringify(point);
alert(s)
}
This does
ok I've done that: git://github.com/channingwalton/lift_1_1_sample.git
run the app up and go to http://localhost:8080/mapSearch and try the
search. I find stack overflow in Safari 4.0.2, and Opera 9.64. The
query works in Firefox 3.5.2 and Webkit Version 4.0.2 (5530.19,
r46770) (latest nightly)
spoke too soon :-(
when I test this on a new browser or flush browser caches, I am
getting a javascript error: Undefined variable: JSON
I am not wrapping my the input field in a json form as described in
the book because when I do the page reloads. Could that be the
problem? In which case how
excellent thanks.
On Aug 3, 11:58 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
D'oh we were hitting that one as well.
Fixed.
On Mon, Aug 3, 2009 at 2:07 PM, Channing Walton channingwal...@mac.comwrote:
Hi,
I was using the testkit and HttpResponse.xml which was all
doh! I missed that.
On Aug 4, 4:38 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Are you including the /classpath/json.js JavaScript file?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To
In Safari 4.0.2, and Opera 9.64 on OS X, I get RangeError: Maximum
call stack size exceeded at line 27 in json.js
But in the latest nightly build of webkit, it works.
I will try on windows asap.
--~--~-~--~~~---~--~~
You received this message because you are
On Aug 1, 8:50 pm, Channing Walton channingwal...@mac.com wrote:
But I get a Can't find variable: JSON error.
forget that, I was having some kind of safari issue.
But the problem I am having now is a NumberFormatException:
2009-08-02 15:42:58,098 WARN lift:246 - Request for /ajax_request
On Aug 2, 6:14 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Give it an hour and give it a try.
Thanks for hanging with me through these defects.
Thanks David, its much appreciated - on a Sunday too!
--~--~-~--~~~---~--~~
You received this message
ok just caught up and tried again, this time I get:
2009-08-02 20:07:16,981 WARN lift:246 - Request for /ajax_request/
F1105202520287L3C/ failed For input string: (-~0)
java.lang.NumberFormatException: For input string: (-~0)
at java.lang.NumberFormatException.forInputString
/respository and do a clean build and see if it works.
On Sun, Aug 2, 2009 at 12:09 PM, Channing Walton
channingwal...@mac.comwrote:
ok just caught up and tried again, this time I get:
2009-08-02 20:07:16,981 WARN lift:246 - Request for /ajax_request/
F1105202520287L3C/ failed
of the
tests for the JSON parser.
Please delete ~/.m2/respository and do a clean build and see if it works.
On Sun, Aug 2, 2009 at 12:09 PM, Channing Walton
channingwal...@mac.comwrote:
ok just caught up and tried again, this time I get:
2009-08-02 20:07:16,981 WARN lift:246
ok I am getting somewhere. Thanks for your patience, I'll write this
up somewhere in case someone else needs a google map in a liftweb app.
The functions being generated are good:
function sendPointToServer(point) {
F298945645192D4K({'command': 'setPoint', 'params':point});
}
function
cool thanks, that did it.
Google recommends running a script on unload, their example has: body
onload=initialize() onunload=GUnload()
I couldn't see any Unload function anyway, I guess it would be a
useful thing to add?
--~--~-~--~~~---~--~~
You received this
, sendPointToServer that you cal with the
point and the rest is automatic.
Thanks,
David
On Wed, Jul 29, 2009 at 2:27 PM, Channing Walton
channingwal...@mac.comwrote:
Hi,
I'm working on an app which has a google map which users can use to
search for locations, and on which I
Hi,
I had to replace JsVal(point) with JsVar(point), but when I run it
up, I get ReferenceError: Can't find variable: F542198622797IUJ in
the browser console. The function in the page looks like this:
function sendPointToServer(point) {
F542198622797IUJ({'command': 'setPoint',
Are you putting the result of:
Script(Function(sendPointToServer, point, PointHandler.call(setPoint,
JsVal(point
Anywhere on your page?
I believe so, the page has a snippet:
lift:mapSnippet.mapFunctions/
which looks like this:
def mapFunctions(xhtml : NodeSeq) : NodeSeq = {
Hi,
I'm working on an app which has a google map which users can use to
search for locations, and on which I want to place markers.
The asynchronous call is a call to google's geocoder service which
takes a string to search for from an input field, and a callback
function that the position will
On Jul 3, 6:38 pm, Kris Nuttycombe kris.nuttyco...@gmail.com wrote:
With respect to unit testing, Lift's singletons depend upon underlying
thread-local variables (via ThreadGlobal) to maintain state. I'm just
musing here, but do you think it might be possible to inject a layer
of indirection
done http://github.com/dpp/liftweb/issues/#issue/23
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send
Its not so much running into problems, its just that JPA has some nice
support and I was wondering if anyone was doing something similar for
JDO.
Channing
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
Yes I meant the ScalaJPA.
Channing
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to
Hi,
I have a problem with URLs whose last path segment contains a
fullstop, eg: /x/3.1/y/1.11
To illustrate the issue, I created a new lift project and added the
following to the Boot:
LiftRules.dispatch.prepend {
case Req(List(x, x,y, y), _, _) = () = Full(XmlResponse( px=
{ x } y={
cool, thanks for that.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to
Has anything more been done with JDO support in Lift? I need to use
JDO so it would help if there was some work being done on this.
Channing
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to
On May 18, 11:52 pm, sailormoo...@gmail.com sailormoo...@gmail.com
wrote:
I think in your exception handler only Production is defined.
Are you running on Production Mode?
Aha, I don't think I am. I just use RunWebApp. I'll look into that
thanks.
On May 17, 10:33 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Can you verify the log4j.xml file is being read?
Not sure how I can tell.
The JPA example here changes the logging environment so perhaps use it
as an example to get started :) Grab it here:http://is.gd/AMAW
Thanks, I
Hi,
I am having trouble logging anything in my app, no logs are appearing
anywhere.
I have the following in Boot:
DB.addLogFunc((query, len) = Log.error(The query: +query+
took+len+ milliseconds))
LiftRules.exceptionHandler.prepend {
case (Props.RunModes.Production, Req(path, ,
Thanks David and Derek, I will tinker with those ideas.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send
Can we fix our existing Lift project poms by adding the lump of xml
you just posted, or will that break things?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
Hi,
I am building a rest service and running into trouble with cdata which
is not a Lift issue but I was wondering what Lift had to support it.
I am trying to do something like this:
def toXml() = {
stuff id=1
![CDATA[
{ content.toString }
On Apr 29, 1:55 pm, David Bernard david.bernard...@gmail.com wrote:
* if you set in your
build
sourceDirectorysrc/main/scala/sourceDirectory
testSourceDirectorysrc/test/scala/testSourceDirectory
I seem to have that already but still have the problem after doing mvn
ok thanks David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to
63 matches
Mail list logo