use of org.apache.wicket.IConverterLocator in project ocvn by devgateway.
the class FormsWebApplication method newConverterLocator.
/**
* @see org.apache.wicket.Application#newConverterLocator() This adds the
* {@link NonNumericFilteredBigDecimalConverter} as the standard
* {@link BigDecimal} converter for ALL fields using this type accross
* the application
**/
@Override
protected IConverterLocator newConverterLocator() {
ConverterLocator locator = (ConverterLocator) super.newConverterLocator();
locator.set(BigDecimal.class, new NonNumericFilteredBigDecimalConverter());
return locator;
}
Aggregations