Re: [Wicket-user] How to manage state / session for different windows/tabs

2007-08-01 Thread Francisco Diaz Trepat - gmail
Recien llego. te trato de llamar mas tarde. no pude llegar antes.

On 6/29/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
wrote:
>
> Thanks Matej I'll check it out. I am building the sample right now to get
> a more real experience.
>
> f(t)
>
>
> On 6/29/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
> >
> > Err, the fact is, it turned out that there are some flaws considering
> > multi window support and secondlevelcachesessionstore (default). So in
> > case you are experiencing any problems, you should turn on multiwindow
> > support (manually) even for SecondLevelCacheSessionStore.
> >
> > -Matej
> >
> > On 6/29/07, Francisco Diaz Trepat - gmail
> > < [EMAIL PROTECTED]> wrote:
> > > Excelent.
> > >
> > > Thanks Igor.
> > >
> > >
> > > On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On 6/29/07, Francisco Diaz Trepat - gmail <
> > > [EMAIL PROTECTED]> wrote:
> > > >
> > > > >
> > > > > I think you misunderstood. First of all, I don't have any
> > problems.
> > > > >
> > > > > Is just a question, that is intended to get insight in this
> > matter.
> > > > >
> > > > > If you have an adding link like the one in the samples. And click
> > it any
> > > number of times, it adds +1, the number of times you click on it.
> > > > >
> > > > > If you click 3 times, you get a 3. Then if you open a new tab, and
> > click
> > > on the link on the new tab, you get 4. not 3. Again, to dissipate
> > > confusions, I don't think that is wrong at all. But I was just asking
> > if it
> > > is possible to have multiple states in multiple tabs.
> > > >
> > > >
> > > > the answer is yes, and it is also transparent - eg you dont have to
> > do
> > > anything as long as you use default page store
> > > >
> > > > if you use sessionstore then you need to turn on that setting i told
> > you
> > > about.
> > > >
> > > > -igor
> > > >
> > > >
> > > >
> > > >
> > > > >
> > > > >
> > > > > thanks,
> > > > >
> > > > > f(t)
> > > > >
> > > > >
> > > > >
> > > > > On 6/29/07, Matej Knopp <[EMAIL PROTECTED] > wrote:
> > > > > > It is possible what you have one page instance/version opened in
> > three
> > > > > > tabs. How does the link you are clicking on when creating new
> > tabs
> > > > > > look like?
> > > > > >
> > > > > > -Matej
> > > > > >
> > > > > > On 6/29/07, Francisco Diaz Trepat - gmail
> > > > > > <[EMAIL PROTECTED] > wrote:
> > > > > > > 1.3 incubator beta and currently STILL drooling for the beta
> > 2.
> > > > > > >
> > > > > > > I'll check it out. Thanks igor.
> > > > > > >
> > > > > > >
> > > > > > > On 6/29/07, Igor Vaynberg < [EMAIL PROTECTED] > wrote:
> > > > > > > > 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
> > s

Re: [Wicket-user] How to manage state / session for different windows/tabs

2007-06-29 Thread Francisco Diaz Trepat - gmail

Thanks Matej I'll check it out. I am building the sample right now to get a
more real experience.

f(t)


On 6/29/07, Matej Knopp <[EMAIL PROTECTED]> wrote:


Err, the fact is, it turned out that there are some flaws considering
multi window support and secondlevelcachesessionstore (default). So in
case you are experiencing any problems, you should turn on multiwindow
support (manually) even for SecondLevelCacheSessionStore.

-Matej

