if (resolveExpressions) {
value = resolveExpressionIfNecessary(value);
}
if (value instanceof SpringFacesModel && expandModelHolder) {
SpringFacesModel modelHolder = (SpringFacesModel) value;
for (Map.Entry<String, Object> modelEntry : modelHolder.entrySet()) {
addIfNotInModel(source, modelEntry.getKey(), modelEntry.getValue(), false, false);
}
} else {
this.model.put(key, value);
}