[Lift] Re: Another StatefulSnippet question...

2009-05-17 Thread ivan
On May 16, 9:14 pm, marius d. marius.dan...@gmail.com wrote: Could you please post the code ... which is most relevant to this issue ? I managed to fix the problem by changing lift:Naselja.list to lift:naselja.list. The question that still remains is why is this happening? Summary: Naselja

[Lift] Re: Lift and interoperability

2009-05-17 Thread rintcius
Interesting discussion! I think I see a bit where Glenn is coming from. To me it's about *ease* of interoperability. For enterprise architectures the most important question is: to what extent is Lift helping me to build a **composable** software system. A composable software system will offer

[Lift] lift-webkit broken in 1.1-SNAPSHOT?

2009-05-17 Thread Mark Tye
I've been using the 1.1-SNAPSHOT with great success until just now. Maven just updated my lift-code dependencies, and now when I build, I get this error: error: error while loading Loc, class file '/Users/mtye/.m2/repository/ net/liftweb/lift-webkit/1.1-SNAPSHOT/lift-webkit-1.1-SNAPSHOT.jar(net/

[Lift] Logging question

2009-05-17 Thread TSP
Does the lift logging framework support the classed based loggers that are the normal use pattern: Logger logger = Logger.getLogger(com.foo); and the class is automatically attached to the message. If so how do you call it - with a direct java import or is there something more lift-esque

[Lift] Re: lift-webkit broken in 1.1-SNAPSHOT?

2009-05-17 Thread Timothy Perrett
Probably maven had a problem whilst downloading it - just blow away either the net/liftweb folder in your .m2 or the whole .m2 dir and let maven download it again. Cheers, Tim On 17/05/2009 02:53, Mark Tye mark...@gmail.com wrote: I've been using the 1.1-SNAPSHOT with great success until

[Lift] Lift for non UI, xml REST server embedded in existing application?

2009-05-17 Thread Barry Kaplan
I'm looking for a bootstrap example of integrating lift into an existing application that needs to server up XML documents via a REST api. The application is already operational and cannot be reconfigured to live within lift -- I'm looking to lift to add just the http service and infrastructure.

[Lift] Re: Redirect after login

2009-05-17 Thread glenn
David, I was a little puzzled by the line, in the override of def homePage, of loginReferer.remove(). This actually resets the homePage to /. Removing the line has the intended result. But, then I need a way to reset the loginReferer session variable. Better still, it would be nice to be able

[Lift] Re: Lift for non UI, xml REST server embedded in existing application?

2009-05-17 Thread glenn
What exactly are you looking for? Are you looking for way to use lift to communicate with an existing REST server, so that you can extract documents and display them in your lift app - using lift as your blog interface? If so, I'm trying to do something similar. There are discussions on this

[Lift] Re: Lift and interoperability

2009-05-17 Thread johnnie
On May 17, 4:33 am, rintcius rintc...@gmail.com wrote: Interesting discussion! I think I see a bit where Glenn is coming from. To me it's about *ease* of interoperability. For enterprise architectures the most important question is: to what extent is Lift helping me to build a

[Lift] problems logging

2009-05-17 Thread Channing Walton
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, ,

[Lift] Re: Lift and interoperability

2009-05-17 Thread Viktor Klang
Hello guys, if you could scribble together a scenario, then I might be able to help you out. Cheers, On Sun, May 17, 2009 at 10:53 PM, johnnie jsm2p...@googlemail.com wrote: On May 17, 4:33 am, rintcius rintc...@gmail.com wrote: Interesting discussion! I think I see a bit where Glenn is

[Lift] Re: Lift and interoperability

2009-05-17 Thread David Pollak
On Sun, May 17, 2009 at 2:33 AM, rintcius rintc...@gmail.com wrote: Interesting discussion! I think I see a bit where Glenn is coming from. I'm all for interoperability... I like baseball and apple pie, too. If there is a problem with Lift interoperating with another system or another piece

[Lift] Using ExtJS

2009-05-17 Thread Jesse Eichar
Hi, I was wondering how plausible using ExtJS since Lift adds some Ajax libraries. ExtJS requires adapters to work nicely with others. I am not sure if the adapters need to be ran with the specific version of (say YUI or JQuery) the library that is shipped with Ext or if the adapters are

[Lift] Re: Logging question

2009-05-17 Thread Timothy Perrett
Checkout: net.liftweb.util.LogBoot.loggerByClass(Class[Object]) = LiftLogger Cheers, Tim On May 17, 5:06 pm, TSP tim.pig...@optrak.co.uk wrote: Does the lift logging framework support the classed based loggers that are the normal use pattern: Logger  logger = Logger.getLogger(com.foo);

[Lift] Re: problems logging

2009-05-17 Thread Timothy Perrett
Can you verify the log4j.xml file is being read? 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 HTH Cheers, Tim On May 17, 9:57 pm, Channing Walton channingwal...@mac.com wrote: Hi, I am having trouble

[Lift] Re: Lift for non UI, xml REST server embedded in existing application?

2009-05-17 Thread David Pollak
On Sun, May 17, 2009 at 11:37 AM, glenn gl...@exmbly.com wrote: What exactly are you looking for? Are you looking for way to use lift to communicate with an existing REST server, so that you can extract documents and display them in your lift app - using lift as your blog interface?

[Lift] Error with tictac example

2009-05-17 Thread Xavi Ramirez
Hello, There seems to be an error in the tictac on the following line: registerCleanupFunc(() = is.foreach(who = LobbyServer ! RemoveLurker(who))) I've changed the code to this: override protected def onShutdown(session: CleanUpParam) { is.foreach(who = LobbyServer ! RemoveLurker(who)) } I'm

[Lift] Re: Lift for non UI, xml REST server embedded in existing application?

2009-05-17 Thread glenn
On May 17, 2:16 pm, Timothy Perrett timo...@getintheloop.eu wrote: but I haven't figured out how  to PUT documents from a non-lift resource into my lift app, since that requires that you can somehow access lift's Req object via a URL Hmm - im afraid your just plain wrong here... it

[Lift] Why do geeks like to use the language of ancient Ashdod instead of koine Greek or simple English?

2009-05-17 Thread johnnie
A documentation author for Lift said, Hmmm. I can easily make a second copy of the master file and change the format there, but there are a lot of tables and other things that right now are set for 8.5x11. They would all come out looking pretty funky, I think. So I suppose funky just

[Lift] Re: Using ExtJS

2009-05-17 Thread David Pollak
Jesse, It's pretty simple from a technical standpoint. Just implement the net.liftweb.http.js.JSArtifacts interface for ExtJS. Then, set LiftRules.jsArtifacts to an instance of your class and all will just work. Thanks, David On Sun, May 17, 2009 at 2:17 PM, Jesse Eichar

[Lift] Re: Lift for non UI, xml REST server embedded in existing application?

2009-05-17 Thread glenn
Tim, If I have a PUT dispatch case like so: case r @ Req(api :: company :: Nil, , PutRequest)= () = addCompany(r) and the handler is looking for something in r.xml like this: req.xml match { case Full(company{parameters @ _*}/company) = { for(parameter - parameters){parameter

[Lift] Re: Why do geeks like to use the language of ancient Ashdod instead of koine Greek or simple English?

2009-05-17 Thread Timothy Perrett
Johnie, What on earth are you going on about? You qoute me there from a convesation on-list with Heiko about OSGi... out of context it makes no sense of course... What is your point with this post? It appears to escape me. Im not sure 900+ people wanted to read your comparison of one persons

[Lift] Re: Lift for non UI, xml REST server embedded in existing application?

2009-05-17 Thread Timothy Perrett
@glenn - download this little tool... it will help you both with executuing different HTTP requests, and perahps help you understand the differences: http://code.google.com/p/rest-client/ I strongly recommend you read up on HTTP and REST resource orientated architecture (ROA) - I believe the

[Lift] Re: Using ExtJS

2009-05-17 Thread Charles F. Munat
Wait. Is that right, guys? Does the LGC need JQuery or YUI? If not, then you only need to use an adapter and one of those if you are going to use the built-in Lift Js helper methods. So I guess it's possible to use ExtJs 3.0 without any adapter if you're not going to use the helper methods.

[Lift] Length too long for generated XML

2009-05-17 Thread sailormoo...@gmail.com
Hi: I would like to know if there is a way to insert a \n in the generated xml, for some NodeSeq seems too long to make Firefox error. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post

[Lift] Re: Why do geeks like to use the language of ancient Ashdod instead of koine Greek or simple English?

2009-05-17 Thread johnnie
On May 17, 5:28 pm, Timothy Perrett timo...@getintheloop.eu wrote: Johnie, What on earth are you going on about? You qoute me there from a convesation on-list with Heiko about OSGi... out of context it makes no sense of course... ... Yes, Funky makes no sense if it means very good to one

[Lift] Re: your first Lift application on GAE/J

2009-05-17 Thread David Pollak
On Fri, May 15, 2009 at 9:23 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, Thank you for your feedback. On Sat, May 16, 2009 at 10:33 AM, Eric Daugherty edaughe...@gmail.com wrote: I think I executed all the steps correctly, but when I deploy it to GAE I get a

[Lift] Re: Using ExtJS

2009-05-17 Thread David Pollak
You can mix ExtJS into the project without any work at all. If you want to use ExtJS exclusively, then you'll need to do the adapter thing so Lift knows how to communicate with the server (Ajax, Comet, etc.) On Sun, May 17, 2009 at 4:15 PM, Charles F. Munat c...@munat.com wrote: Wait. Is that

[Lift] Re: [patch] work around for errors running unit tests in IDEA/NetBeans

2009-05-17 Thread Alex Boisvert
Done. On Sat, May 9, 2009 at 6:50 AM, David Pollak feeder.of.the.be...@gmail.comwrote: Folks, I think this patch is cool. Can one of the committers integrate it? Thanks, David On Tue, Apr 28, 2009 at 8:49 AM, James Strachan james.strac...@gmail.comwrote: I was trying out various

[Lift] Re: Why do geeks like to use the language of ancient Ashdod instead of koine Greek or simple English?

2009-05-17 Thread Alex Boisvert
Hi Johnie, Like many other words, funky has loose and varying meanings. I'm not a native English speaker myself so I asked my wife what funky means and she said interesting, strange and unusual. The American Heritage dictionaryhttp://www.bartleby.com/61/63/F0366300.htmlsays: When asked which

[Lift] Re: Why do geeks like to use the language of ancient Ashdod instead of koine Greek or simple English?

2009-05-17 Thread Derek Chen-Becker
I can easily make a second copy of the master file and change the format there to match the Sony Reader specifications, but there are many formatted items like tables, figures and forced line breaks that are based on an 8.5 x 11 inch (US Letter) page. Changing the page size without also fixing