If I use referenceData in my SimpleFormController then I get the dreaded
The only way I've figured out how to get rid of this is to not use referenceData and instead have a showForm method and in it create a ModelAndView with 3 args:Neither Errors instance nor plain target object for bean name 'adminForm' available as request attributeMy constructor is setting the command class:Code:ModelAndView mav = new ModelAndView(getFormView(), "adminForm", new AdminForm());What am I doing wrong?Code:public AdminCtlr() { setCommandClass(AdminForm.class); setFormView("admin"); setSuccessView("redirect:admin_history.html"); }


Reply With Quote