I have the same problem, did you find a solution for it?
Thanks
Pills wrote:
>
> Hello,
>
> I've a little problem with wicket. I'm trying to debug the following use
> case:
>
> In a wizard, I sometimes need to redirect the user to a page outside the
> wizard (that is: quit the wizard). I use the standard "setResonsePage"
> method with my page class, on the "onActivenStepChanged" event.
>
> #onActiveStepChanged
> ...
> if (lastStep instanceof ChooseLoginMode &&
> "createaccount".equals(clm.loginmode)) {
> ((WizardModel)getWizardModel()).setActiveStep(lastStep); // Doesn't
> work...
> *setResponsePage(PageSubscribe.class); *// backbutton gets messed
> or
> *redirectToInterceptPage(new PageSubscribe());* // idem
> }
>
> But when the user click to the browser's backbutton, the wizard isn't in
> a correct state. It display the step #1 but its model and logic is for
> step #2, or even more weird state...
>
> What would be your advice to fix that kind of issue? Any idea are
> welcome (this appened at least 4 times the two past days on our
> production machine) ;)
>
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
View this message in context:
http://www.nabble.com/Wizard-and-redirect-to-a-Page-%2B-backbutton-tp19310387p21317164.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]