Re: Links with old PageID do not work

2012-03-08 Thread André Schütz
Hi, I will check this once more. If I can not find a solution, I will create a quickstart for further debugging. Andre Original-Nachricht > Datum: Thu, 8 Mar 2012 09:24:55 +0200 > Von: Martin Grigorov > An: users@wicket.apache.org > Betreff: Re: Links with old P

Re: Links with old PageID do not work

2012-03-07 Thread Martin Grigorov
Hi, The debug statement in your page's constructor wont show anything. At this time the page is not rendered yet and the value will be the initial one - 0. You need to put a breakpoint at org.apache.wicket.Page#renderPage() and see why it is being incremented second time. Or just create a ticket

Re: Links with old PageID do not work

2012-03-07 Thread Andre Schütz
Anybody any idea? On Tue, 6 Mar 2012 22:17:10 +0100 Andre Schütz wrote: > Hi, > > I tested my application and checked for the renderCount variable. I made a > breakpoint and checked the variable in the Debugger. Surprisingly, the > renderCount variable was not increased and remained 0 during th

Re: Links with old PageID do not work

2012-03-06 Thread Andre Schütz
Hi, I tested my application and checked for the renderCount variable. I made a breakpoint and checked the variable in the Debugger. Surprisingly, the renderCount variable was not increased and remained 0 during the whole test. To verify my result, I made a System.out.println in the constructor of

Re: Links with old PageID do not work

2012-03-05 Thread Martin Grigorov
2012/3/5 Andre Schütz : > Hi, > > thank you for the answer. I will test this and reply with my results. > > I have three questions depending on the test you have mentioned. > > (1) > Can you tell me more about this o.a.w.Page? I did not really find > something about it. org.apache.wicket.Page > >

Re: Links with old PageID do not work

2012-03-05 Thread Andre Schütz
Hi, thank you for the answer. I will test this and reply with my results. I have three questions depending on the test you have mentioned. (1) Can you tell me more about this o.a.w.Page? I did not really find something about it. (2) Can you explain me a little bit more in detail, what I should

Re: Links with old PageID do not work

2012-03-04 Thread Martin Grigorov
Hi, It sounds to be related to Page#renderCount. 'renderCount' is used to prevent using an obsolete version of a page instance. I.e. a page with a given page id counts how many times it has been rendered. If you have a tab/window which contains an earlier version of that page and you click on it t

Links with old PageID do not work

2012-03-04 Thread Andre Schütz
Hello, i have a question about the behavior of links in two tabs. I have an application that I opened in two tabs. In Tab1, I make a submit from Page1 and get Page2. At the same time, I make a submit in Tab2 from Page1 to Page2. The two pages with the name Page2 in the two tabs display the resul