2.2.3.1. Wiki Template Page

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

This plugin is used to inject default Wiki templates. The configuration can be found in wiki-webapp/src/main/webapp/WEB-INF/conf/configuration.xml.

Sample configuration:


<component-plugin><name>Template page initializer</name>
    <set-method>addWikiTemplatePagePlugin</set-method>
    <type>org.exoplatform.wiki.template.plugin.WikiTemplatePagePlugin</type>
    <description>XML Deployment Plugin</description>
    <init-params>
        <values-param>
            <name>sourcePaths</name>
            <description>path of file imported. </description>
            <value>war:/conf/data/template.xml</value>
            <!--value>war:/conf/data/file-name.xml</value -->
        </values-param>
    </init-params>
</component-plugin>

In which:

Init-params

Name Type Default value Description
sourcePaths String war:/conf/data/template.xml The path to import the template file.
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus