[Lift] Re: where should i put the props file?

2009-09-16 Thread Jeppe Nejsum Madsen
XiaomingZheng xiaomingzhen...@gmail.com writes: it works~~~thank u! but i read the lift source code, the framework searches /props/ and / dirs, how can this framework find props files in resource dir? The /props and / dirs are classpath locations. When building maven will, by default, take

[Lift] DB Log issue, escaping placeholders LoggedPreparedStatement.paramified()

2009-09-16 Thread Ewan
Derek This one is for you I think. After updating my Boot.scala with revised DB.addLogFunc I have found an issue with logging prepared statements. My usecase is an insert/update that sets a MappedString - this MappedString is to hold a url such as http:// www.northnorfolkholidaylet.com. No

[Lift] Re: where should i put the props file?

2009-09-16 Thread XiaomingZheng
thanks! On Sep 16, 2:35 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: XiaomingZheng xiaomingzhen...@gmail.com writes: it works~~~thank u! but i read the lift source code, the framework searches /props/ and / dirs, how can this framework find props files in resource dir? The /props and

[Lift] Re: Spring Security

2009-09-16 Thread Viktor Klang
On Wed, Sep 16, 2009 at 2:38 AM, Charles F. Munat c...@munat.com wrote: David Pollak wrote: The existing page/URL level security has nothing to do with Mapper. There's nothing that can be done with Mapper that can't be done with JPA (with the exception of Mapper's field-level access

[Lift] Re: Spring Security

2009-09-16 Thread Viktor Klang
On Wed, Sep 16, 2009 at 10:49 AM, Viktor Klang viktor.kl...@gmail.comwrote: On Wed, Sep 16, 2009 at 2:38 AM, Charles F. Munat c...@munat.com wrote: David Pollak wrote: The existing page/URL level security has nothing to do with Mapper. There's nothing that can be done with Mapper that

[Lift] Re: Spring Security

2009-09-16 Thread Timothy Perrett
Amen to that Viktor. Lift would have never been created if everything out there was doing a perfect job! Im a little confused however Chas - on the one had, your talking about enterprise security and on the other you are talking about simple logins that are part of the archetypes and that you

[Lift] How to XHTML and embedded snippets

2009-09-16 Thread Ewan
I'd like to pop the bound value from a snippet into some standard xhtml tags but it does not parse. In the case below I want the url to be put into the img tag where property:imageUrl/ is bound to ta snippet. img src=property:imageUrl/ style=border:3px solid #CC width=75 height=100/ I am

[Lift] Re: How to XHTML and embedded snippets

2009-09-16 Thread Viktor Klang
On Wed, Sep 16, 2009 at 12:37 PM, Ewan ehar...@gmail.com wrote: I'd like to pop the bound value from a snippet into some standard xhtml tags but it does not parse. In the case below I want the url to be put into the img tag where property:imageUrl/ is bound to ta snippet. img

[Lift] Re: How to XHTML and embedded snippets

2009-09-16 Thread Timothy Perrett
I think id do: lift:MySnippet.example whatever:demo whatever:src=something.jpg whatever:style=border: black / /lift:MySnippet.example then in the scala: class MySnippet { def example(xhtml: NodeSeq):NodeSeq = bind(whatever, xhtml, demo - img / } Basically, when attributes are

[Lift] Re: How to XHTML and embedded snippets

2009-09-16 Thread Viktor Klang
On Wed, Sep 16, 2009 at 12:49 PM, Viktor Klang viktor.kl...@gmail.comwrote: On Wed, Sep 16, 2009 at 12:37 PM, Ewan ehar...@gmail.com wrote: I'd like to pop the bound value from a snippet into some standard xhtml tags but it does not parse. In the case below I want the url to be put into

[Lift] Article about Lift on heise.de

2009-09-16 Thread Tobias Daub
Just found it during my daily look on the site http://www.heise.de/developer/Lift-Vehikel-zum-naechsten-Web-Framework-Level--/artikel/145143 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post

[Lift] Re: OOME in using CometActor

2009-09-16 Thread David Pollak
On Wed, Sep 16, 2009 at 3:38 AM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, I have encountered OutOfMemory Exception in developing Liftweb app. It seems it is related to CometActor(, or scala.actors.Actor) At OOME timing, I have found 1,000,000 instances of

[Lift] Re: Spring Security

2009-09-16 Thread David Pollak
On Wed, Sep 16, 2009 at 1:49 AM, Viktor Klang viktor.kl...@gmail.comwrote: On Wed, Sep 16, 2009 at 2:38 AM, Charles F. Munat c...@munat.com wrote: David Pollak wrote: The existing page/URL level security has nothing to do with Mapper. There's nothing that can be done with Mapper that

[Lift] Re: OOME in using CometActor

2009-09-16 Thread Derek Williams
I believe I ran into this before, to fix it I came up with this: package scala.actors object ActorTimerKiller { def kill { Actor.timer.cancel } } and then in my Boot.scala: LiftRules.unloadHooks.append(() = { ActorTimerKiller.kill } I also have Actor.clearSelf in my unloadHooks,

[Lift] Re: Proper way to upgrade Lift and Scala libs?

2009-09-16 Thread David Pollak
On Tue, Sep 15, 2009 at 9:01 PM, Wilson MacGyver wmacgy...@gmail.comwrote: On Tue, Sep 15, 2009 at 11:44 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Lift (1.1-X and 1.0.1/1.0.2) is compiled against Scala 2.7.5 This is the version you should be using. Do not upgrade to 2.7.6

[Lift] Re: Proper way to upgrade Lift and Scala libs?

2009-09-16 Thread David Pollak
On Tue, Sep 15, 2009 at 9:04 PM, Ike ikes...@gmail.com wrote: On Sep 15, 11:44 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Sep 15, 2009 at 8:28 PM, Ike ikes...@gmail.com wrote: Hi all, I've seen in a couple of posts here that I can just update the corresponding

[Lift] Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread David Pollak
Guys, The Scala Actor issue has raised its head again. From November 2008 - June 2009, I did an epic battle with Scala actors and their memory retention issues. I finally wrote a Lift Actor library that made all the Scala Actor-related issues go away for the short-lived Actors that Lift uses as

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread Kevin Wright
Is there any reason not to go with something like the Akka framework? I believe it has a lift-friendly license. On Wed, Sep 16, 2009 at 2:14 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Guys, The Scala Actor issue has raised its head again. From November 2008 - June 2009, I did an

[Lift] Re: How to XHTML and embedded snippets

2009-09-16 Thread Ewan
Thanks but I still have no joy. My snippet binding is as follows: property.map ({ p = bind(property, html, id - p.id, name - p.name, image - img src={p.imageUrl.is}/) }) openOr notFound with the following xhtml: lift:Property.view

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread TylerWeir
Given the on again/off again nature of the issue, I'm voting for adding your change. We can rely on your code working until the issue is sorted with the Scala team. So, +1 to dpp's code. On Sep 16, 9:14 am, David Pollak feeder.of.the.be...@gmail.com wrote: Guys, The Scala Actor issue has

[Lift] Re: OOME in using CometActor

2009-09-16 Thread Erik Engbrecht
The large number of VolatileTaskRefs is a consequence of your thread pool growth. Each worker thread maintains an array of VolatileTaskRef objects. The VolatileTaskRef objects are reused rather than allocated for each task, so they will not be GC'd as long as the worker thread is alive. You can

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread Timothy Perrett
Hey David, Are you saying that scala actors are leaking outside of large rate construction / destruction situations? At least, I remember that was what was tickling the EPFL bug last time :-) This has pretty major ramifications if it is! Personally, I'm happy to move to lift-actor. Cheers

[Lift] What's the best way to get the current request URL

2009-09-16 Thread Ryan Donahue
I want to capture the the current request URL, so I can redirect back to it at a later point. What's the best way to get at the URL? The answer is probably obvious, but I can't seem to find it. Thanks, Ryan --~--~-~--~~~---~--~~ You received this message

[Lift] Re: How to XHTML and embedded snippets

2009-09-16 Thread Naftoli Gugenheim
Tim is right that it worked that way, but apparently that code was committed before the review board was in place :) because DPP wasn't happy with it and took it out. Instead you can use -% to bind and preserve all attributes. - Ewanehar...@gmail.com wrote:

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread marius d.
What is the problem this time? .. same thing essentially? Br's, Marius On Sep 16, 8:14 am, David Pollak feeder.of.the.be...@gmail.com wrote: Guys, The Scala Actor issue has raised its head again. From November 2008 - June 2009, I did an epic battle with Scala actors and their memory

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread Naftoli Gugenheim
I haven't used comet, but would it be worthwhile to abstract it with implementations (potentially) for Scala, Lift, and Akka actors? - TylerWeirtyler.w...@gmail.com wrote: Given the on again/off again nature of the issue, I'm voting for adding your change.

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread Viktor Klang
On Wed, Sep 16, 2009 at 3:42 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: I haven't used comet, but would it be worthwhile to abstract it with implementations (potentially) for Scala, Lift, and Akka actors? I've integrated Atmosphere http://atmosphere.dev.java.net/ into Akka, and I know

[Lift] Re: OOME in using CometActor

2009-09-16 Thread Atsuhiko Yamanaka
Hi, On Wed, Sep 16, 2009 at 10:33 PM, Erik Engbrecht erik.engbre...@gmail.com wrote: The large number of VolatileTaskRefs is a consequence of your thread pool growth.  Each worker thread maintains an array of VolatileTaskRef objects. The VolatileTaskRef objects are reused rather than

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread David Pollak
On Wed, Sep 16, 2009 at 6:27 AM, Kevin Wright kev.lee.wri...@googlemail.com wrote: Is there any reason not to go with something like the Akka framework? I believe it has a lift-friendly license. I can work on a way to make CometActors work with Akka Actors or Lift Actors. Jonas and I have

[Lift] Re: OOME in using CometActor

2009-09-16 Thread Erik Engbrecht
Yes, particularly maxPoolSize. On Wed, Sep 16, 2009 at 10:25 AM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: Hi, On Wed, Sep 16, 2009 at 10:33 PM, Erik Engbrecht erik.engbre...@gmail.com wrote: The large number of VolatileTaskRefs is a consequence of your thread pool growth.

[Lift] Re: How to XHTML and embedded snippets

2009-09-16 Thread Timothy Perrett
Good catch Naftoli :-) Cheers, Tim On 16 Sep 2009, at 14:40, Naftoli Gugenheim wrote: Tim is right that it worked that way, but apparently that code was committed before the review board was in place :) because DPP wasn't happy with it and took it out. Instead you can use -% to bind

[Lift] Re: How to XHTML and embedded snippets

2009-09-16 Thread Ewan
Thank you - all works if I replace image - img src={p.imageUrl.is}/ with image -% img src={p.imageUrl.is}/ which results in the expected img src=http://clients.vc-ltd.co.uk/burnham2/photos/rose.jpg; height=100 width=75 style=border:3px solid #CC / -- Ewan On Sep 16, 2:40 pm, Naftoli

[Lift] Re: OOME in using CometActor

2009-09-16 Thread Atsuhiko Yamanaka
Hi, On Wed, Sep 16, 2009 at 11:36 PM, Erik Engbrecht erik.engbre...@gmail.com wrote: Yes, particularly maxPoolSize. Thank you for prompt reply. I'll try lower value, for example, 50 for maxPoolSize before going to the bed. I'll look forward to the good result in the next morning. Sincerely,

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread Timothy Perrett
Kevin, To clarify, your talking about akka-actors? The preferred route I think would be to use a fixed EPFL implementation, however, in leu of that i think from a project perspective it would be beneficial for lift to have a corrected actor implementation that we have direct control of. I

[Lift] Clearing out options when submitting an empty multiSelect form

2009-09-16 Thread Aaron Valade
Hello all- I'm having an issue when trying to update a many-to-one collection attached to a JPA object in Lift. I'm currently using a SHtml.multiSelect for choosing which objects should be assigned to the many-to-one collection. My bind statement looks like this: bind(location, xhtml,

[Lift] Re: Proper way to upgrade Lift and Scala libs?

2009-09-16 Thread Ike
On Sep 16, 8:58 am, David Pollak feeder.of.the.be...@gmail.com wrote: So, that's the Lift policy.  We will have to figure out if we're going to do a 1.0.3 release for Scala 2.8.  We're planning to release Lift 1.1 a few weeks after 2.8 goes live (which I'm expecting to be in late

[Lift] Re: What's the best way to get the current request URL

2009-09-16 Thread harryh
S.uri On Sep 16, 9:35 am, Ryan Donahue donahu...@gmail.com wrote: I want to capture the the current request URL, so I can redirect back to it at a later point.  What's the best way to get at the URL?  The answer is probably obvious, but I can't seem to find it. Thanks, Ryan

[Lift] Re: Proper way to upgrade Lift and Scala libs?

2009-09-16 Thread Wilson MacGyver
Got it, thanks for the info. Staying with 2.7.5 then. Just finished moving to 2.7.6 for non-lift stuff yesterday, reverting... :) On Wed, Sep 16, 2009 at 8:52 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Sep 15, 2009 at 9:01 PM, Wilson MacGyver wmacgy...@gmail.com wrote:

