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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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:
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
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.
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
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
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
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.
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
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
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,
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
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,
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
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
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:
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:
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
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
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
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
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
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)
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.
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
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
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
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
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
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
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={/ +
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
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
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,
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.
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
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
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 =
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
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:
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,
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
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
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
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
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
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. :-(
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
--
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,
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
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
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
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
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
76 matches
Mail list logo