Author: jaredmorgs
Date: 2013-03-21 01:40:42 -0400 (Thu, 21 Mar 2013)
New Revision: 9219
Added:
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/PortalACLPLugin_Directive.xml
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/Portal_Navigation_Configuration_Navigators_Example.xml
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/UserPortalConfigService_Directive.xml
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default172.java
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default173.java
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default174.java
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default175.java
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default176.java
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default177.java
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default178.java
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default179.java
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/gadgets.xml
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/navigation.xml
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/pages.xml
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/portal-configuration.xml.xml
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/portal.xml
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/subpage.xml
Modified:
epp/docs/JPP/trunk/Development_Guide/en-US/Book_Info.xml
epp/docs/JPP/trunk/Development_Guide/en-US/Default_Portal_Configuration.xml
epp/docs/JPP/trunk/Development_Guide/en-US/Developer_Guide.xml
epp/docs/JPP/trunk/Development_Guide/en-US/Portal_Lifecycle.xml
epp/docs/JPP/trunk/Development_Guide/en-US/Portal_Navigation_Configuration.xml
epp/docs/JPP/trunk/Development_Guide/en-US/Portal_Permission_Configuration.xml
epp/docs/JPP/trunk/Development_Guide/en-US/Skinning_The_Portal.xml
epp/docs/JPP/trunk/Development_Guide/en-US/The_eXo_Kernel.xml
epp/docs/JPP/trunk/Development_Guide/en-US/Visual_Identity.xml
Log:
Added code samples from Reference Guide to date, and renamed the extras directory to
code_samples. Publican may not like this, but we will need to do a test publish on the
content.
Modified: epp/docs/JPP/trunk/Development_Guide/en-US/Book_Info.xml
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/Book_Info.xml 2013-03-21 02:26:49 UTC (rev
9218)
+++ epp/docs/JPP/trunk/Development_Guide/en-US/Book_Info.xml 2013-03-21 05:40:42 UTC (rev
9219)
@@ -10,7 +10,7 @@
<productnumber>6</productnumber>
<edition>6.0.0</edition>
<abstract>
- <para>The JBoss Portal Platform Developer Guide is intended for those
developing applications and gadgets for the JBoss Portal Platform product, and outlines
options and strategies for successful deployment.
+ <para>The JBoss Portal Platform Developer Guide is intended for those
developing portlet applications and gadgets for the JBoss Portal Platform product, and
outlines options and strategies for successful deployment.
</para>
</abstract>
Modified: epp/docs/JPP/trunk/Development_Guide/en-US/Default_Portal_Configuration.xml
===================================================================
(Binary files differ)
Modified: epp/docs/JPP/trunk/Development_Guide/en-US/Developer_Guide.xml
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/Developer_Guide.xml 2013-03-21 02:26:49 UTC
(rev 9218)
+++ epp/docs/JPP/trunk/Development_Guide/en-US/Developer_Guide.xml 2013-03-21 05:40:42 UTC
(rev 9219)
@@ -33,6 +33,7 @@
<part>
<title>Application Development</title>
<xi:include
xmlns:xi="http://www.w3.org/2001/XInclude"
href="Gadget_Development.xml" encoding="UTF-8"/>
+ <xi:include
xmlns:xi="http://www.w3.org/2001/XInclude"
href="../Portlet_Development_Resources.xml" encoding="UTF-8"/>
<xi:include
xmlns:xi="http://www.w3.org/2001/XInclude"
href="Portlet_Development.xml" encoding="UTF-8"/>
</part>
<part>
Modified: epp/docs/JPP/trunk/Development_Guide/en-US/Portal_Lifecycle.xml
===================================================================
(Binary files differ)
Modified: epp/docs/JPP/trunk/Development_Guide/en-US/Portal_Navigation_Configuration.xml
===================================================================
(Binary files differ)
Modified: epp/docs/JPP/trunk/Development_Guide/en-US/Portal_Permission_Configuration.xml
===================================================================
(Binary files differ)
Modified: epp/docs/JPP/trunk/Development_Guide/en-US/Skinning_The_Portal.xml
===================================================================
(Binary files differ)
Modified: epp/docs/JPP/trunk/Development_Guide/en-US/The_eXo_Kernel.xml
===================================================================
(Binary files differ)
Modified: epp/docs/JPP/trunk/Development_Guide/en-US/Visual_Identity.xml
===================================================================
(Binary files differ)
Added:
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/PortalACLPLugin_Directive.xml
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/PortalACLPLugin_Directive.xml
(rev 0)
+++
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/PortalACLPLugin_Directive.xml 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,20 @@
+<external-component-plugins>
+
<target-component>org.exoplatform.portal.config.UserACL</target-component>
+ <component-plugin>
+ <name>addPortalACLPlugin</name>
+ <set-method>addPortalACLPlugin</set-method>
+ <type>org.exoplatform.portal.config.PortalACLPlugin</type>
+ <description>setting some permission for portal</description>
+ <init-params>
+ <values-param>
+ <name>super.user</name>
+ <value>root</value>
+ </values-param>
+ <values-param>
+ <name>portal.creation.roles</name>
+ <value>*:/platform/administrators</value>
+ <value>*:/organization/management/executive-board</value>
+ </values-param>
+ </init-params>
+ </component-plugin>
+</external-component-plugins>
\ No newline at end of file
Added:
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/Portal_Navigation_Configuration_Navigators_Example.xml
===================================================================
---
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/Portal_Navigation_Configuration_Navigators_Example.xml
(rev 0)
+++
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/Portal_Navigation_Configuration_Navigators_Example.xml 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,100 @@
+<component>
+ <key>org.exoplatform.portal.config.UserPortalConfigService</key>
+ <type>org.exoplatform.portal.config.UserPortalConfigService</type>
+ <component-plugins>
+ <component-plugin>
+ <name>new.portal.config.user.listener</name>
+ <set-method>initListener</set-method>
+ <type>org.exoplatform.portal.config.NewPortalConfigListener</type>
+ <description>this listener init the portal configuration</description>
+ <init-params>
+ <value-param>
+ <name>default.portal</name>
+ <description>The default portal for checking db is empty or
not</description>
+ <value>classic</value>
+ </value-param>
+ <value-param>
+ <name>page.templates.location</name>
+ <description>the path to the location that contains Page
templates</description>
+ <value>war:/conf/portal/template/pages</value>
+ </value-param>
+ <object-param>
+ <name>site.templates.location</name>
+ <description>description</description>
+ <object
type="org.exoplatform.portal.config.SiteConfigTemplate">
+ <field name="location">
+ <string>war:/conf/portal</string>
+ </field>
+ <field name="portalTemplates">
+ <collection type="java.util.HashSet">
+ <value>
+ <string>classic</string>
+ </value>
+ </collection>
+ </field>
+ <field name="groupTemplates">
+ <collection type="java.util.HashSet">
+ <value>
+ <string>group</string>
+ </value>
+ </collection>
+ </field>
+ <field name="userTemplates">
+ <collection type="java.util.HashSet">
+ <value>
+ <string>user</string>
+ </value>
+ </collection>
+ </field>
+ </object>
+ </object-param>
+ <object-param>
+ <name>portal.configuration</name>
+ <description>description</description>
+ <object type="org.exoplatform.portal.config.NewPortalConfig">
+ <field name="predefinedOwner">
+ <collection type="java.util.HashSet">
+ <value><string>classic</string></value>
+ </collection>
+ </field>
+ <field
name="ownerType"><string>portal</string></field>
+ <field
name="templateLocation"><string>war:/conf/portal/</string></field>
+ </object>
+ </object-param>
+ <object-param>
+ <name>group.configuration</name>
+ <description>description</description>
+ <object type="org.exoplatform.portal.config.NewPortalConfig">
+ <field name="predefinedOwner">
+ <collection type="java.util.HashSet">
+
<value><string>/platform/administrators</string></value>
+ <value><string>/platform/users</string></value>
+ <value><string>/platform/guests</string></value>
+
<value><string>/organization/management/executive-board</string></value>
+ </collection>
+ </field>
+ <field
name="ownerType"><string>group</string></field>
+ <field
name="templateLocation"><string>war:/conf/portal</string></field>
+ </object>
+ </object-param>
+ <object-param>
+ <name>user.configuration</name>
+ <description>description</description>
+ <object type="org.exoplatform.portal.config.NewPortalConfig">
+ <field name="predefinedOwner">
+ <collection type="java.util.HashSet">
+ <value><string>root</string></value>
+ <value><string>john</string></value>
+ <value><string>mary</string></value>
+ <value><string>demo</string></value>
+ <value><string>user</string></value>
+ </collection>
+ </field>
+ <field
name="ownerType"><string>user</string></field>
+ <field
name="templateLocation"><string>war:/conf/portal</string></field>
+ </object>
+ </object-param>
+ </init-params>
+ </component-plugin>
+ </component-plugins>
+</component>
Added:
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/UserPortalConfigService_Directive.xml
===================================================================
---
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/UserPortalConfigService_Directive.xml
(rev 0)
+++
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/UserPortalConfigService_Directive.xml 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,20 @@
+<component>
+ <key>org.exoplatform.portal.config.UserPortalConfigService</key>
+ <type>org.exoplatform.portal.config.UserPortalConfigService</type>
+ <component-plugins>
+ <component-plugin>
+ <name>new.portal.config.user.listener</name>
+ <set-method>initListener</set-method>
+ <type>org.exoplatform.portal.config.NewPortalConfigListener</type>
+ <description>this listener init the portal
configuration</description>
+ <init-params>
+ <value-param>
+ <name>default.portal</name>
+ <description>The default portal for checking db is empty or
not</description>
+ <value>classic</value>
+ </value-param>
+ ...
+ </init-params>
+ </component-plugin>
+ </component-plugins>
+ </component>
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default172.java
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default172.java
(rev 0)
+++ epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default172.java 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,8 @@
+ LT, // Western Europe
+ RT, // Middle East (Arabic, Hebrew)
+ TL, // Japanese, Chinese, Korean
+ TR; // Mongolian
+ public boolean isLT() { ... }
+ public boolean isRT() { ... }
+ public boolean isTL() { ... }
+ public boolean isTR() { ... }
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default173.java
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default173.java
(rev 0)
+++ epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default173.java 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,5 @@
+float: left; /* orientation=lt */
+float: right; /* orientation=rt */
+font-weight: bold;
+text-align: center;
+white-space: nowrap;
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default174.java
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default174.java
(rev 0)
+++ epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default174.java 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,4 @@
+float: left; /* orientation=lt */
+font-weight: bold;
+text-align: center;
+white-space: nowrap;
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default175.java
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default175.java
(rev 0)
+++ epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default175.java 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,5 @@
+
+float: right; /* orientation=rt */
+font-weight: bold;
+text-align: center;
+white-space: nowrap;
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default176.java
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default176.java
(rev 0)
+++ epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default176.java 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,4 @@
+color: white;
+line-height: 24px;
+padding: 0px 5px 0px 0px; /* orientation=lt */
+padding: 0px 0px 0px 5px; /* orientation=rt */
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default177.java
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default177.java
(rev 0)
+++ epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default177.java 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,4 @@
+
+color: white;
+line-height: 24px;
+padding: 0px 5px 0px 0px; /* orientation=lt */
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default178.java
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default178.java
(rev 0)
+++ epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default178.java 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,4 @@
+
+color: white;
+line-height: 24px;
+padding: 0px 0px 0px 5px; /* orientation=rt */
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default179.java
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default179.java
(rev 0)
+++ epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/default179.java 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,5 @@
+line-height: 24px;
+background: url('background/NavigationTab.gif') no-repeat right top; /*
orientation=lt */
+background: url('background/NavigationTab-rt.gif') no-repeat left top; /*
orientation=rt */
+padding-right: 2px; /* orientation=lt */
+padding-left: 2px; /* orientation=rt */
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/gadgets.xml
===================================================================
(Binary files differ)
Property changes on: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/gadgets.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/navigation.xml
===================================================================
(Binary files differ)
Property changes on:
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/navigation.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/pages.xml
===================================================================
(Binary files differ)
Property changes on: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/pages.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added:
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/portal-configuration.xml.xml
===================================================================
--- epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/portal-configuration.xml.xml
(rev 0)
+++
epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/portal-configuration.xml.xml 2013-03-21
05:40:42 UTC (rev 9219)
@@ -0,0 +1,40 @@
+<component>
+ <key>org.exoplatform.portal.config.UserACL</key>
+ <type>org.exoplatform.portal.config.UserACL</type>
+ <init-params>
+ <value-param>
+ <name>super.user</name>
+ <description>administrator</description>
+ <value>root</value>
+ </value-param>
+
+ <value-param>
+ <name>portal.creator.groups</name>
+ <description>groups with membership type have permission to manage
portal</description>
+
<value>*:/platform/administrators,*:/organization/management/executive-board</value>
+ </value-param>
+
+ <value-param>
+ <name>navigation.creator.membership.type</name>
+ <description>specific membership type have full permission with group
navigation</description>
+ <value>manager</value>
+ </value-param>
+ <value-param>
+ <name>guests.group</name>
+ <description>guests group</description>
+ <value>/platform/guests</value>
+ </value-param>
+ <values-param>
+ <name>mandatory.groups</name>
+ <description>Groups that can not be deleted.</description>
+ <value>/platform/administrators</value>
+ <value>/platform/users</value>
+ <value>/platform/guests</value>
+ </values-param>
+ <values-param>
+ <name>mandatory.mstypes</name>
+ <description>Membership type that can not be deleted.</description>
+ <value>member</value>
+ </values-param>
+ </init-params>
+</component>
\ No newline at end of file
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/portal.xml
===================================================================
(Binary files differ)
Property changes on: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/portal.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml
Added: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/subpage.xml
===================================================================
(Binary files differ)
Property changes on: epp/docs/JPP/trunk/Development_Guide/en-US/code_samples/subpage.xml
___________________________________________________________________
Added: svn:mime-type
+ application/xml