[Lift] Re: JSON forms problem

2009-09-16 Thread glenn
Marius, You are right. I added script type=text/javascript src={/ + LiftRules.resourceServerPath + /jlift.js} / to my head method, and everything works great. The issue here, is that the Lift Book example doesn't mention this. Glenn On Sep 15, 9:07 pm, marius d. marius.dan...@gmail.com wrote:

[Lift] Re: What's the best way to get the current request URL

2009-09-16 Thread Ryan Donahue
Does that include the query string? On Wed, Sep 16, 2009 at 11:21 AM, harryh har...@gmail.com wrote: S.uri On Sep 16, 9:35 am, Ryan Donahue donahu...@gmail.com wrote: I want to capture the the current request URL, so I can redirect back to it at a later point. What's the best way to get

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread Viktor Klang
On Wed, Sep 16, 2009 at 4:50 PM, Timothy Perrett timo...@getintheloop.euwrote: Kevin, To clarify, your talking about akka-actors? The preferred route I think would be to use a fixed EPFL implementation, however, in leu of that i think from a project perspective it would be beneficial for

[Lift] Code broken due to hanges to ModelView

2009-09-16 Thread glenn
I realize the risk one takes in using the latest SNAPSHOT source, but there seems to be a recent change to ModelView in the mapper package such that now, it doesn't take type parameters. My questions is, if in my existing ModelSnippet code, I have val view: ModelView[User] = new

