Configuration

Embedded configuration

Generally in order to configure the portlet container you have to add the PortletContainerConf component to your container's configuration.xml file and give information about where to get the actual configuration from.

Since version 1.5 there's one way to configure the portlet container:

set PortletContainerConf's init-param "conf" that is an object-param and contains configuration data itself:

<component>
  <type>org.exoplatform.services.portletcontainer.impl.PortletContainerConf</type>
    <init-params>
      <object-param>
        <name>conf</name>
        <object type="org.exoplatform.services.portletcontainer.impl.config.PortletContainer">
          <field name="global">
            <object type="org.exoplatform.services.portletcontainer.impl.config.Global">
              <field name="name"><string>ExoPortletContainer</string></field>
              <field name="description"><string>A JSR 168/286 compliant portlet container</string></field>
              <field name="majorVersion"><int>1</int></field>
              <field name="minorVersion"><int>0</int></field>
            </object>
          </field>
          <field name="sharedSession">
            <object type="org.exoplatform.services.portletcontainer.impl.config.SharedSession">
              <field name="enable"><string>false</string></field>
            </object>
          </field>
[..]


Creator: Alexey Zavizionov on 05/23/2007
Copyright (c) 2000-2009. Allright reserved - eXo platform SAS
1.6.13286