/** * Retrieves the type of the currently used data model. If the field has no * data source then the model type of the converter is used. * * @since 7.1 * @return The type of the currently used data model or null if no data * source or converter is set. */ protected Class<?> getModelType() { Property<?> pd = getPropertyDataSource(); if (pd != null) { return pd.getType(); } else if (getConverter() != null) { return getConverter().getModelType(); } return null; }
getPropertyDataSource().setValue(getConvertedValue()); } catch (final Throwable e) {
getPropertyDataSource().getValue()); if (!SharedUtil.equals(newInternalValue, getInternalValue())) { setInternalValue(newInternalValue);
getPropertyDataSource() .setValue(convertToModel(newFieldValue));