From my controller, I installed my model and looked like:
ModelAndView mav = new ModelAndView();
mav.setView("index");
mav.addObject("user", user);
mav.addObject("someCollection", someCollection);
return mav;
Now I want to create a helper object that will accept someCollection and a custom object as parameters.
My helper function outputs some HTML, etc., is this possible?
source
share