Backward Compatibility Changes

Deprecated

New usage

<include > <insert >
<putAttribute > <getAsString >
<getAttribute > <getAsString >
< instance= >
(in tag <insert > or <include >)
< definition= >
(in tag <insert >)<

Default definitions file name :

  • componentInstances.xml
  • templateDefinitions.xml
Several possibilities :
  • Keep same name and set it in xml-config.xml:

<init-param>
    <param-name>
        definitions-config
      </param-name>
      <param-value>
        /WEB- INF/templateDefinitions.xml
      </param-value>
 </init-param>

  • Change name to new default (componentDefinitions.xml)
Components parameter names in web.xml:
  • instances-config
  • instances-debug
  Use new names :
  • definitions-config
  • definitions-debug
To update your web site, replace all deprecated tags with new tags.
You can use replacement tools to search for :include to be replaced by :insert