[Lift] Re: Lift and interoperability

2009-05-14 Thread glenn
On May 11, 9:59 pm, Meredith Gregory lgreg.mered...@gmail.com wrote: Glen, i've done some really hare-brained integrations -- like chaining the Lift filter with the Jersey filter -- and a bunch of other stuff. Between Lift's architecture and Scala's brilliant interop with Java, it's

[Lift] Re: Lift and interoperability

2009-05-14 Thread glenn
I appreciate all the comments on lift and interoperability. What I'm hearing is that if an integration can be done in a plain old Java EE application, it can be done in lift. I never doubted that. It's just that I was hoping for a little transparency when it comes to resource management. If I

[Lift] how to display all template with chooseTemplate

2009-05-14 Thread pravin
Hi , I am using chooseTemplate in UI. As per condition i am able to hide and display particular template but suppose i want to display all templates at one condition ,how can i do that. e.g suppose from count game example case run if lastGuess == number = xhtml =

[Lift] Re: how to display all template with chooseTemplate

2009-05-14 Thread Timothy Perrett
Can you post some code - I know what you want to do but without seeing exactly what you have already its difficult to advise on the best route. Cheers, Tim On May 14, 6:42 am, pravin pravinka...@gmail.com wrote: Hi , I am using chooseTemplate in UI. As per condition i am able to hide and

[Lift] Re: OSGi support for Lift

2009-05-14 Thread Heiko Seeberger
Hi Alex, Yes, I do get that and these are exactly the things I'm looking for in moving to OSGi. However, as applications grow I think it's eventually necessary to modularize and isolate them so that changing something in one app doesn't affect another one. Yes, you are right. But so far

[Lift] Jetty Session problem

2009-05-14 Thread sailormoo...@gmail.com
Hi : The Jetty server just happened a weird bug, some ppl seems to get into another ppl's session, as a logined user but it's another one's. I don't know why this would happen, anyone knows if there is a bug, or maybe some configuration should be made? Thanks.

[Lift] Re: Menu access control not working as expected

2009-05-14 Thread glenn
David, Your sample app works. Mine doesn't. I even put your sample Menu item in my app, but in it's own LocGroup, and it does not work. It seems the only difference is that I'm separating my menus into groups. Could that be the culprit? Glenn... On May 13, 9:27 pm, David Pollak

[Lift] Maven, Lift and Eclipse problem

2009-05-14 Thread glenn
I'm having trouble with continuous build in Eclipse, using maven to build and run. This was not happening a few days ago, but suddenly, I can no longer edit a scala file and simply refresh the browser to test with jetty running. Now, after Eclipse compiles, I get the following error in my

[Lift] Re: Jetty Session problem

2009-05-14 Thread Timothy Perrett
I've never seen this before, ever. Can you describe how your system works etc? Cheers, Tim On May 14, 12:42 pm, sailormoo...@gmail.com sailormoo...@gmail.com wrote: Hi :   The Jetty server just happened a weird bug, some ppl seems to get into another ppl's session, as a logined user but

[Lift] Fwd: New basketball court(s) near you: 'Mosswood Park'...

2009-05-14 Thread David Pollak
Folks, Just a reminder about nofouls.com... a Lift powered site. Thanks, David -- Forwarded message -- From: Nofouls nofo...@nofouls.com Date: Wed, May 13, 2009 at 7:41 PM Subject: New basketball court(s) near you: 'Mosswood Park'... To: feeder.of.the.be...@gmail.com The

[Lift] Re: how to hide /display div tag in lift

2009-05-14 Thread David Pollak
On Thu, May 14, 2009 at 3:29 AM, pravin pravinka...@gmail.com wrote: can i get source code of that example(tamplate for div )? Beyond the source code that exists on the page, you can get the source code for all of demo.liftweb.net from http://github.com/dpp/liftweb/tree/master/sites/example

[Lift] Re: using Lift templates stand alone inside other frameworks like JAXRS?

2009-05-14 Thread David Pollak
On Thu, May 14, 2009 at 12:55 AM, James Strachan james.strac...@gmail.comwrote: 2009/5/13 David Pollak feeder.of.the.be...@gmail.com: Please see: S.render(NodeSeq, HttpServletRequest): NodeSeq Awesome - huge thanks! :) I was just about to post a patch I'd figured out to implement this

[Lift] Re: Fwd: New basketball court(s) near you: 'Mosswood Park'...

2009-05-14 Thread Warren Henning
Very nice. The web is built off websites that do one thing well. Why do people have to register to search by zip code? Warren On Thu, May 14, 2009 at 8:40 AM, David Pollak feeder.of.the.be...@gmail.com wrote: Folks, Just a reminder about nofouls.com... a Lift powered site. Thanks, David

