> 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 >
Regarding pageMap name, something is probably wrong: in the class wicket.protocol.http.request.WebRequestCodingStrategy the method public final RequestParameters decode(final Request request) removes wicket:xxx parametes (that means even i pageMapName parameter, which is needed later in class BookmarkablePageRequestTargetUrlCodingStrategy.decode ... final String pageMapName = (String)parameters.remove(WebRequestCodingStrategy.PAGEMAP) - that is "wicket:pageMapName" - which was alredy removed from parameters .. Method from addBookmarkablePageParameters is looking for different string (not mounted page ...) saki > [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 > _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop