This is for wicket to properly support multiple tabs/windows. If you open a link in new tab / window, page should be stored in different pagemap. Does the javascript cause you any problems?
-Matej [EMAIL PROTECTED] wrote: > Hello, > I'm currently working on project where are integrated wicket(version 1.2) > with existing servlets producing html lists. From the list we are opening > wicket form > using link http://localhost:8080/amadeos/fa/fct?id=2. Form is mounted to > that url and it works. But sometimes happens (especially with multiple > windows) than the opened page gets rendered in some kind of redirect > cycle, it renders again and again, blank page displayed. In the browser is > the url changed to > http://localhost:8080/amadeos/quote/fct?wicket:pageMapName=wicket-0&id=1 > and if I look to the generated source code of page, I see following > javascript, which is setting browser location: > > <script type="text/javascript" > src="/amadeos/quote/resources/wicket.markup.html.WebPage/cookies.js"></script> > <script type="text/javascript"><!--//--><![CDATA[//><!-- > var pagemapcookie = getWicketCookie('pm-null/amadeoswicket_servlet'); > if(!pagemapcookie && pagemapcookie != > '1'){setWicketCookie('pm-null/amadeoswicket_servlet',1);} > else {document.location.href = > '/amadeos/quote/fct?wicket:pageMapName=wicket-0&id=1';} > > //--><!]]></script> > > > Any clue where is the problem, what I do wrong ? > > Thanx for any ideas. > > saki > > > > > > > _______________________________________________ > Wicket-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop > _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop