public void setAsText(String s) throws IllegalArgumentException {
setValue(SearchRange.valueOf(s.toUpperCase()));
}
});
binder.registerCustomEditor(User.class, new UserPropertyEditor(userDao));
binder.setBindingErrorProcessor(new ExceptionBindingErrorProcessor());
}