Package com.ateam.webstore.ui.views

Examples of com.ateam.webstore.ui.views.RegistrationView


   * @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;
   
  }
View Full Code Here




    public RegistrationView getAdminAddEmployeeView(String string) {
     
      RegistrationView aeav = new RegistrationView(getMainAdminView());
     
      aeav.addContentView(new ContentView(JSP_REGISTRATION, "New Employee"));
     
      aeav.setAdmin(true);
     
      RoleService rs = new RoleService();
      aeav.setRoles(rs.getAll());
     
      return aeav;
    }
View Full Code Here

TOP

Related Classes of com.ateam.webstore.ui.views.RegistrationView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.