List of usage examples for org.springframework.web.bind WebDataBinder setBindEmptyMultipartFiles
public void setBindEmptyMultipartFiles(boolean bindEmptyMultipartFiles)
From source file:de.hybris.platform.customerticketingaddon.controllers.pages.AccountSupportTicketsPageController.java
@InitBinder public void init(final WebDataBinder binder) { binder.setBindEmptyMultipartFiles(false); }
From source file:cdr.forms.FormController.java
@InitBinder protected void initBinder(WebDataBinder binder) { binder.registerCustomEditor(java.util.Date.class, new DateEditor()); binder.registerCustomEditor(java.lang.String.class, new StringCleanerTrimmerEditor(true)); binder.registerCustomEditor(DepositFile.class, new DepositFileEditor()); binder.setBindEmptyMultipartFiles(false); }