<?xml version="1.0" encoding="UTF-8"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ~ JBoss, a division of Red Hat                                              ~
  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
  ~ contributors as indicated by the @authors tag. See the                    ~
  ~ copyright.txt in the distribution for a full listing of                   ~
  ~ individual contributors.                                                  ~
  ~                                                                           ~
  ~ This is free software; you can redistribute it and/or modify it           ~
  ~ under the terms of the GNU Lesser General Public License as               ~
  ~ published by the Free Software Foundation; either version 2.1 of          ~
  ~ the License, or (at your option) any later version.                       ~
  ~                                                                           ~
  ~ This software is distributed in the hope that it will be useful,          ~
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
  ~ Lesser General Public License for more details.                           ~
  ~                                                                           ~
  ~ You should have received a copy of the GNU Lesser General Public          ~
  ~ License along with this software; if not, write to the Free               ~
  ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
  ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->

<!DOCTYPE deployments PUBLIC
   "-//JBoss Portal//DTD Portal Object 2.6//EN"
   "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">

<deployments>

    <deployment>
        <context>
            <context-name />
            <properties>
                <!-- Set the layout for the default portal, see also portal-layouts.xml. -->
                <property>
                    <name>layout.id</name>
                    <value>generic</value>
                </property>
                <!-- Set the theme for the default portal, see also portal-themes.xml. -->
                <property>
                    <name>theme.id</name>
                    <value>renewal</value>
                </property>
                <!-- Set the default render set name (used by the render tag in layouts), see also portal-renderSet.xml -->
                <property>
                    <name>theme.renderSetId</name>
                    <value>divRenderer</value>
                </property>
                <!-- The default portal name, if the property is not explicited then the default portal name is "default" -->
                <property>
                    <name>portal.defaultObjectName</name>
                    <value>cartoun</value>
                </property>

                <!-- Control policy config -->
                <property>
                    <name>control.portal.access_denied</name>
                    <value>ignore</value>
                </property>
                <property>
                    <name>control.portal.unavailable</name>
                    <value>ignore</value>
                </property>
                <property>
                    <name>control.portal.not_found</name>
                    <value>ignore</value>
                </property>
                <property>
                    <name>control.portal.internal_error</name>
                    <value>jsp</value>
                </property>
                <property>
                    <name>control.portal.error</name>
                    <value>jsp</value>
                </property>
                <property>
                    <name>control.portal.resource_uri</name>
                    <value>/WEB-INF/jsp/error/portal.jsp</value>
                </property>
                <property>
                    <name>control.page.access_denied</name>
                    <value>hide</value>
                </property>
                <property>
                    <name>control.page.unavailable</name>
                    <value>hide</value>
                </property>
                <property>
                    <name>control.page.not_found</name>
                    <value>hide</value>
                </property>
                <property>
                    <name>control.page.internal_error</name>
                    <value>jsp</value>
                </property>
                <property>
                    <name>control.page.error</name>
                    <value>jsp</value>
                </property>
                <property>
                    <name>control.page.resource_uri</name>
                    <value>/WEB-INF/jsp/error/page.jsp</value>
                </property>
            </properties>
        </context>
    </deployment>
    
    <deployment>
        <parent-ref />
        <if-exists>keep</if-exists>
        <portal>
            <portal-name>default</portal-name>
            <supported-modes>
                <mode>view</mode>
                <mode>edit</mode>
                <mode>help</mode>
            </supported-modes>
            <supported-window-states>
                <window-state>normal</window-state>
                <window-state>minimized</window-state>
                <window-state>maximized</window-state>
            </supported-window-states>
            <properties>
                <property>
                    <name>coordination.event.implicit_mode</name>
                    <value>true</value>
                </property>
                <property>
                    <name>theme.renderSetId</name>
                    <value>OsiviaDefaultRenderer</value>
                </property>
                <property>
                    <name>theme.dyna.partial_refresh_enabled</name>
                    <value>true</value>
                </property>
                <property>
                    <name>portal.defaultObjectName</name>
                    <value>home</value>
                </property>
                <property>
                    <name>coordination.parameter.implicit_mode</name>
                    <value>true</value>
                </property>
                <property>
                    <name>theme.id</name>
                    <value>cartoun-charte</value>
                </property>
                <property>
                    <name>osivia.cms.requestFilteringPolicy</name>
                    <value>none</value>
                </property>
                <property>
                    <name>osivia.portal.portalType</name>
                    <value>static</value>
                </property>
                <property>
                    <name>layout.id</name>
                    <value>cartoun-2-cols</value>
                </property>
            </properties>
            <security-constraint>
                <policy-permission>
                    <action-name>view</action-name>
                    <action-name>viewrecursive</action-name>
                    <role-name>Administrators</role-name>
                </policy-permission>
                <policy-permission>
                    <action-name>view</action-name>
                    <role-name>Authenticated</role-name>
                </policy-permission>
                <policy-permission>
                    <action-name>view</action-name>
                    <unchecked />
                </policy-permission>
            </security-constraint>
    
            <page>
                <page-name>home</page-name>
                <properties>
                    <property>
                        <name>order</name>
                        <value>1</value>
                    </property>
                    <property>
                        <name>theme.dyna.partial_refresh_enabled</name>
                        <value>true</value>
                    </property>
                </properties>
                <security-constraint>
                    <policy-permission>
                        <action-name>view</action-name>
                        <unchecked />
                    </policy-permission>
                </security-constraint>
                <display-name xml:lang="fr">Accueil par default</display-name>
            </page>
    
            <page>
                <page-name>templates</page-name>
                <properties>
                    <property>
                        <name>order</name>
                        <value>2</value>
                    </property>
                </properties>
                <security-constraint>
                    <policy-permission>
                        <action-name>view</action-name>
                        <unchecked />
                    </policy-permission>
                </security-constraint>
                <page>
                    <page-name>publish</page-name>
                    <properties>
                        <property>
                            <name>order</name>
                            <value>1</value>
                        </property>
                    </properties>
                    <security-constraint>
                        <policy-permission>
                            <action-name>view</action-name>
                            <unchecked />
                        </policy-permission>
                    </security-constraint>
                </page>
            </page>
    
        </portal>
    </deployment>

    <deployment>
        <parent-ref />
        <if-exists>keep</if-exists>
        <portal>
            <portal-name>cartoun</portal-name>
            <supported-modes>
                <mode>view</mode>
                <mode>edit</mode>
                <mode>help</mode>
            </supported-modes>
            <supported-window-states>
                <window-state>normal</window-state>
                <window-state>minimized</window-state>
                <window-state>maximized</window-state>
            </supported-window-states>
            <properties>
                <property>
                    <name>coordination.event.implicit_mode</name>
                    <value>true</value>
                </property>
                <property>
                    <name>theme.renderSetId</name>
                    <value>OsiviaDefaultRenderer</value>
                </property>
                <property>
                    <name>theme.dyna.partial_refresh_enabled</name>
                    <value>true</value>
                </property>
                <property>
                    <name>portal.defaultObjectName</name>
                    <value>home</value>
                </property>
                <property>
                    <name>osivia.profils</name>
                    <value>&lt;profils&gt;&lt;profil&gt;&lt;roleName&gt;Authenticated&lt;/roleName&gt;&lt;name&gt;Utilisateur-connecte&lt;/name&gt;&lt;nuxeoVirtualUser&gt;&lt;/nuxeoVirtualUser&gt;&lt;defaultPageName&gt;&lt;/defaultPageName&gt;&lt;/profil&gt;&lt;/profils&gt;</value>
                </property>
                <property>
                    <name>coordination.parameter.implicit_mode</name>
                    <value>true</value>
                </property>
                <property>
                    <name>theme.id</name>
                    <value>cartoun-charte</value>
                </property>
                <property>
                    <name>osivia.cms.requestFilteringPolicy</name>
                    <value>none</value>
                </property>
                <property>
                    <name>osivia.portal.portalType</name>
                    <value>static</value>
                </property>
                <property>
                    <name>layout.id</name>
                    <value>cartoun-2-cols</value>
                </property>
            </properties>
            <security-constraint>
                <policy-permission>
                    <action-name>view</action-name>
                    <action-name>viewrecursive</action-name>
                    <role-name>Administrators</role-name>
                </policy-permission>
                <policy-permission>
                    <action-name>view</action-name>
                    <role-name>Authenticated</role-name>
                </policy-permission>
                <policy-permission>
                    <action-name>view</action-name>
                    <unchecked />
                </policy-permission>
            </security-constraint>
    
            <page>
                <page-name>home</page-name>
                <properties>
                    <property>
                        <name>order</name>
                        <value>1</value>
                    </property>
                    <property>
                        <name>theme.dyna.partial_refresh_enabled</name>
                        <value>true</value>
                    </property>
                </properties>
                <security-constraint>
                    <policy-permission>
                        <action-name>view</action-name>
                        <unchecked />
                    </policy-permission>
                </security-constraint>
                <display-name xml:lang="fr">Accueil</display-name>
            </page>
    
            <page>
                <page-name>templates</page-name>
                <properties>
                    <property>
                        <name>order</name>
                        <value>2</value>
                    </property>
                </properties>
                <security-constraint>
                    <policy-permission>
                        <action-name>view</action-name>
                        <unchecked />
                    </policy-permission>
                </security-constraint>
                <page>
                    <page-name>publish</page-name>
                    <properties>
                        <property>
                            <name>order</name>
                            <value>1</value>
                        </property>
                    </properties>
                    <security-constraint>
                        <policy-permission>
                            <action-name>view</action-name>
                            <unchecked />
                        </policy-permission>
                    </security-constraint>
                </page>
                <page>
                    <page-name>portalSitePublish</page-name>
                    <properties>
                        <property>
                            <name>order</name>
                            <value>2</value>
                        </property>
                    </properties>
                    <security-constraint>
                        <policy-permission>
                            <action-name>view</action-name>
                            <unchecked />
                        </policy-permission>
                    </security-constraint>
                </page>
            </page>
    
        </portal>
    </deployment>

    <deployment>
        <if-exists>keep</if-exists>
        <context>
            <context-name>dashboard</context-name>
            <properties>

                <!-- Set the layout for the default portal, see also portal-layouts.xml. -->
                <property>
                    <name>layout.id</name>
                    <value>generic</value>
                </property>

                <!-- Set the theme for the default portal, see also portal-themes.xml. -->
                <property>
                    <name>theme.id</name>
                    <value>renewal</value>
                </property>

                <!-- Set the default render set name (used by the render tag in layouts), see also portal-renderSet.xml -->
                <property>
                    <name>theme.renderSetId</name>
                    <value>divRenderer</value>
                </property>

                <!-- Set the dnd property -->
                <property>
                    <name>theme.dyna.dnd_enabled</name>
                    <value>true</value>
                </property>

                <!-- Set the partial refresh property -->
                <property>
                    <name>theme.dyna.partial_refresh_enabled</name>
                    <value>false</value>
                </property>

                <!-- Control policy config -->
                <property>
                    <name>control.portal.access_denied</name>
                    <value>ignore</value>
                </property>
                <property>
                    <name>control.portal.unavailable</name>
                    <value>ignore</value>
                </property>
                <property>
                    <name>control.portal.not_found</name>
                    <value>ignore</value>
                </property>
                <property>
                    <name>control.portal.internal_error</name>
                    <value>jsp</value>
                </property>
                <property>
                    <name>control.portal.error</name>
                    <value>jsp</value>
                </property>
                <property>
                    <name>control.portal.resource_uri</name>
                    <value>/WEB-INF/jsp/error/portal.jsp</value>
                </property>
                <property>
                    <name>control.page.access_denied</name>
                    <value>hide</value>
                </property>
                <property>
                    <name>control.page.unavailable</name>
                    <value>hide</value>
                </property>
                <property>
                    <name>control.page.not_found</name>
                    <value>hide</value>
                </property>
                <property>
                    <name>control.page.internal_error</name>
                    <value>jsp</value>
                </property>
                <property>
                    <name>control.page.error</name>
                    <value>jsp</value>
                </property>
                <property>
                    <name>control.page.resource_uri</name>
                    <value>/WEB-INF/jsp/error/page.jsp</value>
                </property>
            </properties>
        </context>
    </deployment>

    <deployment>
        <parent-ref />
        <if-exists>keep</if-exists>
        <portal>
            <portal-name>template</portal-name>
            <supported-modes>
                <mode>view</mode>
                <mode>edit</mode>
                <mode>help</mode>
            </supported-modes>
            <supported-window-states>
                <window-state>normal</window-state>
                <window-state>minimized</window-state>
                <window-state>maximized</window-state>
            </supported-window-states>
            <page>
                <page-name>default</page-name>
                <properties>
                    <property>
                        <name>order</name>
                        <value>1</value>
                    </property>
                </properties>
                <window>
                    <window-name>JSPPortletWindow</window-name>
                    <instance-ref>JSPPortletInstance</instance-ref>
                    <region>left</region>
                    <height>0</height>
                </window>
                <window>
                    <window-name>CMSWindow</window-name>
                    <content>
                        <content-type>cms</content-type>
                        <content-uri>/default/index.html</content-uri>
                    </content>
                    <region>center</region>
                    <height>0</height>
                </window>
                <window>
                    <window-name>IdentityUserPortletWindow</window-name>
                    <instance-ref>IdentityUserPortletInstance</instance-ref>
                    <region>left</region>
                    <height>1</height>
                </window>
                <display-name xml:lang="en">Home</display-name>
                <display-name xml:lang="it">Home</display-name>
                <display-name xml:lang="es">Home</display-name>
                <display-name xml:lang="fr">Accueil</display-name>
                <display-name xml:lang="ru">Домой</display-name>
                <display-name xml:lang="pt">Home</display-name>
            </page>
        </portal>
    </deployment>

    <deployment>
        <parent-ref />
        <if-exists>keep</if-exists>
        <portal>
            <portal-name>admin</portal-name>
            <supported-modes>
                <mode>view</mode>
                <mode>edit</mode>
                <mode>help</mode>
                <mode>admin</mode>
            </supported-modes>
            <supported-window-states>
                <window-state>normal</window-state>
                <window-state>minimized</window-state>
                <window-state>maximized</window-state>
            </supported-window-states>
            <security-constraint>
                <policy-permission>
                    <action-name>viewrecursive</action-name>
                    <role-name>Administrators</role-name>
                </policy-permission>
            </security-constraint>
            <page>
                <page-name>default</page-name>
                <properties>
                    <property>
                        <name>layout.id</name>
                        <value>1column</value>
                    </property>
                </properties>
                <window>
                    <window-name>AdminPortletWindow</window-name>
                    <instance-ref>AdminPortletInstance</instance-ref>
                    <region>center</region>
                    <height>0</height>
                    <properties>
                        <property>
                            <name>theme.renderSetId</name>
                            <value>emptyRenderer</value>
                        </property>
                    </properties>
                </window>
                <resource-bundle>conf.bundles.Resource</resource-bundle>
                <supported-locale>fr</supported-locale>
                <supported-locale>en</supported-locale>
                <supported-locale>it</supported-locale>
                <supported-locale>ja</supported-locale>
                <supported-locale>pt</supported-locale>
            </page>
            <page>
                <page-name>Members</page-name>
                <properties>
                    <property>
                        <name>layout.id</name>
                        <value>1column</value>
                    </property>
                </properties>
                <window>
                    <window-name>IdentityAdminPortletWindow</window-name>
                    <instance-ref>IdentityAdminPortletInstance</instance-ref>
                    <region>center</region>
                    <height>0</height>
                    <properties>
                        <property>
                            <name>theme.renderSetId</name>
                            <value>emptyRenderer</value>
                        </property>
                    </properties>
                </window>
                <resource-bundle>conf.bundles.Resource</resource-bundle>
                <supported-locale>fr</supported-locale>
                <supported-locale>en</supported-locale>
                <supported-locale>it</supported-locale>
                <supported-locale>ja</supported-locale>
                <supported-locale>pt</supported-locale>
            </page>
        </portal>
    </deployment>

</deployments>