[Lift] Re: Comet question

2008-11-12 Thread Francois Bertrand
David > If it's the latter, I'd use the "name" attribute in name="LiftChatRoom"/> to pass the information. Lift creates a separate > CometActor instance for each different name. Thus, you can have 5 > CometActors for 5 different chat rooms as long as they have a unique name. Yes. This is my c

[Lift] Re: Comet question

2008-11-12 Thread David Pollak
Do you want one chat room per instance (but you get to choose the chat room) or do you want to have many chat room comet actors? If it's the former, I'd set up a SessionVar with the current chat room. The CometActor would access that SessionVar during initialization and choose the chat room based