I'm also getting this and I don't have multiple windows open. Is this a bug
in the new browser window check?
Johan Compagner wrote:
i think in 2.0 the newBrowserWindow check is still enabled.
this makes sure that for one pagemap only one window is open.
If the checker finds another tab
but you are using the latest wicket code of 1.3 yes?
and the default second level cache?
then it should be disabled by default.
johan
On 5/15/07, Jonathan Locke [EMAIL PROTECTED] wrote:
I'm also getting this and I don't have multiple windows open. Is this a
bug
in the new browser window
Wouter,
To complete Johan: the newBrowserWindow check can detect that a page is
opened in another browser window/tab then the page it was opened from. When
this happens, a new pagemap is created.
@Johan, how does Wicket detect a new browser window/tab in 1.3?
Regards,
Erik.
Johan
we use a javascript trick. when a page loads into the window for the first
time it sets the window.name variable to something other then null. in new
windows this var is always initialized to null, so if we do a request and
see that it is null we know a new window/tab has been opened.
-igor
On
it is the same trick. he said its only turned off when only when you use
second level cache - the reason being that second level cache keeps a
complete clone of the page instead of the usual page+undo history.
lets say you open page A(0) in tab1, 0 being the version number. you click a
link,
Hi Igor,
I now understand why it's behaving as it is, but what do you exactly
mean by A'-A''? That you are using the same objects whichever tab you
click?
And when I revert back to the current 1.3 built, will this cache be on
be default, or do I need to do something extra?
Thanks,
Wouter
On
no, A' and A'' are completely separate objects. they are snapshots of what
started out as being the same page A.
-igor
On 5/14/07, Wouter de Vaal [EMAIL PROTECTED] wrote:
Hi Igor,
I now understand why it's behaving as it is, but what do you exactly
mean by A'-A''? That you are using the
igor.vaynberg wrote:
hope this explains it.
-igor
With the addition that A' is a clone of A, it does.
Thanks Igor.
--
View this message in context:
http://www.nabble.com/weird-url-behaviour-for-bookmarkable-pages-tf3752813.html#a10609207
Sent from the Wicket - User mailing list