if (urlTarget.terminatesWizard()) {
response = terminateWizard(wizard, requestContext);
}
if (response == null) {
String redirectComponentName = AWRedirect.class.getName();
AWRedirect redirect =
(AWRedirect)(pageWithName(redirectComponentName, requestContext));
String exitUrl = urlTarget.getUrl();
redirect.setUrl(exitUrl);
response = redirect;
}
return response;
}