private static final Logger LOGGER = Logger.getLogger(TheFocusBindingInitializer.class.getName());
public void initBinder(WebDataBinder binder, WebRequest request) {
/*Necessary to run into GAE.*/
binder.registerCustomEditor(String.class, new StringTrimmerEditor(true));
binder.registerCustomEditor(Boolean.class, new CustomBooleanEditor("true", "false", true));
binder.registerCustomEditor(Long.class, null, new CustomNumberEditor(Long.class, null, true));
binder.registerCustomEditor(Integer.class, null, new CustomNumberEditor(Integer.class, null, true));
binder.registerCustomEditor(Float.class, null, new CustomNumberEditor(Float.class, null, true));
binder.registerCustomEditor(Set.class, "tags", new TagCollectionEditor(Set.class, true));
binder.registerCustomEditor(List.class, new CustomCollectionEditor(List.class, true));