On 6/29/07, Francisco Diaz Trepat - gmail
<[EMAIL PROTECTED]> wrote:
> Excelent.
>
> Thanks Igor.
>
>
> On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> >
> > On 6/29/07, Francisco Diaz Trepat - gmail <
> [EMAIL PROTECTED]> wrote:
> >
> > >
> > > I think you misunderstood. First of all, I don't have any problems.
> > >
> > > Is just a question, that is intended to get insight in this matter.
> > >
> > > If you have an adding link like the one in the samples. And click it
any
> number of times, it adds +1, the number of times you click on it.
> > >
> > > If you click 3 times, you get a 3. Then if you open a new tab, and
click
> on the link on the new tab, you get 4. not 3. Again, to dissipate
> confusions, I don't think that is wrong at all. But I was just asking if
it
> is possible to have multiple states in multiple tabs.
> >
> >
> > the answer is yes, and it is also transparent - eg you dont have to do
> anything as long as you use default page store
> >
> > if you use sessionstore then you need to turn on that setting i told
you
> about.
> >
> > -igor
> >
> >
> >
> >
> > >
> > >
> > > thanks,
> > >
> > > f(t)
> > >
> > >
> > >
> > > On 6/29/07, Matej Knopp <[EMAIL PROTECTED] > wrote:
> > > > It is possible what you have one page instance/version opened in
three
> > > > tabs. How does the link you are clicking on when creating new tabs
> > > > look like?
> > > >
> > > > -Matej
> > > >
> > > > On 6/29/07, Francisco Diaz Trepat - gmail
> > > > <[EMAIL PROTECTED] > wrote:
> > > > > 1.3 incubator beta and currently STILL drooling for the beta 2.
> > > > >
> > > > > I'll check it out. Thanks igor.
> > > > >
> > > > >
> > > > > On 6/29/07, Igor Vaynberg < [EMAIL PROTECTED] > wrote:
> > > > > > 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
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >

Re: [Wicket-user] How to manage state / session for different windows/tabs

2007-06-29 Thread Matej Knopp
Err, the fact is, it turned out that there are some flaws considering
multi window support and secondlevelcachesessionstore (default). So in
case you are experiencing any problems, you should turn on multiwindow
support (manually) even for SecondLevelCacheSessionStore.

-Matej

On 6/29/07, Francisco Diaz Trepat - gmail
<[EMAIL PROTECTED]> wrote:
> Excelent.
>
> Thanks Igor.
>
>
> On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> >
> > On 6/29/07, Francisco Diaz Trepat - gmail <
> [EMAIL PROTECTED]> wrote:
> >
> > >
> > > I think you misunderstood. First of all, I don't have any problems.
> > >
> > > Is just a question, that is intended to get insight in this matter.
> > >
> > > If you have an adding link like the one in the samples. And click it any
> number of times, it adds +1, the number of times you click on it.
> > >
> > > If you click 3 times, you get a 3. Then if you open a new tab, and click
> on the link on the new tab, you get 4. not 3. Again, to dissipate
> confusions, I don't think that is wrong at all. But I was just asking if it
> is possible to have multiple states in multiple tabs.
> >
> >
> > the answer is yes, and it is also transparent - eg you dont have to do
> anything as long as you use default page store
> >
> > if you use sessionstore then you need to turn on that setting i told you
> about.
> >
> > -igor
> >
> >
> >
> >
> > >
> > >
> > > thanks,
> > >
> > > f(t)
> > >
> > >
> > >
> > > On 6/29/07, Matej Knopp <[EMAIL PROTECTED] > wrote:
> > > > It is possible what you have one page instance/version opened in three
> > > > tabs. How does the link you are clicking on when creating new tabs
> > > > look like?
> > > >
> > > > -Matej
> > > >
> > > > On 6/29/07, Francisco Diaz Trepat - gmail
> > > > <[EMAIL PROTECTED] > wrote:
> > > > > 1.3 incubator beta and currently STILL drooling for the beta 2.
> > > > >
> > > > > I'll check it out. Thanks igor.
> > > > >
> > > > >
> > > > > On 6/29/07, Igor Vaynberg < [EMAIL PROTECTED] > wrote:
> > > > > > 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
> > > > > > Dow

Re: [Wicket-user] How to manage state / session for different windows/tabs

2007-06-29 Thread Francisco Diaz Trepat - gmail

Excelent.

Thanks Igor.


On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


On 6/29/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]>
wrote:
>
> I think you misunderstood. First of all, I don't have any problems.
>
> Is just a question, that is intended to get insight in this matter.
>
> If you have an adding link like the one in the samples. And click it any
> number of times, it adds +1, the number of times you click on it.
>
> If you click 3 times, you get a 3. Then if you open a new tab, and click
> on the link on the new tab, you get 4. not 3. Again, to dissipate
> confusions, I don't think that is wrong at all. But I was just asking if it
> is possible to have multiple states in multiple tabs.
>

the answer is yes, and it is also transparent - eg you dont have to do
anything as long as you use default page store

