[Lift] Re: Welcome Greg Meredith to the Lift committers

2009-04-22 Thread marius d.
You're most welcomed Greg ! On Apr 23, 7:16 am, David Pollak wrote: > 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.

[Lift] Re: bitrot

2009-04-22 Thread Charles F. Munat
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 implicit

[Lift] Welcome Greg Meredith to the Lift committers

2009-04-22 Thread David Pollak
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 sayi

[Lift] Re: Binding Radio Button

2009-04-22 Thread sailormoo...@gmail.com
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)

[Lift] optional validation

2009-04-22 Thread g-man
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 val

[Lift] http://demo.liftweb.net/ no navigation on left

2009-04-22 Thread allen
Running IE8 on Vista. The demo does now show navigation menu on left side of pane. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsub

[Lift] Re: lift-amqp, RabbitMQ and Subscriptions?

2009-04-22 Thread TylerWeir
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 wrote: > Guys, > > Im just starting to look at RabbitMQ and lift-amqp. I have a situation > where by I have a centra

[Lift] Comet - Unique to each page

2009-04-22 Thread bradford
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 only

[Lift] Re: Binding Radio Button

2009-04-22 Thread sailormoo...@gmail.com
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" -> { for

[Lift] Re: bitrot

2009-04-22 Thread Meredith Gregory
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 wrote: > > I haven't looked at the Loc signat

[Lift] Re: bitrot

2009-04-22 Thread Charles F. Munat
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 > fragme

[Lift] Re: bitrot

2009-04-22 Thread David Pollak
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 wrote: > Lifted, > > Apparently i'm not keeping pace with the Jones'. The following code

[Lift] bitrot

2009-04-22 Thread Meredith Gregory
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",

[Lift] Re: Why no BLOB for Derby?

2009-04-22 Thread Derek Chen-Becker
Fair enough. On Wed, Apr 22, 2009 at 4:53 PM, David Pollak wrote: > > > On Wed, Apr 22, 2009 at 3:20 PM, Derek Chen-Becker > wrote: > >> 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 t

[Lift] Re: slicing off a web front end

2009-04-22 Thread Meredith Gregory
Tim, et al, Here 's a link to the root of the project. What it does can be summarized as follows. - scrape the frontend off Yahoo Pipes - implement a JRoR app to field the Pipes requests - implement JRoR controller hands off to a piece

[Lift] Re: slicing off a web front end

2009-04-22 Thread Timothy Perrett
Hmm Id tend to agree ­ you¹d probably have to rewrite a lot of the JS away from prototype if your using RJS but from a migration POV, I think the main issue will be translating some of the rails black-box magic to, as Derek says, JsonResponses etc. If you provide a bit more context that would be

[Lift] Re: Why no BLOB for Derby?

2009-04-22 Thread David Pollak
On Wed, Apr 22, 2009 at 3:20 PM, Derek Chen-Becker wrote: > 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 :(. I think that

[Lift] Re: Why no BLOB for Derby?

2009-04-22 Thread Timothy Perrett
Id imagine that's why its not implemented then ;-) On 22/04/2009 23:20, "Derek Chen-Becker" wrote: > Derby is very unhappy if you send an Array[Byte] to a BLOB column. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

[Lift] lift-amqp, RabbitMQ and Subscriptions?

2009-04-22 Thread Tim Perrett
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 "jobs

[Lift] Re: slicing off a web front end

2009-04-22 Thread Derek Chen-Becker
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 wrote: > Lifted, > > After diving into what it takes to more or less auto-generate a decent > starting point for a midtier from the

[Lift] slicing off a web front end

2009-04-22 Thread Meredith Gregory
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 i've

[Lift] Re: Why no BLOB for Derby?

2009-04-22 Thread Derek Chen-Becker
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 wrote: > Of course!

[Lift] Re: lift and background processing

2009-04-22 Thread Timothy Perrett
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 dis

[Lift] Re: Why no BLOB for Derby?

2009-04-22 Thread Derek Chen-Becker
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 wrote: > Dunno... care to fix it? :-) > > > On Wed, Apr 22, 2009 at 1:40 PM, Derek Chen-Becker > wrote: > >> The DerbyDriver object has the binaryColumnType set

[Lift] Re: Why no BLOB for Derby?

2009-04-22 Thread David Pollak
Dunno... care to fix it? :-) On Wed, Apr 22, 2009 at 1:40 PM, Derek Chen-Becker wrote: > 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 PocketChang

