An AlfrescoContentModelLoader is created using a Spring bean with the following attributes:
Attribute | Value | Description |
---|---|---|
id | User-defined | A unique ID for the bean. |
parent | dictionaryModelBootstrap | The parent bean. |
depends-on | alfresco.dita.model | The bean dependencies. |
The AlfrescoContentModelLoader takes the following properties:
Property | Type | Mandatory | Description |
---|---|---|---|
models | List <String> | Required | List of content models. |
labels | List <String> | Required | List of resource bundles to be used for the content model labels. |
<bean id="samples.ts.model" parent="dictionaryModelBootstrap" depends-on="alfresco.dita.model"> <property name="models"> <list> <value>com/componize/samples/03-metadata-extractor/tsModel.xml</value> </list> </property> <property name="labels"> <list> <value>com/componize/samples/03-metadata-extractor/tsModel</value> </list> </property> </bean>
To debug your AlfrescoContentModelLoader, add the following entry to your
log4j.properties
file:
log4j.logger.org.alfresco.repo.dictionary=debug