if you use sessionstore then you need to turn on that setting i told you
about.

-igor




 thanks,
>
> f(t)
>
>
>  On 6/29/07, Matej Knopp <[EMAIL PROTECTED] > wrote:
> >
> > It is possible what you have one page instance/version opened in three
> > tabs. How does the link you are clicking on when creating new tabs
> > look like?
> >
> > -Matej
> >
> > On 6/29/07, Francisco Diaz Trepat - gmail
> > <[EMAIL PROTECTED] > wrote:
> > > 1.3 incubator beta and currently STILL drooling for the beta 2.
> > >
> > > I'll check it out. Thanks igor.
> > >
> > >
> > > On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED] > wrote:
> > > > 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
> > > >
> > > >
> > >
> > >
> > >
> > -
> > > 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

Re: [Wicket-user] How to manage state / session for different windows/tabs

2007-06-29 Thread Igor Vaynberg

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


I think you misunderstood. First of all, I don't have any problems.

Is just a question, that is intended to get insight in this matter.

If you have an adding link like the one in the samples. And click it any
number of times, it adds +1, the number of times you click on it.

If you click 3 times, you get a 3. Then if you open a new tab, and click
on the link on the new tab, you get 4. not 3. Again, to dissipate
confusions, I don't think that is wrong at all. But I was just asking if it
is possible to have multiple states in multiple tabs.



the answer is yes, and it is also transparent - eg you dont have to do
anything as long as you use default page store

if you use sessionstore then you need to turn on that setting i told you
about.

-igor




thanks,


f(t)


On 6/29/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
>
> It is possible what you have one page instance/version opened in three
> tabs. How does the link you are clicking on when creating new tabs
> look like?
>
> -Matej
>
> On 6/29/07, Francisco Diaz Trepat - gmail
> <[EMAIL PROTECTED]> wrote:
> > 1.3 incubator beta and currently STILL drooling for the beta 2.
> >
> > I'll check it out. Thanks igor.
> >
> >
> > On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > 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
> > >
> > >
> >
> >
> >
> -
> > 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. J

Re: [Wicket-user] How to manage state / session for different windows/tabs

2007-06-29 Thread Francisco Diaz Trepat - gmail

I think you misunderstood. First of all, I don't have any problems.

Is just a question, that is intended to get insight in this matter.

If you have an adding link like the one in the samples. And click it any
number of times, it adds +1, the number of times you click on it.

If you click 3 times, you get a 3. Then if you open a new tab, and click on
the link on the new tab, you get 4. not 3. Again, to dissipate confusions, I
don't think that is wrong at all. But I was just asking if it is possible to
have multiple states in multiple tabs.

thanks,

f(t)


On 6/29/07, Matej Knopp <[EMAIL PROTECTED]> wrote:


It is possible what you have one page instance/version opened in three
tabs. How does the link you are clicking on when creating new tabs
look like?

-Matej

On 6/29/07, Francisco Diaz Trepat - gmail
<[EMAIL PROTECTED]> wrote:
> 1.3 incubator beta and currently STILL drooling for the beta 2.
>
> I'll check it out. Thanks igor.
>
>
> On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > 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
> >
> >
>
>
>
-
> 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

-
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/__

Re: [Wicket-user] How to manage state / session for different windows/tabs

2007-06-29 Thread Matej Knopp
It is possible what you have one page instance/version opened in three
tabs. How does the link you are clicking on when creating new tabs
look like?

-Matej

On 6/29/07, Francisco Diaz Trepat - gmail
<[EMAIL PROTECTED]> wrote:
> 1.3 incubator beta and currently STILL drooling for the beta 2.
>
> I'll check it out. Thanks igor.
>
>
> On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > 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
> >
> >
>
>
> -
> 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


Re: [Wicket-user] How to manage state / session for different windows/tabs

2007-06-29 Thread Francisco Diaz Trepat - gmail

1.3 incubator beta and currently STILL drooling for the beta 2.

I'll check it out. Thanks igor.

On 6/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:


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


-
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


Re: [Wicket-user] How to manage state / session for different windows/tabs

2007-06-29 Thread Igor Vaynberg

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


[Wicket-user] How to manage state / session for different windows/tabs

2007-06-29 Thread Francisco Diaz Trepat - gmail

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