and a small addendum

the pagemap with a specific name can be obtained via a call to PageMap.forName("desired name of pagemap");

-Igor


On 6/13/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
for others not in ##wicket:

the pagemap in the bookmarkable url can be get through the RequestCycle.urlFor(PageMap,Class,Params) method call
give a pagemap there and the url will contain the pagemap param that will be used to hold the page in when it is clicked.

if you don't do that then the default pagemap is used where also other pages are already in.
And because we need to clean up pages we use a access stack in the pagemap
so the last one used is at the top of the stack. That could be the registration page that was opend by the email.
then the other page which is still open in another browser is also on the stack (top -1)
if you then access that page. We will throw away the top of the stack (just like a Browser history will do)
But you had opend that specific page in another browser so when you go back to that and try to access it
a page expire will happen because the page is not there anymore on the server.

in 2.0 this is fixed by default because we don't use the AccessStackPagemap anymore but a other kind of store
with an 'unlimmited' page store (we use disk)

johan


On 6/13/06, Gianugo Rabellino < [EMAIL PROTECTED]> wrote:

On Jun 13, 2006, at 9:40 PM, Johan Compagner wrote:

> disable multi window support like Matej is telling you.

Yep, that indeed helped, thank Matej!

> But that will cause problems
> for you because then you can have suddenly expired pages..
>
> That external link you give in a email should have a pagemap in the
> url. (like emailConfermation)
> Then you don't have that problem.


Thanks. Care to spend a few words on what are the cases I would get
sudden expirations and how can I attach a pagemap to the URL?

--
Gianugo



_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to