Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-15 Thread Jonathan Locke
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

Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-15 Thread Johan Compagner
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

Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-14 Thread Erik van Oosten
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

Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-14 Thread Igor Vaynberg
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

Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-14 Thread Igor Vaynberg
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,

Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-14 Thread Wouter de Vaal
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

Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-14 Thread Igor Vaynberg
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

Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-14 Thread Erik van Oosten
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