[Lift] Re: Sense check please!

2009-07-13 Thread David Pollak
Tim, I would avoid any and all globals. I'd strongly suggest finding a way to do things with sessions. There's no way to push an ad hoc CometActor to the browser. CometActors must be on the page at full page-load time. They can be hidden and dormant, but they must be on the page. I'd opt for

[Lift] Re: Sense check please!

2009-07-13 Thread Timothy Perrett
Hey David, Yeah - before Marius replied, I was not aware the same method existed on LiftSession; my bad. Anywho... what are you thinking on Marius' suggestion about using localSetup in a comet actor? I think that should negate the issues with the comet actor being placed on the page

[Lift] Re: Sense check please!

2009-07-13 Thread David Pollak
On Mon, Jul 13, 2009 at 9:42 AM, Timothy Perrett timo...@getintheloop.euwrote: Hey David, Yeah - before Marius replied, I was not aware the same method existed on LiftSession; my bad. Anywho... what are you thinking on Marius' suggestion about using localSetup in a comet actor? I think

[Lift] Re: Sense check please!

2009-07-12 Thread marius d.
Why not use the progessListener from the LiftSession ? Br's, Marius On Jul 12, 9:57 pm, Timothy Perrett timo...@getintheloop.eu wrote: Hey guys, Implementing this upload progress widget with comet, I just wanted a quick sense check about how to organize things. As the CometActor for a

[Lift] Re: Sense check please!

2009-07-12 Thread Timothy Perrett
Right... I haven't tried / tested anything yet... This was just for illustration and nothing more. Cheers, Tim Sent from my iPhone On 12 Jul 2009, at 21:58, Naftoli Gugenhem naftoli...@gmail.com wrote: Why are you mapping it, and why are you opening it, and why are you using a default