what version of wicket are you using?
see IPageSettings.setAutomaticMultiWindowSupport(boolean)

-igor




On 6/29/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
wrote:

Hi guys, I have the following task. I'm building a simple calculation
page, but for sake of simplicity lets say I'm doing the adding link sample
we all know.

I might need to be able to open two browsers or tabs to be able to do
parallel calculations and compare both results. Lets say click 3 times on
the link and have *3* on one window/tab and click 4 times in the other one
and have *4*, instead of 7 which is the default behavior.


Know this point its kind of arguable, so I need to find ways to both doit
and may be recommend against it as it may not be a good practice.

To put this in a concrete question:

Is it possible to handle each instance of a browser (Being this a window,
either a new tab or new window, or even a new process)  like a new session
instance?

To do a little test I built a small application with only a home page that
prints out a UUID randomly generated in my MyWicketSession. Very simple
code, in the session constructor:

this.UUID=uuid = UUID.randomUUID().toString();

and in the Home page

*info*(getMyWicketSession().getUUID());

This generates the same value when I hit a new tab and enter the URL or
when I ask the browser for a new Window.

This must be the correct behavior and I have nothing against it, but can I
have independent state management. I don't want to go sessionless.


Best regards,
f(t)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to