On 10/22/07, Michael Sparer <[EMAIL PROTECTED]> wrote: > > > Hi, > > today I wondered if there's a wicket-approach for pushing messages from > the > server to the client (also called reverse ajax or pushlets). Well yes, > there > is one called wicketstuff push. I looked at its examples and soon managed > to > implement my own pushing stuff. In the examples (chat-example) however, > the > ChannelService that delivers the messages to its listeners, is stored in > the > application. I.e. there is only one channel for the whole application. > Now imagine I want to create an additional private-chat-room for two users > --> I'd need a ChannelService only for two users. So my question is: > what's > the wicket way to pass and store such an object which is applicable only > for > two users (sessions)?
You can use an application wide ChannelService and use the channel name ("chat/message" in the example) to isolate messages by private-chat-room. Xavier Thanks in advance > > Michael > > -- > View this message in context: > http://www.nabble.com/wicketstuff-push-and-sharing-an-IChannelService-tf4671463.html#a13345278 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/