[Lift] Re: Code broken due to hanges to ModelView

2009-09-16 Thread glenn
Further compounding my confusion, is that the mapper.view package from the maven repo, http://scala-tools.org/repo-snapshots, is not in GitHub, so are the two repositories out-of-sync, and have they always been so? Glenn On Sep 16, 8:45 am, glenn gl...@exmbly.com wrote: I realize the  risk

[Lift] Re: Code broken due to hanges to ModelView

2009-09-16 Thread glenn
Naftoli, Pardon this new discussion. I just discovered your earlier post on this issue. However, the source for ModelView still shows it taking a type parameter. Has that not been updated yet? Glenn On Sep 16, 8:53 am, glenn gl...@exmbly.com wrote: Further compounding my confusion, is that

[Lift] Re: MINOR BREAKING CHANGE IN mapper.view.ModelView

2009-09-16 Thread glenn
Naftoli, Since I don't seem to have the latest source to follow, how exactly does this work now?. If I currently have:this as my ModelView class UserView(entity:User, snippet:ManageUsers) extends ModelView [User](entity, snippet) and val view: ModelView[User] = new UserView(new User,this)

[Lift] Money and Mapper

2009-09-16 Thread José María
Hi, I need to save some prices of products, while working in other languages I use some Decimal type so I don't have overflows and problems with IEEE floating point numbers. I see that Mapper has types for everything, from gender to postal codes... what about BigDecimal or Money? Cheers.

