Hi

Would be another possibility, but it doesn't change nothing at all - I still get the page expired thingy, which I also really would expect in this case... It works if I use a bookmarkable page, but I dont want a fixed URL on the confirmation page which displays dynamic data from the wizard....

Thanks

Matt

Nino Saturnino Martinez Vazquez Wael wrote:
Hmm why not to it org.apache.wicket.extensions.wizard.Wizard#onFinish() .. ?

Matthias Keller wrote:
Hi

I've got a wizard letting the user enter some information.
In the onFinish() method, I redirect him to my ConfirmationPage:
setResponsePage(new ConfirmationPage());
(I chose the instance method instead of the class method as I don't want to have a bookmarkable page there)

On the ConfirmationPage I need access to the session a last time to display a message like:
"Thank you Mr XXX, you'll hear from us soon"

After that I want to invalidate my session so that all the wizard pages are becoming inaccessible (I have to set them to versioned as the customer wants back button support inside the wizard...). Unfortunately, when I call getSession().invalidate(); anywhere in my ConfirmationPage (be it the constructor, onAfterRender() or even onDetach()), I'll never see the ConfirmationPage as I get the Page Expired message instead.... How can I achieve the destruction of the session (and thus the pages) but still display this one last page? Reloading this confirmation page may give the Page Expired message, I dont care.

Thanks

Matt




--
[EMAIL PROTECTED]  +41 44 268 83 98
Ergon Informatik AG, Kleinstrasse 15, CH-8008 Zürich
http://www.ergon.ch
______________________________________________________________
e r g o n    smart people - smart software


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to