|
|
@ -142,7 +142,6 @@ public abstract class AbstractController extends AbstractComponent {
|
|
|
|
* @return ModelAndView
|
|
|
|
* @return ModelAndView
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
protected ModelAndView setCollectionInfo(ModelAndView mav, Collection<?> collection, String prefixKey, String prefix) {
|
|
|
|
protected ModelAndView setCollectionInfo(ModelAndView mav, Collection<?> collection, String prefixKey, String prefix) {
|
|
|
|
boolean toJson = !"jsonView".equals(mav.getViewName());
|
|
|
|
|
|
|
|
mav.addObject(prefixKey, prefix)
|
|
|
|
mav.addObject(prefixKey, prefix)
|
|
|
|
.addObject(prefix + "List", collection)
|
|
|
|
.addObject(prefix + "List", collection)
|
|
|
|
.addObject(prefix + "Start", 0)
|
|
|
|
.addObject(prefix + "Start", 0)
|
|
|
|