enhancement
A tl:DefaultProvider calculates the default value for a TLStructuredTypePart for a new object, based on the context.
There should be a tl:DefaultProvider that does this using an expression.
Usage
A `tl:DefaultProvider` named `tl:DefaultByExpression` has been added, which calculates the default value using a configured expression. For example:
<property name="dateWithDefault" type="tl.core:Date" > <annotations> <default-value> <default-by-expression value="today()" /> </default-value> </annotations> </property>
Test
- TestDefaultByExpression.script.xml