if the scope of your conversation is a browser window then its the best choice.

-igor

On Wed, Jun 17, 2009 at 11:45 AM, Joe Fawzy<joewic...@gmail.com> wrote:
> Hi dearthanks for the reply and for the code snippet
> But, do u think that using pageMap is reliable or what....
> i mean , is using pageMap is a good solution or just a hack, work around
> thanks
> Joe
>
> On Wed, Jun 17, 2009 at 8:58 PM, Igor Vaynberg <igor.vaynb...@gmail.com>wrote:
>
>> 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
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to