Netbeans 6.5 gave me an Out of Memory Error when I loaded a 4MB
file. I get much better help from Eclipse. Scala is tops. Lift
seems to be very good. I only want to learn the things that are
best. Would someone please kick Lift up to the status of playing
with the heavy weight?
Let's say I have a common UI feature on my site like so (I'm
simplifying here, obviously in the real world the element might be
more complex) that is replecated on many pages:
div class=section
!-- content here --
/div
I can (obviously) use lift:surround to do this on any page in my
site like
It is 10 sec actually at Comet chat example.
Not very good for high-traffic public portals.
Przemek
On Apr 21, 7:21 pm, marius d. marius.dan...@gmail.com wrote:
But what is the problem with long pooling if a request is done every x
minutes (if server does not have any message for this
are you sure this isn't the gc poll? i agree 10 seconds is too short
(thats a lot of traffic...), but its a very quick operation, its not
an actual poll on the page afaiu
On Wed, Apr 22, 2009 at 8:54 AM, przemek.pokrywka
przemyslaw.pokry...@gmail.com wrote:
It is 10 sec actually at Comet chat
Hold on guys ... are you talking about the online demo application
http://demo.liftweb.net/ ? ... If so, note that there is also a clock
Comet Actor that every 10 seconds is updating the time in the browser.
It is the application intent not the comet implementation. Note that
by default the COMET
You need to use the with-param style. Check this:
// templates-hidden/default.html
div id=flight-plan
lift:bind name=flightplan/
/div
div id=content
lift:bind name=content /
/div
// somepage.html
lift:surround with=default at=content
lift:with-param name=flightplan
img
What on earth do you mean by this?
Tim.
On 22/04/2009 06:15, jsm2prof jsm2p...@googlemail.com wrote:
Would someone please kick Lift up to the status of playing
with the heavy weight?
--~--~-~--~~~---~--~~
You received this message because you are
LOL :)
On Apr 22, 11:14 am, Timothy Perrett timo...@getintheloop.eu wrote:
What on earth do you mean by this?
Tim.
On 22/04/2009 06:15, jsm2prof jsm2p...@googlemail.com wrote:
Would someone please kick Lift up to the status of playing
with the heavy weight?
Hi Dave,
First, is this 1.1 version already in the repository, will maven
automatically get it?
Second, where do I have to override those methods, in the class that
extends Mapper or in the companion object?
Can you give a short code sample how to override, please.
thanks.
I've added new
Thanks David, that fixed it - all up and running correctly now. I've
also switched back to maven 2.1.0 and that works correctly too.
Julian
On Apr 21, 11:36 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
One final thing... try:
rm -rf ~/.m2/repositories
There may be a corrupted JAR
Hi there,
Let me introduce you the brief tutorial to deploy simple lift application to
Google App Engine for Java(GAE/J) . Now, Lift 1.1-SNAPSHOT code base
has included the support for GAE/J and it has become very easy to do it.
First of all, suppose that you have already signed up GAE/J
Hey,
this is a classic mistake as its not well documented - radio is unlike
any other bind, check out my example here:
http://gist.github.com/99713
Cheers, Tim
On Apr 22, 2:43 am, sailormoo...@gmail.com sailormoo...@gmail.com
wrote:
Hello:
var sex = M
val sex_map =
+1 - Thunderhead sounds especially amazing... Could really use a canvas
based framework that was as sick as that!
Cheers, Tim
On 22/04/2009 01:23, TylerWeir tyler.w...@gmail.com wrote:
o m g.
This is going to be sick!
On Apr 21, 7:07 pm, David Pollak feeder.of.the.be...@gmail.com
I've just set up a lift project in eclipse, here are the versions:
Eclipse Version: 3.5.0 Build id: I20090416-1053
Scala plugin 2.7.4RC1
The steps I went through are as follows:
1. created the lift project somewhere with mvn as usual
2. ran mvn:eclipse:eclipse on the created project
3.
On Wed, Apr 22, 2009 at 8:05 AM, Miles Sabin mi...@milessabin.com wrote:
On Wed, Apr 22, 2009 at 11:14 AM, Channing channingwal...@mac.com wrote:
4. went to the project properties and edited each of the source
folders removing the 'Excluded items' which was preventing eclipse
from
On Wed, Apr 22, 2009 at 11:14 AM, Channing channingwal...@mac.com wrote:
4. went to the project properties and edited each of the source
folders removing the 'Excluded items' which was preventing eclipse
from compiling the scala code
snip/
Whenever I change the pom, I use a terminal to run
On Wed, Apr 22, 2009 at 1:16 PM, Josh Suereth joshua.suer...@gmail.com wrote:
The maven-eclipse-plugin is currently broken in the sense that it won't
pay attention to the source directories configured by the maven-scala-plugin.
The developers seem unwilling to try to integrate these two
Can you give a short code sample how to override, please.
There are many examples, please take a look at the source on github.
On Apr 22, 4:00 am, Tobias Daub hannes.flo...@gmx.li wrote:
Hi Dave,
First, is this 1.1 version already in the repository, will maven
automatically get it?
On Wed, Apr 22, 2009 at 8:53 AM, Miles Sabin mi...@milessabin.com wrote:
On Wed, Apr 22, 2009 at 1:16 PM, Josh Suereth joshua.suer...@gmail.com
wrote:
The maven-eclipse-plugin is currently broken in the sense that it won't
pay attention to the source directories configured by the
This might seem a truly bizarre request - particularly to folks who
solely use lift as their web framework; but I've been hacking up a
number of JAXRS services - I'm a big JAXRS fan (and slowly being drawn
to scala/lift).
I'd like to make Lift templates an option for any JAXRS developer
who's
2009/4/17 David Pollak feeder.of.the.be...@gmail.com:
On Fri, Apr 17, 2009 at 10:00 AM, James Strachan james.strac...@gmail.com
wrote:
Hello Lifters!
BTW apologies in advance if this is an obvious newbie question - I did
a fair bit of searching on the list and saw JavaRebel discussions
Hi list
scala-tools.org seems to be down. Is there a backup somewhere with the
liftweb documentation?
Thanks,
Marco
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email
Seems fine to me. Can you try again?
On Apr 22, 9:45 am, smlz marco.schm...@gmail.com wrote:
Hi list
scala-tools.org seems to be down. Is there a backup somewhere with the
liftweb documentation?
Thanks,
Marco
--~--~-~--~~~---~--~~
You received this
Nice!
On Wed, Apr 22, 2009 at 2:39 AM, Atsuhiko Yamanaka
atsuhiko.yaman...@gmail.com wrote:
Hi there,
Let me introduce you the brief tutorial to deploy simple lift application
to
Google App Engine for Java(GAE/J) . Now, Lift 1.1-SNAPSHOT code base
has included the support for GAE/J and
The mvnsites links on home page (http://scala-tools.org/) aren't redirected
correctly.
http://scala-tools.org/mvnsites ... failed
http://scala-tools.org/mvnsites/ ... works
/davidB
On Wed, Apr 22, 2009 at 16:14, TylerWeir tyler.w...@gmail.com wrote:
Seems fine to me. Can you try again?
On
On Apr 22, 4:14 pm, TylerWeir tyler.w...@gmail.com wrote:
Seems fine to me. Can you try again?
Ahhh, it seems to work again.
Thanks
Marco
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to
Thanks.
Maybe you also could put it in Wiki.
2009/4/22 Derek Chen-Becker dchenbec...@gmail.com
Nice!
On Wed, Apr 22, 2009 at 2:39 AM, Atsuhiko Yamanaka
atsuhiko.yaman...@gmail.com wrote:
--~--~-~--~~~---~--~~
You received this message because you are
On Wed, Apr 22, 2009 at 12:53 AM, Alexander Kellett lypa...@gmail.comwrote:
are you sure this isn't the gc poll?
It's not the GC ping
i agree 10 seconds is too short
(thats a lot of traffic...)
10 seconds, as Marius pointed out, is the periodicity of the app because the
clock is
On Tue, Apr 21, 2009 at 10:15 PM, jsm2prof jsm2p...@googlemail.com wrote:
Netbeans 6.5 gave me an Out of Memory Error when I loaded a 4MB
file.
If you've got a 4MB scala source code file, I'd suggest refactoring a little
bit.
If it's a 4MB text file, you'd likely be better served with vi or
That's good stuff!
I would never acutally think of putting real-life enterprise app onto GAE/J
but for fun it might work well
You mentioned you have more examples, I would be especially interested
in Lift/JPA. You should put them all on WIKI somewhere.
Peter.
This is great. +1 to Derek's suggestion to put it in the wiki.
On Apr 22, 4:39 am, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com
wrote:
Hi there,
Let me introduce you the brief tutorial to deploy simple lift application to
Google App Engine for Java(GAE/J) . Now, Lift 1.1-SNAPSHOT code base
On Wed, Apr 22, 2009 at 1:00 AM, Tobias Daub hannes.flo...@gmx.li wrote:
Hi Dave,
First, is this 1.1 version already in the repository, will maven
automatically get it?
When you build, do mvn -U clean jetty:run
The -U flag forces the updated
Second, where do I have to override those
Freekin' awesome stuff!
Please keep it coming!
Rock and Roll!
On Wed, Apr 22, 2009 at 1:39 AM, Atsuhiko Yamanaka
atsuhiko.yaman...@gmail.com wrote:
Hi there,
Let me introduce you the brief tutorial to deploy simple lift application
to
Google App Engine for Java(GAE/J) . Now, Lift
Just to emphasise this: I tried to decouple some of the templating stuff
previously and it was difficult to the point that I stopped bothering (jorge
was helping too)
By all means, id love to see this work, but it would be a quite a task and
one that involves knowing exactly how lift template
2009/4/22 David Pollak feeder.of.the.be...@gmail.com:
James,
This is an interesting idea that more than one person has expressed
excitement about. Jorge Ortiz (one of the Lift committers) was puttering
around with the separation of Lift's templating from the rest of Lift.
Personally, I
On Wed, Apr 22, 2009 at 9:16 AM, James Strachan james.strac...@gmail.comwrote:
2009/4/22 David Pollak feeder.of.the.be...@gmail.com:
James,
This is an interesting idea that more than one person has expressed
excitement about. Jorge Ortiz (one of the Lift committers) was puttering
Dave,
Thanks for your suggestions. Maybe when you understand what I am
trying to do you will have a different suggestion.
On Apr 22, 10:45 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Tue, Apr 21, 2009 at 10:15 PM, jsm2prof jsm2p...@googlemail.com wrote:
Netbeans 6.5 gave me an
2009/4/22 David Pollak feeder.of.the.be...@gmail.com:
On Wed, Apr 22, 2009 at 9:16 AM, James Strachan james.strac...@gmail.com
wrote:
2009/4/22 David Pollak feeder.of.the.be...@gmail.com:
James,
This is an interesting idea that more than one person has expressed
excitement about.
Thanks for explanation guys!
I wasn't aware of the clock.
A single poll every 140s sounds perfectly reasonable to me.
I'm not aware of any better alternatives for long polling, yet
fortunately I don't desperately need one :)
Now I'm no longer concerned about Comet performance in my planned
On Apr 21, 1:29 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
I just added dbIncludeInForm_? If you set that to false, the field will be
included in display, but not in input forms.
I think I found a small bug with your recent change: when I set this
to false for a field, the list of
The DerbyDriver object has the binaryColumnType set to LONG VARCHAR FOR BIT
DATA instead of BLOB. Is there a specific reason why we're not using BLOB
there like we do with other drivers? Our PocketChange example app runs into
an exception with the current Derby config because you can attach images
Hi,
New to the forum and new to Scala/Lift. In a previous Ruby Rails
project, I needed to
generate some PDF files on the fly in response to a user clicking a
link. For that, I
passed the task off the a worker with BackgroundRb so that the mongrel
instance would
not be tied up for a long time.
HAML (http://haml.hamptoncatlin.com/) offers super-clean syntax for
producing html/xml. It basically cuts the characters spent on
structure in half - you only need to write the open tags and then the
tags are closed by indentation (which you want to maintain anyway for
readability).
Are there
I think Tim has an app that does exactly this. He uses Actors. Perhaps
he'll be able to share code.
On Wed, Apr 22, 2009 at 1:38 PM, Rogelio rogbo...@gmail.com wrote:
Hi,
New to the forum and new to Scala/Lift. In a previous Ruby Rails
project, I needed to
generate some PDF files on the
On Wed, Apr 22, 2009 at 1:36 PM, Jacob jacobno...@gmail.com wrote:
HAML (http://haml.hamptoncatlin.com/) offers super-clean syntax for
producing html/xml. It basically cuts the characters spent on
structure in half - you only need to write the open tags and then the
tags are closed by
Of course! I just didn't want to break it if there was a reason we didn't
use it.
Derek
On Wed, Apr 22, 2009 at 2:57 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
Dunno... care to fix it? :-)
On Wed, Apr 22, 2009 at 1:40 PM, Derek Chen-Becker
dchenbec...@gmail.comwrote:
The
Dunno... care to fix it? :-)
On Wed, Apr 22, 2009 at 1:40 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
The DerbyDriver object has the binaryColumnType set to LONG VARCHAR FOR
BIT DATA instead of BLOB. Is there a specific reason why we're not using
BLOB there like we do with other
I do indeed have a system like this - unfortunately there is no way I can
share the code (corporate rules and its highly specific for our
environment).
Essentially I have a bunch of Actors that co-operate to get the jobs done -
I have a master actor that handles all the queuing etc then it
Crud. This is going to require some changes to MetaMapper. Derby is very
unhappy if you send an Array[Byte] to a BLOB column. Derby also happens to
be the only DB that I can find with such a small limit on varbinary :(.
Derek
On Wed, Apr 22, 2009 at 3:11 PM, Derek Chen-Becker
Lifted,
After diving into what it takes to more or less auto-generate a decent
starting point for a midtier from the backend of a RoR (or other) website,
i'm now interested in the least painful way to slice off the frontend of an
existing website and paste it onto a lift(ed) midtier.
Suppose
Worst case you might be able to use custom dispatch hooks combined with
JavaScriptResponse or JsonResponse.
Derek
On Wed, Apr 22, 2009 at 4:21 PM, Meredith Gregory
lgreg.mered...@gmail.comwrote:
Lifted,
After diving into what it takes to more or less auto-generate a decent
starting point
Guys,
Im just starting to look at RabbitMQ and lift-amqp. I have a situation
where by I have a central pot of information and a bunch of different
consumers that want to keep up to date with changes to things they are
interested in (specifically, we'll call the things they are interested
in
Id imagine that's why its not implemented then ;-)
On 22/04/2009 23:20, Derek Chen-Becker dchenbec...@gmail.com wrote:
Derby is very unhappy if you send an Array[Byte] to a BLOB column.
--~--~-~--~~~---~--~~
You received this message because you are
On Wed, Apr 22, 2009 at 3:20 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
Crud. This is going to require some changes to MetaMapper. Derby is very
unhappy if you send an Array[Byte] to a BLOB column. Derby also happens to
be the only DB that I can find with such a small limit on varbinary
Lifted,
Apparently i'm not keeping pace with the Jones'. The following code fragment
used to work and now it doesn't.
val entries =
(Menu(Loc(Home, /, Home))
:: Menu(Loc(REPLForm.1, /AJAXREPLForm, R-E-P-L,
If(User.loggedIn_? _, x)))
:: Menu(Loc(GrammarSpec.1, /GrammarSpec,
Loc(REPLForm.1, /AJAXREPLForm, R-E-P-L, If(User.loggedIn_? _, x))
-
Loc(REPLForm.1, List(AJAXREPLForm), R-E-P-L, If(User.loggedIn_? _,
x))
On Wed, Apr 22, 2009 at 4:53 PM, Meredith Gregory
lgreg.mered...@gmail.comwrote:
Lifted,
Apparently i'm not keeping pace with the Jones'. The following
I haven't looked at the Loc signature, but mine looks like this:
Menu(Loc(Home, / :: Nil, Home))
or
Menu(Loc(Home, List(/), Home))
Could that be the trouble?
Chas.
Meredith Gregory wrote:
Lifted,
Apparently i'm not keeping pace with the Jones'. The following code
fragment used to work
Chas,
David beat you to the punch. Thanks to the both of you. i sent some
brain-candy along to the scala list in return for the help. [See my post on
implicits and concurrency.]
Best wishes,
--greg
On Wed, Apr 22, 2009 at 5:27 PM, Charles F. Munat c...@munat.com wrote:
I haven't looked at
Thanks for the help ^.^
And if I want the choices are dynamic, what should I do ?
For example, there could be 3 radios, or maybe 5 radios.
I still cannot understand the mechanism of lift, but may I make such
binding?
def example(xhtml: NodeSeq): NodeSeq = bind(entry, xhtml,
radio - table{
I noticed in the chat demo that if you enter your name or chat into
one tab, the same results will propagate to the other tab. I need a
short lived comet session that's unique to each tab -- I want to
prevent one tab from mixing its data with another tab. I understand
that most user browser
You may want to talk to Steve Jenson (aka @stevej) about your app
needs.
I'm not sure he still visits the list, so twitter may be the best
avenue.
On Apr 22, 6:48 pm, Tim Perrett timo...@getintheloop.eu wrote:
Guys,
Im just starting to look at RabbitMQ and lift-amqp. I have a situation
All is going well with my Lift learning...
The form field validations are working well, and I especially like the
field object types that know what they are, like 'email'.
My question is:
How do I tell Lift that a Contact's email is optional (empty string is
OK), but if it is provided, then
Hello:
And about the checkbox..
bind(entry, xhtml,
test_mode - SHtml.checkbox(false, if (_) option_list
= option_list ::: List(FlagEnum.TEST_MODE), id-test_mode))
I have a option_list of List[FlagEnum.Value] for saving the options
(note : I have over 40 checkboxs), I am
Folks,
It's been a new-commiter-o-rama lately... and I'm wicked pleased to announce
that Greg Meredith has agreed to join the Lift committers.
Greg has applied his vast mathematical mind to computing over the years.
I'm psyched that Greg will be applying his brain to Lift.
Please join me in
I guess so, though when I sent that his hadn't shown up yet. I was
typing as fast as I could!
Chas.
Meredith Gregory wrote:
Chas,
David beat you to the punch. Thanks to the both of you. i sent some
brain-candy along to the scala list in return for the help. [See my post
on implicits
65 matches
Mail list logo