[Lift] Re: DB Log issue, escaping placeholders LoggedPreparedStatement.paramified()

2009-09-16 Thread Derek Chen-Becker
OK, I see where I broke things. Let me fix this. Derek On Wed, Sep 16, 2009 at 1:56 AM, Ewan ehar...@gmail.com wrote: Derek This one is for you I think. After updating my Boot.scala with revised DB.addLogFunc I have found an issue with logging prepared statements. My usecase is an

[Lift] Re: MINOR BREAKING CHANGE IN mapper.view.ModelView

2009-09-16 Thread Naftoli Gugenheim
Do you override anything in UserView? If not you can just write val view = new ModelView(new User) etc. Otherwise class UserView(user: User) extends ModelView(user) should work. What happened is that in addition to maper.view.ModelView, the latter is subclassed inside ModelSnippet so you can

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread David Pollak
On Wed, Sep 16, 2009 at 7:50 AM, Timothy Perrett timo...@getintheloop.euwrote: Kevin, To clarify, your talking about akka-actors? The preferred route I think would be to use a fixed EPFL implementation, however, in leu of that i think from a project perspective it would be beneficial for

[Lift] Re: Money and Mapper

2009-09-16 Thread Naftoli Gugenheim
MappedDecimal. - Jos? Mar?ajosemariar...@gmail.com wrote: Hi, I need to save some prices of products, while working in other languages I use some Decimal type so I don't have overflows and problems with IEEE floating point numbers. I see that Mapper has

[Lift] Re: DB Log issue, escaping placeholders LoggedPreparedStatement.paramified()

2009-09-16 Thread Derek Chen-Becker
http://reviewboard.liftweb.net/r/7/ Once that gets approved I'll check it into trunk and Hudson will have it built shortly. Derek On Wed, Sep 16, 2009 at 10:35 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: OK, I see where I broke things. Let me fix this. Derek On Wed, Sep 16, 2009 at

[Lift] Re: Clearing out options when submitting an empty multiSelect form

2009-09-16 Thread Derek Chen-Becker
What's happening here is that the form doesn't submit a field for beacons at all if nothing is selected, so the callback doesn't get called. What I typically do in scenarios like this is add a hidden field whose callback clears the collection. In your case, you could move the

[Lift] Re: JSON forms problem

2009-09-16 Thread Derek Chen-Becker
I'll fix the book right now, but could you please send your complete head method so that I make sure to include the correct code? Derek On Wed, Sep 16, 2009 at 9:30 AM, glenn gl...@exmbly.com wrote: Marius, You are right. I added script type=text/javascript src={/ +

[Lift] Re: Clearing out options when submitting an empty multiSelect form

2009-09-16 Thread Aaron Valade
On Sep 16, 2009, at 1:07 PM, Derek Chen-Becker wrote: What's happening here is that the form doesn't submit a field for beacons at all if nothing is selected, so the callback doesn't get called. What I typically do in scenarios like this is add a hidden field whose callback clears the

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread Derek Chen-Becker
I vote for lift-actor. On Wed, Sep 16, 2009 at 10:46 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Wed, Sep 16, 2009 at 7:50 AM, Timothy Perrett timo...@getintheloop.euwrote: Kevin, To clarify, your talking about akka-actors? The preferred route I think would be to use a

[Lift] Re: DB Log issue, escaping placeholders LoggedPreparedStatement.paramified()

