Search Manual / Version 2406.1
Table Of Contents
You can extend the set of indexed content beans by customizing a property of the content
selector called contentTypeNames
. This is useful when you use
extensions (see the [Developer Manual] for details),
because an extension can not extend a property file but it can extend Spring configuration.
The following example defines a simple
configuration which customizes the bean contentTypeNames
, defined in file
caefeeder-triggers.xml
, by adding a CMPicture
to the set of
content types defined in feeder.contentSelector.contentTypes
:
<customize:append id="contentTypeNamesCustomizer" bean="contentTypeNames"> <list> <value>CMPicture</value> </list> </customize:append>