[Lift] Re: Sermo, persistent comet chat example

2009-09-17 Thread Bjarte Stien Karlsen
Hello list, Since I am presenting this Sermo example to an audience I want to understand how to flow of it works in more detail. When a new Chat CometActor is created it does the following 1. calls LocalSetup that register it with the ChatServer. 2. ChatServer then sends back the messages that

[Lift] Re: Sermo, persistent comet chat example

2009-09-14 Thread David Pollak
On Mon, Sep 14, 2009 at 1:18 PM, Bjarte Stien Karlsen bjarte.stien.karl...@gmail.com wrote: Hello lifted, Today i created Sermo [1] as the title says a persistent comet based chat example. I copied code from demo.liftweb.net/chat and modified to support - user's firstname + lastname is

[Lift] Re: Sermo, persistent comet chat example

2009-09-14 Thread Bjarte Stien Karlsen
Hello David, Thanks for your comments. So you mean that instead of using m.id.obj then I should fetch all users in a map and lookup in that instead? mvh Bjarte On Mon, Sep 14, 2009 at 10:39 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Sep 14, 2009 at 1:18 PM, Bjarte Stien

[Lift] Re: Sermo, persistent comet chat example

2009-09-14 Thread David Pollak
On Mon, Sep 14, 2009 at 2:17 PM, Bjarte Stien Karlsen bjarte.stien.karl...@gmail.com wrote: Hello David, Thanks for your comments. So you mean that instead of using m.id.obj then I should fetch all users in a map and lookup in that instead? import mapper._ private var chats:

[Lift] Re: Sermo, persistent comet chat example

2009-09-14 Thread Bjarte Stien Karlsen
Thanks, I googled a little bit and found this sollution myself as well :) Will push it to github any minute now. mvh Bjarte On Mon, Sep 14, 2009 at 11:42 PM, David Pollak feeder.of.the.be...@gmail.com wrote: On Mon, Sep 14, 2009 at 2:17 PM, Bjarte Stien Karlsen