[gatein-commits] gatein SVN: r9076 - in epp/docs/branches/6.0/Reference_Guide/en-US: modules/PortalDevelopment and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Jan 24 20:01:20 EST 2013


Author: jaredmorgs
Date: 2013-01-24 20:01:20 -0500 (Thu, 24 Jan 2013)
New Revision: 9076

Modified:
   epp/docs/branches/6.0/Reference_Guide/en-US/Revision_History.xml
   epp/docs/branches/6.0/Reference_Guide/en-US/modules/PortalDevelopment/DefaultPortalConfiguration.xml
   epp/docs/branches/6.0/Reference_Guide/en-US/modules/PortalDevelopment/DefaultPortalPermissionConfiguration.xml
Log:
BZ#903884 - Changes incorporated for https://docs.jboss.org/author/display/GTNPORTAL35/Default+Portal+Configuration. Ready for QE

Modified: epp/docs/branches/6.0/Reference_Guide/en-US/Revision_History.xml
===================================================================
--- epp/docs/branches/6.0/Reference_Guide/en-US/Revision_History.xml	2013-01-25 00:13:45 UTC (rev 9075)
+++ epp/docs/branches/6.0/Reference_Guide/en-US/Revision_History.xml	2013-01-25 01:01:20 UTC (rev 9076)
@@ -8,6 +8,20 @@
   <simpara>
     <revhistory>
       <revision>
+        <revnumber>6.0.0-35</revnumber>
+        <date>Fri Jan 25 2013</date>
+        <author>
+          <firstname>Jared</firstname>
+          <surname>Morgan</surname>
+          <email/>
+        </author>
+        <revdescription>
+          <simplelist>
+            <member>Changes incorporated for https://docs.jboss.org/author/display/GTNPORTAL35/Default+Portal+Configuration. Ready for QE.</member>
+          </simplelist>
+        </revdescription>
+      </revision>
+      <revision>
         <revnumber>6.0.0-34</revnumber>
         <date>Fri Jan 25 2013</date>
         <author>

Modified: epp/docs/branches/6.0/Reference_Guide/en-US/modules/PortalDevelopment/DefaultPortalConfiguration.xml
===================================================================
--- epp/docs/branches/6.0/Reference_Guide/en-US/modules/PortalDevelopment/DefaultPortalConfiguration.xml	2013-01-25 00:13:45 UTC (rev 9075)
+++ epp/docs/branches/6.0/Reference_Guide/en-US/modules/PortalDevelopment/DefaultPortalConfiguration.xml	2013-01-25 01:01:20 UTC (rev 9076)
@@ -5,6 +5,7 @@
 ]>
 <chapter id="chap-Reference_Guide-Default_Portal_Configuration">
   <title>Default Portal Configuration</title>
+  <remark>Source content: https://docs.jboss.org/author/display/GTNPORTAL35/Default+Portal+Configuration</remark>
   <section id="sect-Reference_Guide-Default_Portal_Configuration-Overview">
     <title>Overview</title>
     <para>
@@ -20,7 +21,7 @@
   <section id="sect-Reference_Guide-Default_Portal_Configuration-Configuration">
     <title>Configuration</title>
     <para>
-            The following example configuration can be found at: &quot;<filename>02portal.war:/WEB-INF/conf/portal/portal-configuration.xml</filename>&quot;.
+            The following example configuration can be found at: <filename><replaceable>JPP_HOME</replaceable>/gatein/gatein.ear/portal.war/WEB-INF/conf/portal/portal-configuration.xml</filename>.
         </para>
     <programlisting language="XML" role="XML"><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../../extras/PortalDevelopment_DefaultPortalConfiguration/default143.xml" parse="text"/></programlisting>
     <para>
@@ -33,40 +34,93 @@
             <emphasis>Components</emphasis>, <emphasis>component-plugins</emphasis>, and <emphasis>init-params</emphasis> are explained in a later chapter of this document.
         </para>
   </section>
