Creating a Decorator .properties File

The article decorators executed by the system are defined in a configuration file called PresentationArticleManager.properties. To register an article decorator called TitleToUpperCase, you must create a file called WEB-INF/localconfig/neo/xredsys/presentation/PresentationArticleManager.properties in your web application folder and add the following definition to it:

decoratorFactory.titleToUpperCase=/com/mycompany/TitleToUpperCase

You must then create a properties file for the decorator (called WEB-INF/localconfig/com/mycompany/TitleToUpperCase.properties in this case) and add an entry defining your class:

$class=neo.xredsys.presentation.ReflectionPresentationArticleDecoratorFactory
className=com.mycompany.decorators.TitleToUpperCase