[Lift] Re: how to display all template with chooseTemplate

2009-05-14 Thread David Pollak
Pravin, There's nothing magic going on with chooseTemplate or any of the other Lift Snippet code. The snippets take in a NodeSeq (a bunch of XML) and return a NodeSeq (a bunch of XML). XML is represented as NodeSeq which is a Seq[Node]. Seq[_] is the generic Scala representation for a linear

[Lift] Re: Jetty Session problem

2009-05-14 Thread Viktor Klang
I've seen this happen to other session based java web frameworks, oftentimes it's been caused by improperly configured proxies or terminal servers. Does this help you? Viktor, Rogue Software Architect 14 maj 2009 kl. 17.43 David Pollak feeder.of.the.be...@gmail.com skrev: On Thu, May

[Lift] rlambda lift project updated

2009-05-14 Thread Meredith Gregory
Lifted, i've added support to the rlambda lift projecthttp://code.google.com/p/rlambda/taking it within range of being a candidate DSL-archetype. At this point it is possible simply to supply a .cf file in the src/main/bnfc directory and it will generate everything from that. i've still got to

[Lift] Re: Lift and interoperability

2009-05-14 Thread Meredith Gregory
Glenn, i'm not sure i've understood your concern. Are you saying that - web requests - lift are easy, but - lift - other services (web or otherwise) are hard? The latter direction is remarkably easy. Lift rests on top of Scala, Scala seamlessly interops with Java. So, anything you can do

[Lift] Re: Lift and interoperability

2009-05-14 Thread David Pollak
Glenn, On Wed, May 13, 2009 at 10:39 PM, glenn gl...@exmbly.com wrote: I appreciate all the comments on lift and interoperability. What I'm hearing is that if an integration can be done in a plain old Java EE application, it can be done in lift. I never doubted that. It's just that I was

[Lift] Re: Lift and interoperability

2009-05-14 Thread glenn
I've been hammered on this matter and I accept the results and learned some things in the process. In the end, what we end up with is a Java EE web application, with all the good and all the baggage that entails, and I rather like lift's templating strategy and out-of-the-box persistence

[Lift] Re: Trouble with lift, GAE, JPA, adding child records

2009-05-14 Thread ngug
In any case, how would I handle transactions manually? An SHtml.hidden before and after every form? It's confusing because SHtml lumps the get and set side by side when they happen in two different requests and the entity needs to be reloaded in between. In any case, GAE seems to require tighter

[Lift] Re: Trouble with lift, GAE, JPA, adding child records

2009-05-14 Thread ngug
In any case, how would I handle transactions manually? An SHtml.hidden before and after every form? It's confusing because SHtml lumps the get and set side by side when they happen in two different requests and the entity needs to be reloaded in between. In any case, GAE seems to require tighter

[Lift] Re: Trouble with lift, GAE, JPA, adding child records

2009-05-14 Thread ngug
In any case, how would I handle transactions manually? An SHtml.hidden before and after every form? It's confusing because SHtml lumps the get and set side by side when they happen in two different requests and the entity needs to be reloaded in between. In any case, GAE seems to require tighter

[Lift] Re: Lift and interoperability

2009-05-14 Thread Timothy Perrett
Glenn, I read with interest your mail below - to clarify, you've not been hammered by anyone... The lift comunity is a welcoming one and at no point would any member of the commit team shout down someone else - that's just not the way we roll. You expressed a viewpoint, and 4 seperate

[Lift] Re: Menu access control not working as expected

2009-05-14 Thread glenn
David, I changed default html in your menu example a bit and the results were similar to using LocGroup - the menu item won't display. here's the change: div class=column span-6 colborder sidebar hr class=space / !-- lift:Menu.builder /-- lift:Menu.item name=Fake

[Lift] Re: Jetty Session problem

2009-05-14 Thread sailormoo...@gmail.com
Hi: It just happened once so I cannot tell exactly the reason. However from the logs it seems there is a wierd GET command with jsession id, while most of the commands aren't. Proxy Server? Is it in my configuration ? Or just they use the same proxy server?? And may I ask if I can

[Lift] Schedule for 1.1

2009-05-14 Thread Heiko Seeberger
Hi, I am about to use Lift for a new project and I wonder whether I should use 1.0 or go for 1.1. Any ideas when 1.1 will be released? And what about the record framework? Is it production ready yet or in near future? Thanx Heiko -- My blog: heikoseeberger.name Follow me: twitter.com/hseeberger