-      <section id="sect-Reference_Guide-Default_Portal_Configuration-Disabling_a_Portal">
-         <!-- 
+  <section>
+    <title>Delete Portal Definitions using Component Plug-ins</title>
+    <para>In some cases,  portal definitions and portal template definitions are defined but not used any more. To delete them, it is possible to add a component plug-in  to <filename><replaceable>JPP_HOME</replaceable>/gatein/gatein.ear/portal.war/WEB-INF/conf/portal/portal-configuration.xml</filename> which detects these definitions and cleans up the <filename>portal-configuration.xml</filename> file automatically.
+</para>
+    <example>
+      <title>Portal Definition Clean-up Directives</title>
+      <programlisting language="XML">&lt;external-component-plugins&gt;
+  &lt;target-component&gt;org.exoplatform.portal.config.UserPortalConfigService&lt;/target-component&gt;
+  &lt;component-plugin&gt;
+    &lt;name&gt;new.portal.config.user.listener&lt;/name&gt;
+    &lt;set-method&gt;deleteListenerElements&lt;/set-method&gt;
+    &lt;type&gt;org.exoplatform.portal.config.NewPortalConfigListener&lt;/type&gt;
+    &lt;description&gt;this listener delete some predefined portal and templates configuration&lt;/description&gt;
+    &lt;init-params&gt;
+      &lt;object-param&gt;
+        &lt;name&gt;site.templates.location&lt;/name&gt;
+        &lt;description&gt;description&lt;/description&gt;
+        &lt;object type=&quot;org.exoplatform.portal.config.SiteConfigTemplates&quot;&gt;
+          &lt;field name=&quot;portalTemplates&quot;&gt;
+            &lt;collection type=&quot;java.util.HashSet&quot;&gt;
+              &lt;value&gt;
+                &lt;string&gt;basic&lt;/string&gt;
+              &lt;/value&gt;
+              &lt;value&gt;
+                &lt;string&gt;classic&lt;/string&gt;
+              &lt;/value&gt;
+            &lt;/collection&gt;
+          &lt;/field&gt;
+        &lt;/object&gt;
+      &lt;/object-param&gt;
+      &lt;object-param&gt;
+        &lt;name&gt;portal.configuration&lt;/name&gt;
+        &lt;description&gt;description&lt;/description&gt;
+        &lt;object type=&quot;org.exoplatform.portal.config.NewPortalConfig&quot;&gt;
+          &lt;field  name=&quot;predefinedOwner&quot;&gt;
+            &lt;collection type=&quot;java.util.HashSet&quot;&gt;
+              &lt;value&gt;&lt;string&gt;classic&lt;/string&gt;&lt;/value&gt;
+            &lt;/collection&gt;
+          &lt;/field&gt;
+          &lt;field name=&quot;ownerType&quot;&gt;&lt;string&gt;portal&lt;/string&gt;&lt;/field&gt;
+        &lt;/object&gt;
+      &lt;/object-param&gt;
+    &lt;/init-params&gt;
+  &lt;/component-plugin&gt;
+&lt;/external-component-plugins&gt;</programlisting>
+    </example>
+  </section>
+  <section>
+    <title>Set the Info Bar Behavior</title>
+    <para>You can set the info bar shown by default for portlets of a portal by adding a &lt;property&gt; to the &lt;portal-config&gt; configuration of the <filename>JPP_HOME/gatein/gatein.ear/portal.war/WEB-INF/conf/portal/portal/classic/portal.xml</filename> file.</para>
+    <programlisting language="XML">&lt;properties&gt;
+  &lt;entry key=&quot;showPortletInfo&quot;&gt;1&lt;/entry&gt;
+&lt;/properties&gt;</programlisting>
+    <para>There are two values for &quot;showPortletInfo&quot;: 0 and 1. If the value is 1, the info bar of portlets is shown by default. If the value is 0, it is hidden.</para>
+  </section>
+  <section id="sect-Reference_Guide-Default_Portal_Configuration-Disabling_a_Portal">
+<!-- 
        This content is mirrored in the JPP 5.2 Reference Guide.
        Any changes here should be reflected there as well.
