Open mkalam-alami opened 12 years ago
In other words :
Is there a TemplatedModelService.getEvaluatedModelProperty(doc, propname[, evaluationContext]) that will return "http://localhost/myservice" given a model property of "${host}/myservice" ? And possibly even on the opposite with a setModelPropertyUsingMapper(doc, propname, propvalue, mapper) which transforms the first in the second and stores it according to the given mapper ?
For now, this is done using custom code for #95 discovery mappers. Thierry, would it be useful LATER to make it more generic and contribute it to nuxeo ?
Would be especially useful to build URLs depending on the context (= environment)