List of usage examples for org.springframework.web.bind WebDataBinder setAutoGrowCollectionLimit
public void setAutoGrowCollectionLimit(int autoGrowCollectionLimit)
From source file:org.smigo.plants.PlantController.java
@InitBinder public void initListBinder(WebDataBinder binder) { binder.setAutoGrowCollectionLimit(10000); }
From source file:com.exxonmobile.ace.hybris.storefront.controllers.misc.AddToCartController.java
@InitBinder public void initBinder(final WebDataBinder binder) { binder.setAutoGrowCollectionLimit(Integer.MAX_VALUE); }
From source file:org.dspace.EDMExport.controller.homeController.java
/** * Mtodo para el listado de los tems que nos aumenta el nmero que podemos unir al enviarlos por POST * //from w w w. j a v a 2 s . co m * @param dataBinder objeto WebDataBinder con el objeto a unir a nuestra variable */ @InitBinder("listItems") public void initBinder(WebDataBinder dataBinder) { logger.debug("homeController.initBinder size: " + dataBinder.getAutoGrowCollectionLimit()); int newSize = edmExportServiceListItems.getMapItemsSubmit().size() + 1; logger.debug("homeController.initBinder ItemsSubmitsize: " + newSize); if (dataBinder.getAutoGrowCollectionLimit() < newSize) { dataBinder.setAutoGrowCollectionLimit(newSize); logger.debug("homeController.resizeAutoGrowCollectionLimit new size: " + newSize); } }