class mysession extends websesison { private map<string, map<object,object>> coversations;
public map<object,object> getconversation(ipagemap pmap) { return conversations.get(pmap.getid()); } } -igor On Wed, Jun 17, 2009 at 10:29 AM, Joe Fawzy<joewic...@gmail.com> wrote: > Hi alli need to implement something like a conversation scope in wicket > i know that wicket is stateful by default and i can pass object o from page > A -> page B > But if Object o in page A which -> page B -> page C -> page D -> page E > and i need Object o in page E ,that will be very tedious to pass o all > throught the way from A ----> ..E > also if i need to pass a large number of objects between a set of pages > ,this will be a nightmare > > so How can i implement a Conversation object ala Session and store these > objects there > > i thought of using the IPageMap as a key in this situation as it represent > an open browser window or tab ie. conversation, but in a previous mail ,i > 've been tald that it cannot be extended easily, and i cannot provide my own > factory for one > > so, any ideas about the conversation scope? > what do u think about the pageMap ? will it work? is it reliable? > can the core team provide some hooks to implement something like > IPageMapFactory? > > thanks > Joe > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org