The CAE sometimes renders fallbacks if a content property is not set, for example, by using values of other properties instead. This is similar inheritance of a default value for an empty property. To visualize this in Studio, you may use content of a property editor from another property editor as the default empty text.
This is currently possible for a few of property fields. One is the StringPropertyField and the
other one is the TextAreaPropertyField. While the StringPropertyField may inherit its
content from another StringPropertyField, the TextAreaPropertyField may inherit its content
from a StringPropertyField or a RichTextPropertyField.
In order to use this visualization, you may use the StringPropertyFieldDelegationPlugin or the
TextAreaPropertyFieldDelegationPlugin attached to the property field that should inherit the value.
<documentForm> ... <!-- inherit its content from the title property--> <editor:stringPropertyField propertyName="teaserTitle"> <plugins mode="append"> <editor:stringPropertyFieldDelegatePlugin delegatePropertyName="title"/> </plugins> </editor:stringPropertyField> <!-- inherit its content from the detailText property--> <editor:textAreaPropertyField propertyName="teaserText"> <plugins mode="append"> <editor:textAreaPropertyFieldDelegatePlugin delegatePropertyName="detailText"/> </plugins> </editor:textAreaPropertyField> ... </documentForm
Example 7.38. Configuring Property Inheritance