[Lift] Re: HAML-style template syntax?

2009-04-22 Thread David Pollak
On Wed, Apr 22, 2009 at 1:36 PM, Jacob 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 indentation (which you

[Lift] Re: lift and background processing

2009-04-22 Thread David Pollak
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 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 fly in respo

[Lift] HAML-style template syntax?

2009-04-22 Thread Jacob
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 any

[Lift] lift and background processing

2009-04-22 Thread Rogelio
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.

[Lift] Why no BLOB for Derby?

2009-04-22 Thread Derek Chen-Becker
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 image

[Lift] Re: CRUDify and hidden fields?

2009-04-22 Thread Andrew Scherpbier
On Apr 21, 1:29 pm, David Pollak 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 data has the field in

[Lift] Re: Avoiding polling when using Comet. Reverse AJAX

2009-04-22 Thread przemek.pokrywka
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 Liftwe

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

2009-04-22 Thread James Strachan
2009/4/22 David Pollak : > > > On Wed, Apr 22, 2009 at 9:16 AM, James Strachan > wrote: >> >> 2009/4/22 David Pollak : >> > James, >> > >> > This is an interesting idea that more than one person has expressed >> > excitement about.  Jorge Ortiz (one of the Lift committers) was >> > puttering >> >

[Lift] Re: Netbeans 6.5 Out of Memory Error with 4MB file forces Eclipse for me

2009-04-22 Thread jsm2prof
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 wrote: > On Tue, Apr 21, 2009 at 10:15 PM, jsm2prof wrote: > > > Netbeans 6.5 gave me an Out of Memory Error when I loaded a 4MB > > file.

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

2009-04-22 Thread David Pollak
On Wed, Apr 22, 2009 at 9:16 AM, James Strachan wrote: > > 2009/4/22 David Pollak : > > 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 templati

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

2009-04-22 Thread James Strachan
2009/4/22 David Pollak : > 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 think it's a pretty dauntin

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

2009-04-22 Thread Timothy Perrett
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 pi

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

2009-04-22 Thread David Pollak
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

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

2009-04-22 Thread David Pollak
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 think it's a pretty daunting task because a lot of the ways that

[Lift] Re: CRUDifying a model

2009-04-22 Thread David Pollak
On Wed, Apr 22, 2009 at 1:00 AM, Tobias Daub 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 methods, in th

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

2009-04-22 Thread dramsay
This is great. +1 to Derek's suggestion to put it in the wiki. On Apr 22, 4:39 am, Atsuhiko Yamanaka 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 suppo

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

2009-04-22 Thread Peter Bliznak
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. _

[Lift] Re: Netbeans 6.5 Out of Memory Error with 4MB file forces Eclipse for me

2009-04-22 Thread David Pollak
On Tue, Apr 21, 2009 at 10:15 PM, jsm2prof 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 Emacs anyway... they

[Lift] Re: Avoiding polling when using Comet. Reverse AJAX

2009-04-22 Thread David Pollak
On Wed, Apr 22, 2009 at 12:53 AM, Alexander Kellett wrote: > > 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 updating every 10 sec

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

2009-04-22 Thread 刘浩
Thanks. Maybe you also could put it in Wiki. 2009/4/22 Derek Chen-Becker > Nice! > > > On Wed, Apr 22, 2009 at 2:39 AM, Atsuhiko Yamanaka < > atsuhiko.yaman...@gmail.com> wrote: > >> >> --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[Lift] Re: scala-tools.org is down

2009-04-22 Thread smlz
On Apr 22, 4:14 pm, TylerWeir 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 this group, send em

[Lift] Re: scala-tools.org is down

2009-04-22 Thread David Bernard
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 wrote: > > Seems fine to me. Can you try again? > > On Apr 22, 9:45 am,

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

2009-04-22 Thread Derek Chen-Becker
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

[Lift] Re: scala-tools.org is down

2009-04-22 Thread TylerWeir
Seems fine to me. Can you try again? On Apr 22, 9:45 am, smlz wrote: > 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 ar

[Lift] scala-tools.org is down

2009-04-22 Thread smlz
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

[Lift] Re: getting "mvn jetty:run" to reload changes to snippets

2009-04-22 Thread James Strachan
2009/4/17 David Pollak : > > > On Fri, Apr 17, 2009 at 10:00 AM, James Strachan > 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 etc. >> >> I've been taking my first baby

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

2009-04-22 Thread James Strachan
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 mad

[Lift] Re: developing Scala/Lift using Eclipse

2009-04-22 Thread Josh Suereth
On Wed, Apr 22, 2009 at 8:53 AM, Miles Sabin wrote: > > On Wed, Apr 22, 2009 at 1:16 PM, Josh Suereth > 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

[Lift] Re: CRUDifying a model

2009-04-22 Thread TylerWeir
> 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 wrote: > Hi Dave, > > First, is this 1.1 version already in the repository, will maven > automatically get it? > > Second, where do

[Lift] Re: developing Scala/Lift using Eclipse

2009-04-22 Thread Miles Sabin
On Wed, Apr 22, 2009 at 1:16 PM, Josh Suereth 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 plugins, as they > have a

[Lift] Re: developing Scala/Lift using Eclipse

2009-04-22 Thread Josh Suereth
On Wed, Apr 22, 2009 at 8:05 AM, Miles Sabin wrote: > > On Wed, Apr 22, 2009 at 11:14 AM, Channing 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 > > > Whenever I

[Lift] Re: developing Scala/Lift using Eclipse

2009-04-22 Thread Miles Sabin
On Wed, Apr 22, 2009 at 11:14 AM, Channing 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 > Whenever I change the pom, I use a terminal to run mvn commands from > the pr

[Lift] Re: developing Scala/Lift using Eclipse

2009-04-22 Thread Channing
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. imported

[Lift] Re: Lift and Bespin... a new way to develop web apps...

2009-04-22 Thread Timothy Perrett
+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" wrote: > > o m g. > > This is going to be sick! > > On Apr 21, 7:07 pm, David Pollak > wrote: >> Folks, >> >> I spent an hour wit

[Lift] Re: Binding Radio Button

2009-04-22 Thread Timothy Perrett
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" wrote: > Hello: > >     var sex         = "M" >     val sex_map = Map("Male"->"M", "Fema

[Lift] your first Lift application on GAE/J

2009-04-22 Thread Atsuhiko Yamanaka
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 account

[Lift] Re: Can't get applications to run in Jetty

2009-04-22 Thread Julian Howarth
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 wrote: > One final thing... try: > > rm -rf ~/.m2/repositories > > There may be a corrupted JAR file in your Maven repos

[Lift] Re: CRUDifying a model

2009-04-22 Thread Tobias Daub
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

[Lift] Re: Netbeans 6.5 Out of Memory Error with 4MB file forces Eclipse for me

2009-04-22 Thread marius d.
LOL :) On Apr 22, 11:14 am, Timothy Perrett wrote: > What on earth do you mean by this? > > Tim. > > On 22/04/2009 06:15, "jsm2prof" wrote: > > > Would someone please kick Lift up to the status of playing > > with the heavy weight? --~--~-~--~~~---~--~~ You recei