2009-09-16 Thread Ewan
Thx On Sep 16, 5:52 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: http://reviewboard.liftweb.net/r/7/ Once that gets approved I'll check it into trunk and Hudson will have it built shortly. Derek On Wed, Sep 16, 2009 at 10:35 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: OK,

[Lift] Re: Money and Mapper

2009-09-16 Thread Derek Chen-Becker
That's available in 1.1-SNAPSHOT. If you need it for 1.0 I think that the same code should work and you can just add it to your local codebase under the net.liftweb.mapper package. Derek On Wed, Sep 16, 2009 at 10:51 AM, Naftoli Gugenheim naftoli...@gmail.comwrote: MappedDecimal.

[Lift] Re: DB Log issue, escaping placeholders LoggedPreparedStatement.paramified()

2009-09-16 Thread Derek Chen-Becker
It's checked into the build. Hudson is building it now. On Wed, Sep 16, 2009 at 11:33 AM, Ewan ehar...@gmail.com wrote: Thx On Sep 16, 5:52 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: http://reviewboard.liftweb.net/r/7/ Once that gets approved I'll check it into trunk and Hudson

[Lift] Still getting nuts with getting/setting foreign key fields

2009-09-16 Thread Tobias Daub
Hey Lifters, Simple problem, but kind of difficult solution: I've a foreign key field, e.g. myField. I want to get the id of the field. So I wrote a method inside the class: def getMyFieldId = myField.obj.map(_.id.is) openOr 0L IDs always start with one, right? But I get zero back! Why? I

[Lift] Re: Still getting nuts with getting/setting foreign key fields

2009-09-16 Thread David Pollak
On Wed, Sep 16, 2009 at 10:58 AM, Tobias Daub hannes.flo...@gmx.li wrote: Hey Lifters, Simple problem, but kind of difficult solution: I've a foreign key field, e.g. myField. I want to get the id of the field. So I wrote a method inside the class: def getMyFieldId =

[Lift] Re: Bug in MappedEmail: emailPattern is wrong

2009-09-16 Thread harryh
Hrm, MappedEmail is now rejecting e-mails with a - in the part before the @. is %-+ being interpreted as % through + and not % OR - OR + ? -harryh, who is easily confused by regular expressions On Aug 26, 7:32 pm, David Pollak feeder.of.the.be...@gmail.com wrote: Thanks. Changed and pushed

[Lift] Re: DB Log issue, escaping placeholders LoggedPreparedStatement.paramified()

2009-09-16 Thread Ewan
All working now. ta On Sep 16, 6:47 pm, Derek Chen-Becker dchenbec...@gmail.com wrote: It's checked into the build. Hudson is building it now. On Wed, Sep 16, 2009 at 11:33 AM, Ewan ehar...@gmail.com wrote: Thx On Sep 16, 5:52 pm, Derek Chen-Becker dchenbec...@gmail.com wrote:

[Lift] suggestion: make Mailer use n.l.util.Props

2009-09-16 Thread harryh
Rather than using System.getProperties should Mailer use net.liftweb.util.Props? It seems a little inconsistent as is. -harryh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group,

[Lift] Re: suggestion: make Mailer use n.l.util.Props

2009-09-16 Thread Timothy Perrett
I think the mailer is some of the oldest code in lift - so its not a huge surprise :-) Im a bit tied up, but which committer should take this on and fix it? Cheers, Tim On 16 Sep 2009, at 21:39, harryh wrote: Rather than using System.getProperties should Mailer use

[Lift] apache proxy_balancer

2009-09-16 Thread jon
Hi, Is anyone running lift behind apache with proxy_balancer? I'm trying to get that setup, but seeing a really odd problem where the javascript on the page seems to cause continuous reloading on some pages. I haven't yet fully investigated the problem, but am wondering if anyone has some

[Lift] Wicket vs Tapestry vs Grails vs Lift?

