* @param message
* @param form
* @return
*/
public RegistrationView getRegistrationView(String message, RegistrationForm form) {
RegistrationView r = new RegistrationView(getMainView());
SecurityQuestionHandler sech = new SecurityQuestionHandler(req);
r.setSecurityQuestions(sech.getSecurityQuestions());
if (message != null) {
r.setMessage(message);
}
r.setForm(form);
r.setShowVisitorInfo(false);
r.addContentView(new ContentView(JSP_REGISTRATION, "Register"));
return r;
}