I am sorry for "stupid" question again. But, may be, someone can explain to
me what is (or give a pointer to) the "right" strategy for dealing with
these problems (or, in johan's words - for "using pagemaps correctly").
Again, we think we have a pretty simple case here, with page versioning
turned off...

Thanks in advance,
Bob


Johan Compagner wrote:
> 
> how do you see version 2 of that page??
> where do you see the 2 in the link.
> 
> this:
> 
> /servletMap?wicket:interface=wicket-0:1:loginLink::ILinkListener
> 
> is not version 1! it is page number 1 with version 0.
> 
> I think your problem is that your are showing dialogs and other stuff
> without
> using pagemaps correctly. So the page is expired because wicket thinks
> that
> it can clean it up.
> 
> johan
> 
> 
> 
> 
> 
> 
> 
> On 2/16/07, beboris <[EMAIL PROTECTED]> wrote:
>>
>>
>> We have a central WebPage, which is not supposed to be versioned.
>>
>> So, we call setVersioned(false) in all constructors for that WebPage, and
>> Wicket, indeed, has only one version for that page, version number 1.
>>
>> However, it looks like somehow there is a logic inside the framework,
>> which
>> is not aware of the fact that the page is not versioned.
>>
>> Namely, when we click on some links
>> (/servletMap?wicket:interface=wicket-0:1:loginLink::ILinkListener) on
>> other
>> pages, or even simply closing modal dialog boxes on that central WebPage,
>> we
>> get "Page expired".
>>
>> Further analysis shows that when the code like that
>>      page.setResponsePage(new FNMyPhotosWebPage());
>> is executed inside our code (processing link click for example), Wicket
>> somehow creates a reference to the version number 2 of that WebPage, and
>> -
>> obviously - it causes "Page expired", as the version number 2 has never
>> been
>> created in the first place.
>>
>> We use Wicket version 1.2.4 .
>>
>> Are we missing something? Or is it a bug? What can we do to troubleshoot
>> this problem? Please, give us a hint...
>>
>> Thanks in advance,
>> Bob.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Version%3E1-and-%22Page-expired%22-despite-setVersioned%28false%29-call-in-a-WebPage-constructor-tf3236733.html#a8995918
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Version%3E1-and-%22Page-expired%22-despite-setVersioned%28false%29-call-in-a-WebPage-constructor-tf3236733.html#a9023465
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to