[Lift] Re: Netbeans 6.5 Out of Memory Error with 4MB file forces Eclipse for me

2009-04-22 Thread Timothy Perrett
What on earth do you mean by this? Tim. On 22/04/2009 06:15, "jsm2prof" wrote: > Would someone please kick Lift up to the status of playing > with the heavy weight? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[Lift] Re: lift:surround with multiple content elements

2009-04-22 Thread Timothy Perrett
You need to use the with-param style. Check this: // templates-hidden/default.html // somepage.html . Does that clear it up for you? Cheers, Tim On 22/04/2009 06:50, "harryh" wrote: > > Let's say I have a common UI feature on my site like so (I'm > simplify

[Lift] Re: Avoiding polling when using Comet. Reverse AJAX

2009-04-22 Thread marius d.
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

[Lift] Re: Avoiding polling when using Comet. Reverse AJAX

2009-04-22 Thread Alexander Kellett
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 wrote: > > It is 10 sec actually at Comet chat example. > Not very good for

[Lift] Re: Avoiding polling when using Comet. Reverse AJAX

2009-04-22 Thread przemek.pokrywka
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." 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 client)? --~--~-~-

[Lift] lift:surround with multiple content elements

2009-04-22 Thread harryh
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: I can (obviously) use to do this on any page in my site like so: Is there any simple way for

[Lift] Netbeans 6.5 Out of Memory Error with 4MB file forces Eclipse for me

2009-04-22 Thread jsm2prof
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? --~--~