You are looking at documentation for an older release. Not what you want? See the current release documentation.
This plugin is used to initialize the template for the FAQ application.
To use the plugin in the component configuration, you must use the following target-component:
<target-component>org.exoplatform.faq.service.FAQService</target-component>
The configuration is applied mainly in extension/webapp/src/main/webapp/WEB-INF/ks-extension/ks/faq/templates-configuration.xml
.
Sample configuration:
<component-plugin>
<name>faq.default.template</name>
<set-method>addTemplatePlugin</set-method>
<type>org.exoplatform.faq.service.TemplatePlugin</type>
<init-params>
<value-param>
<name>viewerTemplate</name>
<value>war:/ks-extension/ks/faq/templates/FAQViewerPortlet.gtmpl</value>
</value-param>
</init-params>
</component-plugin>
Name:
faq.default.template
Type:
org.exoplatform.faq.service.TemplatePlugin
Value-params | Type | Value | Description |
---|---|---|---|
viewerTemplate |
string
|
war:/ks-extension/ks/faq/templates/FAQViewerPortlet.gtmpl
| The viewer template file. |