Hi,
Unfortunately, not really. Now I don't rely on the wizard's events
anymore and use a regular link instead, this works better
If you find a way to make a clean redirection from inside
onActiveStepChanged, I'll highly appreciate it ;)
jorgesantoro wrote:
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]