[Lift] Re: Strange Comet Behavior

2009-05-12 Thread David Pollak
On Tue, May 12, 2009 at 5:05 PM, Bryan. wrote: > > Wow, this is great stuff! setupComet was a very thoughtful addition. > Thanks, David. > Sure thing. > > Regards, > Bryan > > On May 12, 6:13 pm, David Pollak > wrote: > > Bryan, > > > > I've reworked your example... and based on my re-work,

[Lift] Re: Strange Comet Behavior

2009-05-12 Thread Bryan.
Wow, this is great stuff! setupComet was a very thoughtful addition. Thanks, David. Regards, Bryan On May 12, 6:13 pm, David Pollak wrote: > Bryan, > > I've reworked your example... and based on my re-work, I added a method to > LiftSession that allows you to send messages to a CometActor refe

[Lift] Re: Strange Comet Behavior

2009-05-12 Thread David Pollak
Bryan, I've reworked your example... and based on my re-work, I added a method to LiftSession that allows you to send messages to a CometActor referenced later on. I hope you like it. Thanks, David On Mon, May 11, 2009 at 7:08 PM, Bryan. wrote: > > Yes, the alerts were there just to illustra

[Lift] Re: Strange Comet Behavior

2009-05-11 Thread Bryan.
Yes, the alerts were there just to illustrate that I am trying to push some JavaScript objects over the wire. In my project code I also have additional methods that will be called on these objects (i.e. sorting, pagination, etc...) that make it faster for the client end if I just use these object

[Lift] Re: Strange Comet Behavior

2009-05-11 Thread David Pollak
On Mon, May 11, 2009 at 3:08 PM, Bryan. wrote: > > Hi David, > > Is it possible that the partialUpdate is being called before the page > is ready? Yes. Doing alerts in partial updates is not optimal. I'd suggest doing all the drawing via HTML. You can do a partial update in a way that it wil

[Lift] Re: Strange Comet Behavior

2009-05-11 Thread Bryan.
Hi David, Is it possible that the partialUpdate is being called before the page is ready? It works fine if I put Thread.sleep(1000) after the case Results. Thanks, Bryan On May 11, 5:21 pm, David Pollak wrote: > Try putting the "this.start" at the end of the Actor body... I think the > start

[Lift] Re: Strange Comet Behavior

2009-05-11 Thread David Pollak
Try putting the "this.start" at the end of the Actor body... I think the start method is being called prematurely. On Mon, May 11, 2009 at 1:14 PM, Bryan. wrote: > > I posted this message through the Google Groups interface and was > forced to upload to http://groups.google.com/group/liftweb/fi

[Lift] Re: Strange Comet Behavior

2009-05-11 Thread Bryan.
I posted this message through the Google Groups interface and was forced to upload to http://groups.google.com/group/liftweb/files?hl=en. Sorry about the confusion. --Bryan On May 11, 4:01 pm, David Pollak wrote: > You didn't include the code... :-( > > > > On Mon, May 11, 2009 at 12:18 PM, Bry

[Lift] Re: Strange Comet Behavior

2009-05-11 Thread David Pollak
You didn't include the code... :-( On Mon, May 11, 2009 at 12:18 PM, Bryan wrote: > > This could be a result of my strange usage of comet actors, but I'm > getting incosistent comet behavior. When run in windows + jetty I > have no problems. In linux + jetty, subsequent requests fail. I'll >