> 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
>
The javascript sets the location to
http://localhost:8080/amadeos/quote/fct?wicket:pageMapName=wicket-0&id=1.
The new rendered pages does the same - so result is the page is
"refreshing" indefinetely (caused by javascript). It hapens only when
another mounted page (with different mount url !) is opened at same time.
If I close the different previously opened page, the page "refreshing"
stops. I've even tried to use different pagemap
(http://localhost:8080/amadeos/quote/fct?wicket:pageMapName=testPageMap&id=1)
but it is still not working.

I try to debug it, but did not find it out - seems to me it has to do
something with pagemap name resolving in request decoding ...
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

Reply via email to