@Test public final void testInitBinder() { MockHttpServletRequest request = new MockHttpServletRequest(); ServletRequestDataBinder binder = new ServletRequestDataBinder(new SearchCommand(), "command"); try { testInstance.initBinder(request, binder); } catch (Exception e) { String message = e.getClass().toString() + " - " + e.getMessage(); log.debug(message); fail(message); } }
@Override public void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception { NumberFormat nf = NumberFormat.getInstance(request.getLocale()); binder.registerCustomEditor(java.lang.Long.class, new CustomNumberEditor(java.lang.Long.class, nf, true)); }
GroupSearchController extends AbstractFormController { @Override public void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception { NumberFormat nf = NumberFormat.getInstance(request.getLocale()); binder.registerCustomEditor(java.lang.Long.class, new CustomNumberEditor(java.lang.Long.class, nf, true)); } }
GroupSearchController extends AbstractFormController { @Override public void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception { NumberFormat nf = NumberFormat.getInstance(request.getLocale()); binder.registerCustomEditor(java.lang.Long.class, new CustomNumberEditor(java.lang.Long.class, nf, true)); } GroupSearchController(); }
GroupSearchController extends AbstractFormController { @Override public void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception { NumberFormat nf = NumberFormat.getInstance(request.getLocale()); binder.registerCustomEditor(java.lang.Long.class, new CustomNumberEditor(java.lang.Long.class, nf, true)); } GroupSearchController(); @Override void initBinder(HttpServletRequest request, ServletRequestDataBinder binder); SearchCommand getDefaultCommand(); @SuppressWarnings("unchecked") ModelAndView prepareSearchView(HttpServletRequest request, 
			                              HttpServletResponse response,
			                              BindException errors); @SuppressWarnings("unchecked") ModelAndView prepareSearchView(HttpServletRequest request, 
			                              HttpServletResponse response,
			                              SearchCommand command,
			                              BindException errors); void setTargetManager(TargetManager targetManager); void setAgencyUserManager(AgencyUserManager agencyUserManager); void setMessageSource(MessageSource messageSource); void setDefaultSearchOnAgencyOnly(boolean defaultSearchOnAgencyOnly); boolean getDefaultSearchOnAgencyOnly(); void setGroupTypesList(WCTTreeSet groupTypesList); void setSubGroupType(String subGroupType); void setSubGroupSeparator(String subGroupSeparator); }
GroupSearchController extends AbstractFormController { @Override public void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception { NumberFormat nf = NumberFormat.getInstance(request.getLocale()); binder.registerCustomEditor(java.lang.Long.class, new CustomNumberEditor(java.lang.Long.class, nf, true)); } GroupSearchController(); @Override void initBinder(HttpServletRequest request, ServletRequestDataBinder binder); SearchCommand getDefaultCommand(); @SuppressWarnings("unchecked") ModelAndView prepareSearchView(HttpServletRequest request, 
			                              HttpServletResponse response,
			                              BindException errors); @SuppressWarnings("unchecked") ModelAndView prepareSearchView(HttpServletRequest request, 
			                              HttpServletResponse response,
			                              SearchCommand command,
			                              BindException errors); void setTargetManager(TargetManager targetManager); void setAgencyUserManager(AgencyUserManager agencyUserManager); void setMessageSource(MessageSource messageSource); void setDefaultSearchOnAgencyOnly(boolean defaultSearchOnAgencyOnly); boolean getDefaultSearchOnAgencyOnly(); void setGroupTypesList(WCTTreeSet groupTypesList); void setSubGroupType(String subGroupType); void setSubGroupSeparator(String subGroupSeparator);  }