-       -->
-       <title><remark>BZ#794416</remark>Disabling a Portal</title>
-          <para>
+       -->    <title><remark>BZ#794416</remark>Disabling a Portal</title>
+    <para>
              Once you have created a custom portal that suits your needs, you may wish to disable a portal that is no longer required.
           </para>
-          
-          <task>
-             <title>Task: Disable a portal in EPP 5</title>
-                <tasksummary>
-                   <para>
+    <task>
+      <title>Task: Disable a portal in EPP 5</title>
+      <tasksummary>
+        <para>
                       The procedure below will show you how to disable an unused portal in a JBoss Portal Platform instance. 
                    </para>
-                </tasksummary>
-                <taskprerequisites>
-                   <title>Prerequisites: </title>
-                      <itemizedlist>
-                         <listitem>
-                            <para>
+      </tasksummary>
+      <taskprerequisites>
+        <title>Prerequisites: </title>
+        <itemizedlist>
+          <listitem>
+            <para>
                                <remark>Are there any pre-reqs for this task?</remark>
                             </para>
-                         </listitem>
-                      </itemizedlist>
-                   </taskprerequisites>
-                <procedure>
-                   <title></title>
-                   <step>
-                      <para>
+          </listitem>
+        </itemizedlist>
+      </taskprerequisites>
+      <procedure>
+        <title/>
+        <step>
+          <para>
                          Add the following configuration to the <filename>configuration.xml</filename> of the custom extension in order to disable a portal:
                       </para>
-<programlisting language="XML" role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+          <programlisting language="XML" role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
 <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd http://www.exoplaform.org/xml/ns/kernel_1_1.xsd"
     xmlns="http://www.exoplaform.org/xml/ns/kernel_1_1.xsd">
@@ -97,17 +151,16 @@
     </external-component-plugins>
 </configuration>
 ]]></programlisting>
-                   </step>
-                </procedure>
-                <taskrelated>
-                   <note>
-                   <title></title>
-                      <para>
+        </step>
+      </procedure>
+      <taskrelated>
+        <note>
+          <title/>
+          <para>
                           Disabling the default <emphasis>portal</emphasis> container is possible as well, but some functions, such as WSRP, or Services Management, depend on the default portal container to be deployed, and will no longer work if this is disabled.
                       </para>
-                </note>
-               </taskrelated>
-          </task>
-    </section>
-
+        </note>
+      </taskrelated>
+    </task>
+  </section>
 </chapter>

Modified: epp/docs/branches/6.0/Reference_Guide/en-US/modules/PortalDevelopment/DefaultPortalPermissionConfiguration.xml
===================================================================
--- epp/docs/branches/6.0/Reference_Guide/en-US/modules/PortalDevelopment/DefaultPortalPermissionConfiguration.xml	2013-01-25 00:13:45 UTC (rev 9075)
+++ epp/docs/branches/6.0/Reference_Guide/en-US/modules/PortalDevelopment/DefaultPortalPermissionConfiguration.xml	2013-01-25 01:01:20 UTC (rev 9076)
@@ -8,7 +8,7 @@
   <section id="sect-Reference_Guide-Portal_Default_Permission_Configuration-Overview">
     <title>Overview</title>
     <para>
-   The default permission configuration for the portal is defined through the <literal>org.exoplatform.portal.config.UserACL</literal> component configuration in the <filename><replaceable>JPP_DIST</replaceable>/jboss-as/server/<replaceable>PROFILE</replaceable>/deploy/gatein.ear/02portal.war/WEB-INF/conf/portal/portal-configuration.xml</filename> file.
+   The default permission configuration for the portal is defined through the <literal>org.exoplatform.portal.config.UserACL</literal> component configuration in the <filename><replaceable>JPP_HOME</replaceable>/gatein/gatein.ear/portal.war/WEB-INF/conf/portal/portal-configuration.xml</filename> file.
   </para>
     <para>
    It defines eight permissions types:



More information about the gatein-commits mailing list