* {@inheritDoc}
*/
@Override
protected void onBeforeRender() {
//Obtain the 'default' title
LocalizedValue singleLocalizedValue = findTitle(
getModelObject(), localeService.getCurrentLanguage());
if(singleLocalizedValue == null) {
singleLocalizedValue = findTitle(
getModelObject(), localeService.getDefaultLanguage());
}
valueInput.setModelObject(singleLocalizedValue == null ? null : singleLocalizedValue.getValue());
super.onBeforeRender();
}