@Override protected void valueBindingConnected(ValueSource<V> valueSource) { super.valueBindingConnected(valueSource); if (valueSource instanceof EntityValueSource) { DataAwareComponentsTools dataAwareComponentsTools = beanLocator.get(DataAwareComponentsTools.class); EntityValueSource entityValueSource = (EntityValueSource) valueSource; dataAwareComponentsTools.setupCaseConversion(this, entityValueSource); dataAwareComponentsTools.setupMaxLength(this, entityValueSource); } }
@Override protected void valueBindingConnected(ValueSource<V> valueSource) { super.valueBindingConnected(valueSource); if (valueSource instanceof EntityValueSource) { DataAwareComponentsTools dataAwareComponentsTools = beanLocator.get(DataAwareComponentsTools.class); EntityValueSource entityValueSource = (EntityValueSource) valueSource; dataAwareComponentsTools.setupCaseConversion(this, entityValueSource); dataAwareComponentsTools.setupMaxLength(this, entityValueSource); } } }