2009-09-16 Thread etorreborre
Hi, Anyone is interested in coding the same app with Lift and have a look at the numbers? http://ptrthomas.wordpress.com/2009/09/14/perfbench-update-tapestry-5-and-grails Eric. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[Lift] Comet Actors - single browser, multiple tabs, same URL - out of control GET problem

2009-09-16 Thread Dano
We have a lift app (innovationgames.com) which has a page (actually several) with comet actors. When we go to the same URL in two tabs in the same browser, we see that the long polls (GET requests) return immediately in rapid fire succession and this behavior continues until we exit one of the

[Lift] Re: Comet Actors - single browser, multiple tabs, same URL - out of control GET problem

2009-09-16 Thread David Pollak
On Wed, Sep 16, 2009 at 4:18 PM, Dano olearydani...@gmail.com wrote: We have a lift app (innovationgames.com) which has a page (actually several) with comet actors. When we go to the same URL in two tabs in the same browser, we see that the long polls (GET requests) return immediately in

[Lift] Re: Wicket vs Tapestry vs Grails vs Lift?

2009-09-16 Thread David Pollak
On Wed, Sep 16, 2009 at 4:08 PM, etorreborre etorrebo...@gmail.com wrote: Hi, Anyone is interested in coding the same app with Lift and have a look at the numbers? I'm interested, but don't have the time. :-(

[Lift] Re: suggestion: make Mailer use n.l.util.Props

2009-09-16 Thread David Pollak
Open a ticket... I'll see what I can do to merge system properties and Lift's props. On Wed, Sep 16, 2009 at 1:39 PM, harryh har...@gmail.com wrote: Rather than using System.getProperties should Mailer use net.liftweb.util.Props? It seems a little inconsistent as is. -harryh --

[Lift] Re: Remove OAuth module?

2009-09-16 Thread David Pollak
It's the OAuth server, not OAuth client stuff. I want to get this feature into 1.1, so let's not delete the project. On Wed, Sep 16, 2009 at 2:15 PM, Timothy Perrett timo...@getintheloop.euwrote: Guys, Should we remove the OAuth module now? No code was ever commited to it and frankly,

[Lift] Re: OOME in using CometActor

2009-09-16 Thread Atsuhiko Yamanaka
Hi, On Wed, Sep 16, 2009 at 11:50 PM, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com wrote: I'll try lower value, for example, 50 for maxPoolSize before going to the bed. I'll look forward to the good result in the next morning. I got the good result. By setting maxPoolSize as 50, OOME had

[Lift] JPA with more than one front end (Maven! sigh...)

2009-09-16 Thread Charles F. Munat
I have a Lift project with a JPA backend subproject, and then two Lift front ends that access the same back end, also as subprojects. So my master pom.xml looks like this: modules moduleweb/module moduleweb2/module modulespa/module /modules Works beautifully. Web responds

[Lift] Re: Breaking changes in CometActor code vs. continuing instabilities in Scala Actors

2009-09-16 Thread Heiko Seeberger
Of course in a perfect world we would like to use the perfect EPFL actors. But as know the world, well at least EPFL actors, are not perfect. By the way: Scala is a lot about libraries, hence IMHO it is OK if Lift uses it's own approach for actors. = Let's go for lift-actor, if possible abstracted

[Lift] Re: Comet Actors - single browser, multiple tabs, same URL - out of control GET problem

2009-09-16 Thread DFectuoso
That seems like a logical reason why this is like this, but if i open 2 tabs of http://demo.liftweb.net/, both tabs start to send ajax request every 100ms, that is 20 ajax request per second, 72k per hour, so if an app had 100 crazy users who happen to open 2 tabs of the app (this happens to me a

[Lift] Re: Comet Actors - single browser, multiple tabs, same URL - out of control GET problem

2009-09-16 Thread Xavi Ramirez
I vaguely remember reading a thread that claimed Lift would auto-increase the 2 connection limit for sessions using more modern browsers. Is this feature in M5? Random Idea: Would it be possible to get around the 2 connection limit by sending each comet request to a unique sub-domain? For