/** * This is called prior to displaying a form for the first time. It tells Spring the form/command * object to load into the request * * @see * org.springframework.web.servlet.mvc.AbstractFormController#formBackingObject(javax.servlet.http.HttpServletRequest) */ protected Object formBackingObject(HttpServletRequest request) throws ServletException { // default empty Object List<ConceptClass> conceptClassList = new Vector<ConceptClass>(); // only fill the Object if the user has authenticated properly if (Context.isAuthenticated()) { ConceptService cs = Context.getConceptService(); conceptClassList = cs.getAllConceptClasses(); } return conceptClassList; }