gatein SVN: r2156 - in components/shindig/trunk: assembly and 7 other directories.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2010-03-11 05:29:30 -0500 (Thu, 11 Mar 2010)
New Revision: 2156
Modified:
components/shindig/trunk/assembly/pom.xml
components/shindig/trunk/features/pom.xml
components/shindig/trunk/java/common/pom.xml
components/shindig/trunk/java/gadgets/pom.xml
components/shindig/trunk/java/pom.xml
components/shindig/trunk/java/samples/pom.xml
components/shindig/trunk/java/server/pom.xml
components/shindig/trunk/java/social-api/pom.xml
components/shindig/trunk/pom.xml
Log:
Prepare patch02 release
Modified: components/shindig/trunk/assembly/pom.xml
===================================================================
--- components/shindig/trunk/assembly/pom.xml 2010-03-11 10:28:18 UTC (rev 2155)
+++ components/shindig/trunk/assembly/pom.xml 2010-03-11 10:29:30 UTC (rev 2156)
@@ -32,9 +32,9 @@
<description>Assembles the PHP code base into a deployment package.</description>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/trunk/as...</connection>
- <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/trunk/assembly</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/shindig/trunk/assembly</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/tags/1.0...</connection>
+ <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/tags/1.0-r79...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/shindig/tags/1.0-r79047...</url>
</scm>
<build>
Modified: components/shindig/trunk/features/pom.xml
===================================================================
--- components/shindig/trunk/features/pom.xml 2010-03-11 10:28:18 UTC (rev 2155)
+++ components/shindig/trunk/features/pom.xml 2010-03-11 10:29:30 UTC (rev 2156)
@@ -23,7 +23,7 @@
<parent>
<groupId>org.gatein.shindig</groupId>
<artifactId>shindig-project</artifactId>
- <version>1.0-r790473-Patch02-SNAPSHOT</version>
+ <version>1.0-r790473-Patch02</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -36,9 +36,9 @@
</description>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/trunk/fe...</connection>
- <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/trunk/features</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/shindig/trunk/features</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/tags/1.0...</connection>
+ <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/tags/1.0-r79...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/shindig/tags/1.0-r79047...</url>
</scm>
<build>
Modified: components/shindig/trunk/java/common/pom.xml
===================================================================
--- components/shindig/trunk/java/common/pom.xml 2010-03-11 10:28:18 UTC (rev 2155)
+++ components/shindig/trunk/java/common/pom.xml 2010-03-11 10:29:30 UTC (rev 2156)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.gatein.shindig</groupId>
<artifactId>shindig-parent</artifactId>
- <version>1.0-r790473-Patch02-SNAPSHOT</version>
+ <version>1.0-r790473-Patch02</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,9 +33,9 @@
<description>Common java code for Shindig</description>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/trunk/ja...</connection>
- <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/trunk/java/c...</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/shindig/trunk/java/common</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/tags/1.0...</connection>
+ <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/tags/1.0-r79...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/shindig/tags/1.0-r79047...</url>
</scm>
<build>
Modified: components/shindig/trunk/java/gadgets/pom.xml
===================================================================
--- components/shindig/trunk/java/gadgets/pom.xml 2010-03-11 10:28:18 UTC (rev 2155)
+++ components/shindig/trunk/java/gadgets/pom.xml 2010-03-11 10:29:30 UTC (rev 2156)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.gatein.shindig</groupId>
<artifactId>shindig-parent</artifactId>
- <version>1.0-r790473-Patch02-SNAPSHOT</version>
+ <version>1.0-r790473-Patch02</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -34,9 +34,9 @@
all javascript required by the OpenSocial specification.</description>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/trunk/ja...</connection>
- <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/trunk/java/g...</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/shindig/trunk/java/gadgets</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/tags/1.0...</connection>
+ <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/tags/1.0-r79...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/shindig/tags/1.0-r79047...</url>
</scm>
<build>
Modified: components/shindig/trunk/java/pom.xml
===================================================================
--- components/shindig/trunk/java/pom.xml 2010-03-11 10:28:18 UTC (rev 2155)
+++ components/shindig/trunk/java/pom.xml 2010-03-11 10:29:30 UTC (rev 2156)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.gatein.shindig</groupId>
<artifactId>shindig-project</artifactId>
- <version>1.0-r790473-Patch02-SNAPSHOT</version>
+ <version>1.0-r790473-Patch02</version>
</parent>
<artifactId>shindig-parent</artifactId>
@@ -40,9 +40,9 @@
</modules>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/trunk/java</connection>
- <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/trunk/java</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/shindig/trunk/java</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/tags/1.0...</connection>
+ <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/tags/1.0-r79...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/shindig/tags/1.0-r79047...</url>
</scm>
<properties>
Modified: components/shindig/trunk/java/samples/pom.xml
===================================================================
--- components/shindig/trunk/java/samples/pom.xml 2010-03-11 10:28:18 UTC (rev 2155)
+++ components/shindig/trunk/java/samples/pom.xml 2010-03-11 10:29:30 UTC (rev 2156)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.gatein.shindig</groupId>
<artifactId>shindig-parent</artifactId>
- <version>1.0-r790473-Patch02-SNAPSHOT</version>
+ <version>1.0-r790473-Patch02</version>
</parent>
<artifactId>shindig-samples</artifactId>
@@ -32,9 +32,9 @@
<description>Provides Sample implementations of the SPI and API's inside the core of Shindig.</description>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/trunk/ja...</connection>
- <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/trunk/java/s...</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/shindig/trunk/java/samples</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/tags/1.0...</connection>
+ <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/tags/1.0-r79...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/shindig/tags/1.0-r79047...</url>
</scm>
<repositories>
Modified: components/shindig/trunk/java/server/pom.xml
===================================================================
--- components/shindig/trunk/java/server/pom.xml 2010-03-11 10:28:18 UTC (rev 2155)
+++ components/shindig/trunk/java/server/pom.xml 2010-03-11 10:29:30 UTC (rev 2156)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.gatein.shindig</groupId>
<artifactId>shindig-parent</artifactId>
- <version>1.0-r790473-Patch02-SNAPSHOT</version>
+ <version>1.0-r790473-Patch02</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,9 +33,9 @@
<description>Default server war containing both the gadget rendering code and the social api code.</description>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/trunk/ja...</connection>
- <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/trunk/java/s...</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/shindig/trunk/java/server</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/tags/1.0...</connection>
+ <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/tags/1.0-r79...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/shindig/tags/1.0-r79047...</url>
</scm>
<properties>
Modified: components/shindig/trunk/java/social-api/pom.xml
===================================================================
--- components/shindig/trunk/java/social-api/pom.xml 2010-03-11 10:28:18 UTC (rev 2155)
+++ components/shindig/trunk/java/social-api/pom.xml 2010-03-11 10:29:30 UTC (rev 2156)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.gatein.shindig</groupId>
<artifactId>shindig-parent</artifactId>
- <version>1.0-r790473-Patch02-SNAPSHOT</version>
+ <version>1.0-r790473-Patch02</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -33,9 +33,9 @@
<description>Serves OpenSocial Data and the RESTful APIs.</description>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/trunk/ja...</connection>
- <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/trunk/java/s...</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/shindig/trunk/java/soci...</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/tags/1.0...</connection>
+ <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/tags/1.0-r79...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/shindig/tags/1.0-r79047...</url>
</scm>
<build>
Modified: components/shindig/trunk/pom.xml
===================================================================
--- components/shindig/trunk/pom.xml 2010-03-11 10:28:18 UTC (rev 2155)
+++ components/shindig/trunk/pom.xml 2010-03-11 10:29:30 UTC (rev 2156)
@@ -28,7 +28,7 @@
<groupId>org.gatein.shindig</groupId>
<artifactId>shindig-project</artifactId>
- <version>1.0-r790473-Patch02-SNAPSHOT</version>
+ <version>1.0-r790473-Patch02</version>
<packaging>pom</packaging>
<name>Apache Shindig Project</name>
@@ -48,9 +48,9 @@
<!-- S C M -->
<!-- ====================================================================== -->
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/trunk</connection>
- <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/trunk</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/shindig/trunk</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/shindig/tags/1.0...</connection>
+ <developerConnection>scm:svn:http://svn.jboss.org/repos/gatein/components/shindig/tags/1.0-r79...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/shindig/tags/1.0-r79047...</url>
</scm>
<!-- ====================================================================== -->
14 years, 9 months
gatein SVN: r2155 - portal/trunk/testsuite.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-03-11 05:28:18 -0500 (Thu, 11 Mar 2010)
New Revision: 2155
Modified:
portal/trunk/testsuite/GateIn_v3.0_MainFucntions_TestDefinition.ods
Log:
Update "GateIn_v3.0_MainFucntions_TestDefinition.ods"
Modified: portal/trunk/testsuite/GateIn_v3.0_MainFucntions_TestDefinition.ods
===================================================================
(Binary files differ)
14 years, 9 months
gatein SVN: r2154 - portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design.
by do-not-reply@jboss.org
Author: hangnguyen
Date: 2010-03-11 05:24:05 -0500 (Thu, 11 Mar 2010)
New Revision: 2154
Added:
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_022.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_023.html
portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_024.html
Log:
GTNPORTAL-842: Create new test for "POR_20_022"
GTNPORTAL-843: Create new test for "POR_20_023"
GTNPORTAL-844: Create new test for "POR_20_024"
Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_022.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_022.html (rev 0)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_022.html 2010-03-11 10:24:05 UTC (rev 2154)
@@ -0,0 +1,352 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>Test_POR_20_022</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Test_POR_20_022</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Go to Page Management--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Select Page Mangement on menu item--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Add new page for portal--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>ownerType</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>ownerType</td>
+ <td>label=portal</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//option[@value='portal']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>POR_20_022</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>title</td>
+ <td>POR_20_022</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[2]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[3]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@id='UIMaskWorkspace']/div[@class='MiddleLeftDecorator']//div[@class='TabsContainer']/div[3]//div[@class='MiddleTab']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Add new page for group --</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>ownerType</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>ownerType</td>
+ <td>label=group</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//option[@value='group']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//option[@value='group']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>ownerId</td>
+ <td>label=/organization/operations</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//option[@value='/organization/operations']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//option[@value='/organization/operations']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>name</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>POR_20_022</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>title</td>
+ <td>POR_20_022</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Access Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Search new page created--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>searchTerm</td>
+ <td>POR_20_022</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>searchOption</td>
+ <td>label=Title</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete page of user--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertConfirmation</td>
+ <td>Do you want to delete this page?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete page of group--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertConfirmation</td>
+ <td>Do you want to delete this page?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_023.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_023.html (rev 0)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_023.html 2010-03-11 10:24:05 UTC (rev 2154)
@@ -0,0 +1,392 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>Test_POR_20_023</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Test_POR_20_023</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Go to Page Management--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Select Page Mangement on menu item--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Add new page for group --</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>ownerType</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>ownerType</td>
+ <td>label=group</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//option[@value='group']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//option[@value='group']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>ownerId</td>
+ <td>label=/organization/operations</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//option[@value='/organization/operations']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//option[@value='/organization/operations']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>name</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>POR_20_023</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>title</td>
+ <td>POR_20_023</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Access Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Edit page--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//img[@title='Edit Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//img[@title='Edit Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=View Page properties</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=View Page properties</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'Template');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=Template')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'Template');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=Template')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Add Permission</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Add Permission</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Platform</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Platform</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=exact:*</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=exact:*</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Edit Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Delete Permission</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Select Permission</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='PermissionSelector']/div/div[2]/div/div[2]/div/div/div[4]/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Administrators</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>//div[@id='PermissionSelector']/div/div[3]/div/div[2]/div[4]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='PermissionSelector']/div/div[3]/div/div[2]/div[4]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[@id='UIPageEditor']/div[1]/div/div/div/a[2]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Search new page created--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>searchTerm</td>
+ <td>POR_20_023</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>searchOption</td>
+ <td>label=Title</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete page of group--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertConfirmation</td>
+ <td>Do you want to delete this page?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
Added: portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_024.html
===================================================================
--- portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_024.html (rev 0)
+++ portal/trunk/testsuite/selenium-snifftests/src/suite/org/exoplatform/portal/selenium/design/Test_POR_20_024.html 2010-03-11 10:24:05 UTC (rev 2154)
@@ -0,0 +1,227 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head profile="http://selenium-ide.openqa.org/profiles/test-case">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link rel="selenium.base" href="" />
+<title>Test_POR_20_024</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Test_POR_20_024</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/portal/public/classic/</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Go to Page Management--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign in</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>username</td>
+ <td>root</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>password</td>
+ <td>gtn</td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>xpath=//div[@id='UIPortalLoginFormAction']/div/div/div</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Select Page Mangement on menu item--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Add new page for portal--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Group</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Page Management</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPageBrowser']/div[2]/table/tbody/tr/td/div/div/div/div/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>ownerType</td>
+ <td></td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>ownerType</td>
+ <td>label=portal</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//option[@value='portal']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>name</td>
+ <td>POR_20_024</td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>title</td>
+ <td>POR_20_024</td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'UIPageTemplateOptions');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=UIPageTemplateOptions')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>//div[(a)onclick="eXo.webui.UIHorizontalTabs.changeTabForUIFormTabpane(this, 'UIPageForm', 'PermissionSetting');javascript:eXo.webui.UIForm.submitEvent('UIPageForm','SelectTab','&objectId=PermissionSetting')"]</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Access Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Edit Permission Setting</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Save</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Search new page created--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>type</td>
+ <td>searchTerm</td>
+ <td>POR_20_024</td>
+</tr>
+<tr>
+ <td>select</td>
+ <td>searchOption</td>
+ <td>label=Title</td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//form[@id='UIPageSearch']/div[2]/a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>echo</td>
+ <td>--Delete page of portal--</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//img[@title='Delete Page']</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertConfirmation</td>
+ <td>Do you want to delete this page?</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>xpath=//div[@id='UIPortalApplication']/div[@class='UIPopupWindow UIDragObject']//div[@class='MiddleLeftSideDecorator']//div[@class='UIPopupMessages']/div[@class='MessageActionBar']//a</td>
+ <td></td>
+</tr>
+<tr>
+ <td>waitForElementPresent</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAt</td>
+ <td>link=Sign out</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
14 years, 9 months
gatein SVN: r2153 - in portal/trunk/docs/reference-guide/en: modules and 1 other directory.
by do-not-reply@jboss.org
Author: mstruk
Date: 2010-03-11 05:20:38 -0500 (Thu, 11 Mar 2010)
New Revision: 2153
Added:
portal/trunk/docs/reference-guide/en/modules/Foundations.xml
Modified:
portal/trunk/docs/reference-guide/en/master.xml
Log:
GTNPORTAL-718 Added initial Foundations sections based on http://community.jboss.org/wiki/Portalcontainers
Modified: portal/trunk/docs/reference-guide/en/master.xml
===================================================================
--- portal/trunk/docs/reference-guide/en/master.xml 2010-03-11 10:05:10 UTC (rev 2152)
+++ portal/trunk/docs/reference-guide/en/master.xml 2010-03-11 10:20:38 UTC (rev 2153)
@@ -81,6 +81,7 @@
<!-- Web_Services -->
<!-- GateIn_Core -->
<!-- GateIn_Kernel -->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="modules/Foundations.xml" />
<!-- 10_Development_ -->
Added: portal/trunk/docs/reference-guide/en/modules/Foundations.xml
===================================================================
--- portal/trunk/docs/reference-guide/en/modules/Foundations.xml (rev 0)
+++ portal/trunk/docs/reference-guide/en/modules/Foundations.xml 2010-03-11 10:20:38 UTC (rev 2153)
@@ -0,0 +1,525 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<chapter id="chap-Reference_Guide-Foundations" xmlns:x="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
+ <!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ 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.
+
+ -->
+ <title>Foundations</title>
+ <section id="sect-Reference_Guide-Foundations-Kernel">
+ <title>GateIn Kernel</title>
+ <para>
+ GateIn is built on top of eXo platform, which is composed of a kernel, and a set of services that exist in two
+ scopes.
+ First scope is represented by RootContainer - it contains services that exist independently of any portal, and can be
+ accessed by all portals.
+ </para>
+ <para>
+ Second scope is portal-private in the form of PortalContainer. For each configured portal, an instance of
+ PortalContainer is created.
+ This scope contains services that have portal specific configuration, and services which should not be shared by
+ multiple portals.
+ </para>
+
+ <para>
+ RootContainer and PortalContainer classes are part of the same class hierarchy - they both inherit from ExoContainer,
+ which provides ExoContainerContext handling, and they also inherit methods for looking up registered services.
+ </para>
+ <para>
+ Whenever a specific service is looked up through PortalContainer, and service is not available, the lookup is
+ delegated further up to RootContainer. We can therefore have default instance of a certain component in
+ RootContainer and portal specific instances in some, or all PortalContainers, that override the default
+ instance.
+ </para>
+ <para>
+ Whenever your portal application has to be integrated more closely with GateIn services, the way to do it is by
+ looking up these services through PortalContainer. Be careful though - only officially documented services
+ should be accessed this way, and used according to documentation, as most of the services are an implementation
+ detail of GateIn, and subject to change without notice.
+ </para>
+ </section>
+
+ <section id="sect-Reference_Guide-Foundations-Configuring_services">
+ <title>Configuring services</title>
+
+ <para>GateIn Kernel uses dependency injection to create services based on configuration.xml configuration files.
+ The location of the configuration files determines if services are placed into RootContainer scope, or into PortalContainer scope.
+ All configuration.xml files located at conf/configuration.xml in the classpath (any directory, or any jar in the classpath) will have their
+ services configured at RootContainer scope.
+ All configuration.xml files located at conf/portal/configuration.xml in the classpath will have their services configured at PortalContainer scope.
+ Additionally, portal extensions can contain configuration in WEB-INF/conf/configuration.xml, and will also have their services configured at PortalContainer scope.
+ </para>
+ <note>
+ Portal extensions are described later on.
+ </note>
+
+ </section>
+
+ <section id="sect-Reference_Guide-Foundations-Configuration_syntax">
+ <title>Configuration syntax</title>
+
+ <section id="sect-Reference_Guide-Foundations-Configuration_syntax-Component">
+ <title>Components</title>
+ <para>A service component is defined in configuration.xml by using <component> element.</para>
+ <para>There is only one required information when defining a service - the service implementation class, specified using <type></para>
+ <para>Every component has a <key> that identifies it. If not explicitly set, a key defaults to the value of <type>.
+ If key can be loaded as a class, a Class object is used as a key, otherwise a String is used.</para>
+ <para>The usual approach is to specify an interface as a key.</para>
+
+ <note>Example of service component configuration:</note>
+
+ <programlisting role="XML"><![CDATA[
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<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_0.xsd"
+ xmlns="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd">
+ <component>
+ <key>org.exoplatform.services.database.HibernateService</key>
+ <type>org.exoplatform.services.database.impl.HibernateServiceImpl</type>
+
+ ...
+
+ </component>
+</configuration>
+ ]]></programlisting>
+ </section>
+ <section id="sect-Reference_Guide-Foundations-Configuration_syntax-External_plugins">
+ <title>External Plugins</title>
+ <para>GateIn Kernel supports non-component objects that can be configured, instantiated, and injected into registered components, using method calls.
+ The mechanism is called 'plugins', and allows portal extensions to add additional configurations to core services.</para>
+ <para>External plugin is defined by using <external-component-plugins> wrapper element which contains one or more
+ <component-plugin> definitions. <external-component-plugins> uses <target-component> to specify a target service component that will receive injected objects.</para>
+ <para>Every <component-plugin> defines an implementation type, and a method on target component
+ to use for injection (<set-method>). </para>
+ <para>A plugin implementation class has to implement org.exoplatform.container.component.ComponentPlugin interface.</para>
+ <para>In the following example PortalContainerDefinitionPlugin implements ComponentPlugin:</para>
+
+ <programlisting 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_0.xsd"
+ xmlns="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd">
+
+ <external-component-plugins>
+ <target-component>org.exoplatform.container.definition.PortalContainerConfig</target-component>
+ <component-plugin>
+ <!-- The name of the plugin -->
+ <name>Add PortalContainer Definitions</name>
+
+ <!-- The name of the method to call on the PortalContainerConfig
+ in order to register the PortalContainerDefinitions -->
+ <set-method>registerPlugin</set-method>
+
+ <!-- The fully qualified name of the PortalContainerDefinitionPlugin -->
+ <type>org.exoplatform.container.definition.PortalContainerDefinitionPlugin</type>
+
+ ...
+
+ </component-plugin>
+ </external-component-plugins>
+</configuration>
+ ]]></programlisting>
+ </section>
+
+ <section id="sect-Reference_Guide-Foundations-Configuration_syntax-Includes">
+ <title>Includes, and special URLs</title>
+ <para>It is possible to break configuration.xml file into many smaller files, that are then included into a 'master' configuration file.
+ The included files are complete configuration xml documents by themselves - they are not fragments of text.</para>
+ <para>An example configuration.xml that 'outsources' its content into several files:</para>
+ <programlisting role="XML"><![CDATA[
+<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_0.xsd"
+ xmlns="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd">
+
+ <import>war:/conf/sample-ext/jcr/jcr-configuration.xml</import>
+ <import>war:/conf/sample-ext/portal/portal-configuration.xml</import>
+
+</configuration>
+ ]]></programlisting>
+
+ <para>We see a special URL being used to reference another configuration file.
+ URL schema 'war:' means, that the path that follows is resolved relative to current PortalContainer's servlet context resource path, starting at WEB-INF as a root.</para>
+ <note>Current PortalContainer is really a newly created PortalContainer, as war: URLs only make sense for PortalContainer scoped configuration.</note>
+ <para>Also, thanks to extension mechanism, the servlet context used for resource loading is a unified servlet context (as explaned in a later section).</para>
+ <para>To have include path resolved relative to current classpath (context classloader), use 'jar:' URL schema.</para>
+ </section>
+
+ <section id="sect-Reference_Guide-Foundations-Configuration_syntax-Special_vars">
+ <title>Special variables</title>
+ <para>Configuration files may contain a special variable reference ${container.name.suffix}. This variable resolves to the name of the current portal container, prefixed by underscore (_).
+ This facilitates reuse of configuration files in situations where portal specific unique names need to be assigned to some resources
+ (i.e. JNDI names, Database / DataSource names, JCR repository names, etc ...).</para>
+ <para>This variable is only defined when there is a current PortalContainer available - only for PortalContainer scoped services.</para>
+ <para>A good example for this is HibernateService:</para>
+ <programlisting role="XML"><![CDATA[
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<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_0.xsd"
+ xmlns="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd">
+
+ <component>
+ <key>org.exoplatform.services.database.HibernateService</key>
+ <jmx-name>database:type=HibernateService</jmx-name>
+ <type>org.exoplatform.services.database.impl.HibernateServiceImpl</type>
+ <init-params>
+ <properties-param>
+ <name>hibernate.properties</name>
+ <description>Default Hibernate Service</description>
+ <property name="hibernate.show_sql" value="false" />
+ <property name="hibernate.cglib.use_reflection_optimizer" value="true" />
+ <property name="hibernate.connection.url"
+ value="jdbc:hsqldb:file:../temp/data/exodb${container.name.suffix}" />
+ <property name="hibernate.connection.driver_class" value="org.hsqldb.jdbcDriver" />
+ <property name="hibernate.connection.autocommit" value="true" />
+ <property name="hibernate.connection.username" value="sa" />
+ <property name="hibernate.connection.password" value="" />
+ <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect" />
+ <property name="hibernate.c3p0.min_size" value="5" />
+ <property name="hibernate.c3p0.max_size" value="20" />
+ <property name="hibernate.c3p0.timeout" value="1800" />
+ <property name="hibernate.c3p0.max_statements" value="50" />
+ </properties-param>
+ </init-params>
+ </component>
+</configuration>
+ ]]></programlisting>
+
+ </section>
+ </section>
+
+ <section id="sect-Reference_Guide-Foundations-Configuring_portal">
+ <title>Configuring a portal</title>
+
+ <para>
+ A portal is defined by several attributes.
+ </para>
+
+ <para>
+ First, there is a portal name, which is always equal to URL context to which the current portal is bound.
+ </para>
+
+ <para>
+ Second, there is a REST context name, which is used for REST access to portal application - every portal has
+ exactly one (unique) REST context name.
+ </para>
+
+ <para>
+ Then, there is a realm name which is the name of security realm used for authentication when users log into the
+ portal.
+ </para>
+
+ <para>
+ Finally, there is a list of dependencies - other web applications, whose resources are visible to current
+ portal (via extension mechanism described later), and are searched in the specified order.
+ </para>
+
+ <programlisting 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_0.xsd"
+ xmlns="http://www.exoplaform.org/xml/ns/kernel_1_0.xsd">
+
+ <external-component-plugins>
+ <!-- The full qualified name of the PortalContainerConfig -->
+ <target-component>org.exoplatform.container.definition.PortalContainerConfig</target-component>
+
+ <component-plugin>
+ <!-- The name of the plugin -->
+ <name>Add PortalContainer Definitions</name>
+
+ <!-- The name of the method to call on the PortalContainerConfig
+ in order to register the PortalContainerDefinitions -->
+ <set-method>registerPlugin</set-method>
+
+ <!-- The full qualified name of the PortalContainerDefinitionPlugin -->
+ <type>org.exoplatform.container.definition.PortalContainerDefinitionPlugin</type>
+
+ <init-params>
+ <object-param>
+ <name>portal</name>
+ <object type="org.exoplatform.container.definition.PortalContainerDefinition">
+ <!-- The name of the portal container -->
+ <field name="name"><string>portal</string></field>
+
+ <!-- The name of the context name of the rest web application -->
+ <field name="restContextName"><string>rest</string></field>
+
+ <!-- The name of the realm -->
+ <field name="realmName"><string>exo-domain</string></field>
+
+ <!-- All the dependencies of the portal container ordered by loading priority -->
+ <field name="dependencies">
+ <collection type="java.util.ArrayList">
+ <value>
+ <string>eXoResources</string>
+ </value>
+ <value>
+ <string>portal</string>
+ </value>
+ <value>
+ <string>dashboard</string>
+ </value>
+ <value>
+ <string>exoadmin</string>
+ </value>
+ <value>
+ <string>eXoGadgets</string>
+ </value>
+ <value>
+ <string>eXoGadgetServer</string>
+ </value>
+ <value>
+ <string>rest</string>
+ </value>
+ <value>
+ <string>web</string>
+ </value>
+ <value>
+ <string>wsrp-producer</string>
+ </value>
+ <!-- The sample-ext has been added at the end of the dependency list
+ in order to have the highest priority -->
+ <value>
+ <string>sample-ext</string>
+ </value>
+ </collection>
+ </field>
+ </object>
+ </object-param>
+ </init-params>
+ </component-plugin>
+ </external-component-plugins>
+</configuration>
+ ]]>
+</programlisting>
+
+
+ <para>
+ Dependencies are part of the extension mechanism.
+ </para>
+
+ <para>
+ Every portal is represented by PortalContainer instance, which contains:
+ <itemizedlist>
+ <listitem>associated ExoContainerContext, which contains information about the portal</listitem>
+ <listitem>unified servlet context, for web-archive-relative resource loading</listitem>
+ <listitem>unified classloader, for classpath based resource loading</listitem>
+ <listitem>methods for retrieving services</listitem>
+ </itemizedlist>
+ </para>
+
+ <para>
+ Unified servlet context, and unified classloader are part of the extension mechanism (explained in next section),
+ and provide standard API (ServletContext, ClassLoader) with specific resource loading behavior - visibility into associated web application archives,
+ configured with Dependencies property of PortalContainerDefinition. Resources from other web applications are queried in the order specified by Dependencies.
+ The later entries in the list override the previous ones.
+ </para>
+ </section>
+
+ <section id="sect-Reference_Guide-Foundations-Extension_mechanism">
+ <title>GateIn Extension Mechanism</title>
+
+ <para>
+ Extension mechanism is a functionality that makes it possible to override portal resources in an almost
+ plug-and-play fashion - just drop in a .war archive with the resources, and configure its position on the
+ classpath.
+ This way any customizations of the portal don't have to involve unpacking and repacking the original portal
+ .war archives. Instead, you create your own .war archive with changed resources, that override the resources in
+ the original archive.
+ </para>
+
+ <para>
+ TODO: Configuring the classpath via PortalContainerDefinition's Dependencies property.
+ </para>
+ <para>
+ TODO: Using PortalConfigOwner servlet context listener to announce resource availability.
+ </para>
+ </section>
+
+ <section id="sect-Reference_Guide-Foundations-Multiple_portals">
+ <title>Running Multiple Portals</title>
+
+ <para>
+ It is possible to run several independent portal containers - each bound to a different URL context - within
+ the same JVM instance. This kind of setup is very efficient from administration and resource consumption
+ aspect. The most elegant way to reuse configuration for different coexisting portals is by way of extension
+ mechanism - by inheriting resources and configuration from existing web archives, and just adding extra resources to it,
+ and overriding those that need to be changed by including modified copies of specific resources.
+ </para>
+
+ <para>
+ In order for a portal application to correctly function when deployed in multiple portals, the application may
+ have to dynamically query the information about the current portal container. The application should not make
+ any assumptions about the name of the current portal, as there are now multiple different portals in play.
+ </para>
+
+ <para>
+ At any point during request processing, or lifecycle event processing, your application can retrieve this
+ information through org.exoplatform.container.ExoContainerContext.
+ Sometimes your application needs to make sure that the proper PortalContainer - the source of ExoContainerContext - is associated with the
+ current call.
+ </para>
+
+ <para>
+ If you ship servlets or servlet filters as part of your portal application, and if you need to access portal
+ specific resources at any time during the processing of the servlet or filter request, then you need to make
+ sure the servlet/filter is associated with the current container.
+ </para>
+ <para>
+ The proper way to do that is to make your servlet extend org.exoplatform.container.web.AbstractHttpServlet
+ class.
+ This will not only properly initialize current PortalContainer for you, but will also set the current thread's
+ context classloader to one that looks for resources in associated web applications in the order specified by
+ Dependencies configuration (as explained in Extension mechanism section).
+ </para>
+ <para>
+ Similarly for filters, make sure your filter class extends org.exoplatform.container.web.AbstractFilter.
+ Both AbstractHttpServlet, and AbstractFilter have a method getContainer(), which returns the current
+ PortalContainer.
+
+ If your servlet handles the requests by implementing a service() method, you need to rename that method to match
+ the following signature:
+ <programlisting role="JAVA"><![CDATA[
+/**
+ * Use this method instead of Servlet.service()
+ */
+protected void onService(ExoContainer container, HttpServletRequest req,
+ HttpServletResponse res) throws ServletException, IOException;
+ ]]></programlisting>
+
+ </para>
+ <para>
+ The reason is that AbstractHttpServlet implements service() to perform its interception, and you don't want to
+ overwrite (by overriding) this functionality.
+ </para>
+ <para>
+ You may also need to access portal information within your HttpSessionListener. Again, make sure to extend the
+ provided abstract class - org.exoplatform.container.web.AbstractHttpSessionListener.
+ Also, modify your method signitures as follows:
+ <programlisting role="JAVA"><![CDATA[
+/**
+ * Use this method instead of HttpSessionListener.sessionCreated()
+ */
+protected void onSessionCreated(ExoContainer container, HttpSessionEvent event);
+
+/**
+ * Use this method instead of HttpSessionListener.sessionDestroyed()
+ */
+protected void onSessionDestroyed(ExoContainer container, HttpSessionEvent event);
+ ]]></programlisting>
+ </para>
+ <para>
+ There is another method you have to implement in this case:
+ <programlisting role="JAVA"><![CDATA[
+protected boolean requirePortalEnvironment();
+ ]]></programlisting>
+
+ If this method returns true, current thread's context classloader is set up according to Dependencies
+ configuration, and availability of the associated web applications. If it returns false, the standard
+ application separation rules are used for resource loading (effectively turning off the
+ extension mechanism). This method exists on AbstractHttpServlet and AbstractFilter as well, where there is a
+ default implementation that automatically returns true, when it detects there is a current PortalContainer
+ present, otherwise it returns false.
+
+ </para>
+
+ <para>
+ We still have to explain how to properly perform ServletContextListener based initialization, when you need
+ access to current PortalContainer.
+ </para>
+
+ <para>
+ GateIn has no direct control over the deployment of application archives (.war, .ear files) - it is the
+ application server that performs the deployment. For extension mechanism to work properly, the applications,
+ associated with the portal via Dependencies configuration, have to be deployed before the portal, that depends
+ on them, is initialized. On the other hand, these applications may require an already initialized PortalContainer
+ to properly initialize themselves - we have a recursive dependency problem. To resolve this problem, a
+ mechanism of initialization tasks, and task queues, was put in place. Web applications that depend on current
+ PortalContainer for their initialization have to avoid performing their initialization directly in some
+ ServletContextListener executed during their deployment (before any PortalContainer was initialized). Instead,
+ a web application should package its initialization logic into an init task of appropriate type, and only use
+ ServletContextListener to insert the init task instance into the proper init tasks queue.
+ </para>
+
+ <para>An example of this is Gadgets application which registers Google gadgets with the current PortalContainer:
+ </para>
+
+ <programlisting role="JAVA"><![CDATA[
+public class GadgetRegister implements ServletContextListener
+{
+ public void contextInitialized(ServletContextEvent event)
+ {
+ // Create a new post-init task
+ final PortalContainerPostInitTask task = new PortalContainerPostInitTask() {
+
+ public void execute(ServletContext context, PortalContainer portalContainer)
+ {
+ try
+ {
+ SourceStorage sourceStorage =
+ (SourceStorage) pcontainer.getComponentInstanceOfType(SourceStorage.class);
+ ...
+ }
+ catch (RuntimeException e)
+ {
+ throw e;
+ }
+ catch (Exception e)
+ {
+ throw new RuntimeException("Initialization failed: ", e);
+ }
+ }
+ };
+
+ // Add post-init task for execution on all the portal containers that depend on the given ServletContext
+ // according to the PortalContainerDefinitions (via Dependencies configuration)
+ PortalContainer.addInitTask(event.getServletContext(), task);
+ }
+}
+ ]]></programlisting>
+
+ <para>
+ The above example uses PortalContainerPostInitTask, which gets executed after the portal container has been
+ initialized. In some situations you may want to execute initialization after portal container was instantiated
+ but before it was initialized - use PortalContainerPreInitTask in that case. Or, you may want to execute
+ initialization after all the post-init tasks have been executed - use PortalContainerPostCreateTask in that
+ case.
+ </para>
+
+ <para>
+ One more area that may need your attention are LoginModules. If you use custom LoginModules, that require
+ current ExoContainer, make sure they extend org.exoplatform.services.security.jaas.AbstractLoginModule for
+ proper initialization. AbstractLoginModule also takes care of the basic configuration - it recognizes two
+ initialization options - portalContainerName, and realmName whose values you can access via protected fields of
+ the same name.
+ </para>
+
+ </section>
+
+</chapter>
\ No newline at end of file
14 years, 9 months
gatein SVN: r2152 - in components/shindig/trunk: java/common and 4 other directories.
by do-not-reply@jboss.org
Author: mpodolin
Date: 2010-03-11 05:05:10 -0500 (Thu, 11 Mar 2010)
New Revision: 2152
Modified:
components/shindig/trunk/java/common/pom.xml
components/shindig/trunk/java/gadgets/pom.xml
components/shindig/trunk/java/samples/pom.xml
components/shindig/trunk/java/server/pom.xml
components/shindig/trunk/java/social-api/pom.xml
components/shindig/trunk/pom.xml
Log:
JBEPP-184: removed the google-code repository for guice and refactored a dependency declaration
Modified: components/shindig/trunk/java/common/pom.xml
===================================================================
--- components/shindig/trunk/java/common/pom.xml 2010-03-11 09:50:40 UTC (rev 2151)
+++ components/shindig/trunk/java/common/pom.xml 2010-03-11 10:05:10 UTC (rev 2152)
@@ -87,6 +87,10 @@
<artifactId>guice</artifactId>
</dependency>
<dependency>
+ <groupId>com.google.code.guice</groupId>
+ <artifactId>guice-jmx</artifactId>
+ </dependency>
+ <dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
</dependency>
Modified: components/shindig/trunk/java/gadgets/pom.xml
===================================================================
--- components/shindig/trunk/java/gadgets/pom.xml 2010-03-11 09:50:40 UTC (rev 2151)
+++ components/shindig/trunk/java/gadgets/pom.xml 2010-03-11 10:05:10 UTC (rev 2152)
@@ -160,6 +160,10 @@
<artifactId>guice</artifactId>
</dependency>
<dependency>
+ <groupId>com.google.code.guice</groupId>
+ <artifactId>guice-jmx</artifactId>
+ </dependency>
+ <dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
</dependency>
Modified: components/shindig/trunk/java/samples/pom.xml
===================================================================
--- components/shindig/trunk/java/samples/pom.xml 2010-03-11 09:50:40 UTC (rev 2151)
+++ components/shindig/trunk/java/samples/pom.xml 2010-03-11 10:05:10 UTC (rev 2152)
@@ -98,6 +98,10 @@
<artifactId>guice</artifactId>
</dependency>
<dependency>
+ <groupId>com.google.code.guice</groupId>
+ <artifactId>guice-jmx</artifactId>
+ </dependency>
+ <dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
</dependency>
Modified: components/shindig/trunk/java/server/pom.xml
===================================================================
--- components/shindig/trunk/java/server/pom.xml 2010-03-11 09:50:40 UTC (rev 2151)
+++ components/shindig/trunk/java/server/pom.xml 2010-03-11 10:05:10 UTC (rev 2152)
@@ -154,6 +154,10 @@
<artifactId>guice</artifactId>
</dependency>
<dependency>
+ <groupId>com.google.code.guice</groupId>
+ <artifactId>guice-jmx</artifactId>
+ </dependency>
+ <dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
</dependency>
Modified: components/shindig/trunk/java/social-api/pom.xml
===================================================================
--- components/shindig/trunk/java/social-api/pom.xml 2010-03-11 09:50:40 UTC (rev 2151)
+++ components/shindig/trunk/java/social-api/pom.xml 2010-03-11 10:05:10 UTC (rev 2152)
@@ -93,6 +93,10 @@
<artifactId>guice</artifactId>
</dependency>
<dependency>
+ <groupId>com.google.code.guice</groupId>
+ <artifactId>guice-jmx</artifactId>
+ </dependency>
+ <dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
</dependency>
Modified: components/shindig/trunk/pom.xml
===================================================================
--- components/shindig/trunk/pom.xml 2010-03-11 09:50:40 UTC (rev 2151)
+++ components/shindig/trunk/pom.xml 2010-03-11 10:05:10 UTC (rev 2152)
@@ -1193,10 +1193,13 @@
<id>oauth</id>
<url>http://oauth.googlecode.com/svn/code/maven</url>
</repository>
+<!--
+commenting out the "snapshot" repository for guice
<repository>
<id>guice</id>
<url>http://guice-maven.googlecode.com/svn/trunk/</url>
</repository>
+-->
<!-- for jstl-1.2 for now.. -->
<repository>
<id>java.net</id>
@@ -1302,6 +1305,11 @@
<artifactId>guice</artifactId>
<version>2.0</version>
</dependency>
+ <dependency>
+ <groupId>com.google.code.guice</groupId>
+ <artifactId>guice-jmx</artifactId>
+ <version>2.0</version>
+ </dependency>
<!-- dependency not declared in guice pom -->
<dependency>
<groupId>aopalliance</groupId>
14 years, 9 months
gatein SVN: r2151 - in portal/trunk: component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping and 2 other directories.
by do-not-reply@jboss.org
Author: julien_viet
Date: 2010-03-11 04:50:40 -0500 (Thu, 11 Mar 2010)
New Revision: 2151
Added:
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/producer-pc-nodetypes.xml
Removed:
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/producer-portlet-states-nodetypes.xml
Modified:
portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/JCRPersister.java
portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateContextMapping.java
portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateContextsMapping.java
portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateMapping.java
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/jcr-configuration.xml
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml
Log:
renaming portlet-states-system -> pc-system / portlet: namespace to pc:
Modified: portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/JCRPersister.java
===================================================================
--- portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/JCRPersister.java 2010-03-11 09:41:13 UTC (rev 2150)
+++ portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/JCRPersister.java 2010-03-11 09:50:40 UTC (rev 2151)
@@ -47,7 +47,7 @@
{
private Chromattic chrome;
public static final String WSRP_WORKSPACE_NAME = "wsrp-system";
- public static final String PORTLET_STATES_WORKSPACE_NAME = "portlet-states-system";
+ public static final String PORTLET_STATES_WORKSPACE_NAME = "pc-system";
private static final String REPOSITORY_NAME = "repository";
private String workspaceName;
Modified: portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateContextMapping.java
===================================================================
--- portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateContextMapping.java 2010-03-11 09:41:13 UTC (rev 2150)
+++ portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateContextMapping.java 2010-03-11 09:50:40 UTC (rev 2151)
@@ -38,7 +38,7 @@
@PrimaryType(name = PortletStateContextMapping.NODE_NAME)
public abstract class PortletStateContextMapping
{
- public static final String NODE_NAME = "portlet:statecontext";
+ public static final String NODE_NAME = "pc:statecontext";
@Id
public abstract String getPersistentKey();
Modified: portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateContextsMapping.java
===================================================================
--- portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateContextsMapping.java 2010-03-11 09:41:13 UTC (rev 2150)
+++ portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateContextsMapping.java 2010-03-11 09:50:40 UTC (rev 2151)
@@ -40,7 +40,7 @@
@FormattedBy(JCRPersister.PortletNameFormatter.class)
public abstract class PortletStateContextsMapping
{
- public static final String NODE_NAME = "portlet:producerstates";
+ public static final String NODE_NAME = "pc:producerstates";
@OneToMany
public abstract Collection<PortletStateContextMapping> getPortletStateContexts();
Modified: portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateMapping.java
===================================================================
--- portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateMapping.java 2010-03-11 09:41:13 UTC (rev 2150)
+++ portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/state/mapping/PortletStateMapping.java 2010-03-11 09:50:40 UTC (rev 2151)
@@ -46,10 +46,10 @@
@PrimaryType(name = PortletStateMapping.NODE_NAME)
public abstract class PortletStateMapping
{
- public static final String NODE_NAME = "portlet:state";
+ public static final String NODE_NAME = "pc:state";
- private static final String PORTLET_ID = "portlet:portletid";
- private static final String TERMINATION_TIME = "portlet:terminationtime";
+ private static final String PORTLET_ID = "pc:portletid";
+ private static final String TERMINATION_TIME = "pc:terminationtime";
private static final ObjectToStringListConverter VALUE_CONVERTER = new ObjectToStringListConverter();
private static final MappedMap<String, List<String>> mappedMap =
Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/jcr-configuration.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/jcr-configuration.xml 2010-03-11 09:41:13 UTC (rev 2150)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/jcr-configuration.xml 2010-03-11 09:50:40 UTC (rev 2151)
@@ -100,7 +100,7 @@
<property name="app" value="http://www.gatein.org/jcr/application-registry/1.0/"/>
<property name="lgn" value="http://www.gatein.org/jcr/autologin/1.0/"/>
<property name="wsrp" value="http://www.gatein.org/jcr/wsrp/1.0/"/>
- <property name="portlet" value="http://www.gatein.org/jcr/portlet/1.0/"/>
+ <property name="pc" value="http://www.gatein.org/jcr/pc/1.0/"/>
</properties-param>
</init-params>
</component-plugin>
@@ -122,7 +122,7 @@
<value>war:/conf/wsrp/consumers-configuration-nodetypes.xml</value>
<value>war:/conf/wsrp/producer-configuration-nodetypes.xml</value>
<value>war:/conf/wsrp/producer-registrations-nodetypes.xml</value>
- <value>war:/conf/wsrp/producer-portlet-states-nodetypes.xml</value>
+ <value>war:/conf/wsrp/producer-pc-nodetypes.xml</value>
</values-param>
</init-params>
</component-plugin>
Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml 2010-03-11 09:41:13 UTC (rev 2150)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml 2010-03-11 09:50:40 UTC (rev 2151)
@@ -293,7 +293,7 @@
</workspace>
<!-- Producer portlet states -->
- <workspace name="portlet-states-system">
+ <workspace name="pc-system">
<container class="org.exoplatform.services.jcr.impl.storage.jdbc.optimisation.CQJDBCWorkspaceDataContainer">
<properties>
<property name="source-name" value="${gatein.jcr.datasource.name}${container.name.suffix}"/>
@@ -301,13 +301,12 @@
<property name="multi-db" value="false"/>
<property name="update-storage" value="true"/>
<property name="max-buffer-size" value="204800"/>
- <property name="swap-directory" value="${gatein.jcr.data.dir}/swap/portlet-states${container.name.suffix}"/>
+ <property name="swap-directory" value="${gatein.jcr.data.dir}/swap/pc${container.name.suffix}"/>
</properties>
<value-storages>
- <value-storage id="gadgets"
- class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <value-storage id="gadgets" class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
<properties>
- <property name="path" value="${gatein.jcr.storage.data.dir}/portlet-states${container.name.suffix}"/>
+ <property name="path" value="${gatein.jcr.storage.data.dir}/pc${container.name.suffix}"/>
</properties>
<filters>
<filter property-type="Binary"/>
@@ -318,40 +317,36 @@
<initializer class="org.exoplatform.services.jcr.impl.core.ScratchWorkspaceInitializer">
<properties>
<property name="root-nodetype" value="nt:unstructured"/>
- <property name="root-permissions"
- value="any read;*:/platform/administrators read;*:/platform/administrators add_node;*:/platform/administrators set_property;*:/platform/administrators remove"/>
+ <property name="root-permissions" value="any read;*:/platform/administrators read;*:/platform/administrators add_node;*:/platform/administrators set_property;*:/platform/administrators remove"/>
</properties>
</initializer>
<cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
<properties>
- <property name="jbosscache-configuration"
- value="conf/jcr/jbosscache/${gatein.jcr.config.type}/config.xml"/>
+ <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/config.xml"/>
<property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml"/>
<property name="jgroups-multiplexer-stack" value="true"/>
- <property name="jbosscache-cluster-name" value="jcr-${container.name.suffix}-portlet-states-system"/>
+ <property name="jbosscache-cluster-name" value="jcr-${container.name.suffix}-pc-system"/>
</properties>
</cache>
<query-handler class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
<properties>
- <property name="index-dir" value="${gatein.jcr.index.data.dir}/portlet-states-system${container.name.suffix}"/>
+ <property name="index-dir" value="${gatein.jcr.index.data.dir}/pc-system${container.name.suffix}"/>
<property name="changesfilter-class" value="${gatein.jcr.index.changefilterclass}"/>
<property name="jbosscache-configuration" value="conf/jcr/jbosscache/cluster/indexer-config.xml"/>
<property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml"/>
<property name="jgroups-multiplexer-stack" value="true"/>
- <property name="jbosscache-cluster-name" value="jcrindexer-${container.name.suffix}-portlet-states-system"/>
+ <property name="jbosscache-cluster-name" value="jcrindexer-${container.name.suffix}-pc-system"/>
<property name="max-volatile-time" value="60"/>
</properties>
</query-handler>
<lock-manager class="org.exoplatform.services.jcr.impl.core.lock.jbosscache.CacheableLockManagerImpl">
<properties>
<property name="time-out" value="15m"/>
- <property name="jbosscache-configuration"
- value="conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml"/>
+ <property name="jbosscache-configuration" value="conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml"/>
<property name="jgroups-configuration" value="jar:/conf/jcr/jbosscache/cluster/udp-mux.xml"/>
<property name="jgroups-multiplexer-stack" value="true"/>
- <property name="jbosscache-cluster-namejbosscache-cluster-name"
- value="jcrlock-${container.name.suffix}-system"/>
+ <property name="jbosscache-cluster-namejbosscache-cluster-name" value="jcrlock-${container.name.suffix}-system"/>
<property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlock_portlet_state_system"/>
<property name="jbosscache-cl-cache.jdbc.table.create" value="true"/>
<property name="jbosscache-cl-cache.jdbc.table.drop" value="false"/>
@@ -359,8 +354,7 @@
<property name="jbosscache-cl-cache.jdbc.fqn.column" value="fqn"/>
<property name="jbosscache-cl-cache.jdbc.node.column" value="node"/>
<property name="jbosscache-cl-cache.jdbc.parent.column" value="parent"/>
- <property name="jbosscache-cl-cache.jdbc.datasource"
- value="${gatein.jcr.datasource.name}${container.name.suffix}"/>
+ <property name="jbosscache-cl-cache.jdbc.datasource" value="${gatein.jcr.datasource.name}${container.name.suffix}"/>
</properties>
</lock-manager>
</workspace>
Copied: portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/producer-pc-nodetypes.xml (from rev 2145, portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/producer-portlet-states-nodetypes.xml)
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/producer-pc-nodetypes.xml (rev 0)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/producer-pc-nodetypes.xml 2010-03-11 09:50:40 UTC (rev 2151)
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2010, 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.
+ -->
+
+<nodeTypes xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
+ xmlns:jcr="http://www.jcp.org/jcr/1.0">
+ <nodeType name="pc:producerstates" isMixin="false" hasOrderableChildNodes="false">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ <supertype>mix:referenceable</supertype>
+ </supertypes>
+ <propertyDefinitions/>
+ <childNodeDefinitions>
+ <childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>pc:statecontext</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="pc:statecontext" isMixin="false" hasOrderableChildNodes="false">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ <supertype>mix:referenceable</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="id" requiredType="String" autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false" multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions>
+ <childNodeDefinition name="state" defaultPrimaryType="pc:state" autoCreated="true" mandatory="false"
+ onParentVersion="COPY" protected="false" sameNameSiblings="false">
+ <requiredPrimaryTypes>
+ <requiredPrimaryType>pc:state</requiredPrimaryType>
+ </requiredPrimaryTypes>
+ </childNodeDefinition>
+ </childNodeDefinitions>
+ </nodeType>
+
+ <nodeType name="pc:state" isMixin="false" hasOrderableChildNodes="false">
+ <supertypes>
+ <supertype>nt:base</supertype>
+ <supertype>mix:referenceable</supertype>
+ </supertypes>
+ <propertyDefinitions>
+ <propertyDefinition name="pc:portletid" requiredType="String" autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false" multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ <propertyDefinition name="pc:terminationtime" requiredType="Date" autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false" multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false" multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
+ </propertyDefinitions>
+ <childNodeDefinitions/>
+ </nodeType>
+
+</nodeTypes>
Deleted: portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/producer-portlet-states-nodetypes.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/producer-portlet-states-nodetypes.xml 2010-03-11 09:41:13 UTC (rev 2150)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/producer-portlet-states-nodetypes.xml 2010-03-11 09:50:40 UTC (rev 2151)
@@ -1,86 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ JBoss, a division of Red Hat
- ~ Copyright 2010, 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.
- -->
-
-<nodeTypes xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
- xmlns:jcr="http://www.jcp.org/jcr/1.0">
- <nodeType name="portlet:producerstates" isMixin="false" hasOrderableChildNodes="false">
- <supertypes>
- <supertype>nt:base</supertype>
- <supertype>mix:referenceable</supertype>
- </supertypes>
- <propertyDefinitions/>
- <childNodeDefinitions>
- <childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>portlet:statecontext</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-
- <nodeType name="portlet:statecontext" isMixin="false" hasOrderableChildNodes="false">
- <supertypes>
- <supertype>nt:base</supertype>
- <supertype>mix:referenceable</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="id" requiredType="String" autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false" multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions>
- <childNodeDefinition name="state" defaultPrimaryType="portlet:state" autoCreated="true" mandatory="false"
- onParentVersion="COPY" protected="false" sameNameSiblings="false">
- <requiredPrimaryTypes>
- <requiredPrimaryType>portlet:state</requiredPrimaryType>
- </requiredPrimaryTypes>
- </childNodeDefinition>
- </childNodeDefinitions>
- </nodeType>
-
- <nodeType name="portlet:state" isMixin="false" hasOrderableChildNodes="false">
- <supertypes>
- <supertype>nt:base</supertype>
- <supertype>mix:referenceable</supertype>
- </supertypes>
- <propertyDefinitions>
- <propertyDefinition name="portlet:portletid" requiredType="String" autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false" multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- <propertyDefinition name="portlet:terminationtime" requiredType="Date" autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false" multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false"
- onParentVersion="COPY" protected="false" multiple="false">
- <valueConstraints/>
- </propertyDefinition>
- </propertyDefinitions>
- <childNodeDefinitions/>
- </nodeType>
-
-</nodeTypes>
14 years, 9 months
gatein SVN: r2150 - portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application.
by do-not-reply@jboss.org
Author: julien_viet
Date: 2010-03-11 04:41:13 -0500 (Thu, 11 Mar 2010)
New Revision: 2150
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java
Log:
minor
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java 2010-03-11 09:31:19 UTC (rev 2149)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java 2010-03-11 09:41:13 UTC (rev 2150)
@@ -323,7 +323,7 @@
public void execute(Event<UIPortlet<S, C>> event) throws Exception
{
UIPortlet<S, C> uiPortlet = event.getSource();
- log.info("Serve Resource for portlet: " + uiPortlet.getPortletContext());
+ log.trace("Serve Resource for portlet: " + uiPortlet.getPortletContext());
try
{
PortalRequestContext context = (PortalRequestContext)event.getRequestContext();
@@ -376,7 +376,7 @@
return;
}
- log.info("Try to get a resource of type: " + contentType + " for the portlet: "
+ log.trace("Try to get a resource of type: " + contentType + " for the portlet: "
+ uiPortlet.getPortletContext());
if (contentType.startsWith("text"))
{
@@ -471,7 +471,7 @@
}
if (newEvents != null && !newEvents.isEmpty())
{
- log.info("The portlet: " + uiPortletInPage.getPortletContext().getId()
+ log.trace("The portlet: " + uiPortletInPage.getPortletContext().getId()
+ " processEvent() method has generated new events itself");
events.addAll(newEvents);
}
@@ -491,7 +491,7 @@
public static <S, C extends Serializable, I> List<javax.portlet.Event> processEvent(UIPortlet<S, C> uiPortlet,
javax.portlet.Event event)
{
- log.info("Process Event: " + event.getName() + " for portlet: " + uiPortlet.getState());
+ log.trace("Process Event: " + event.getName() + " for portlet: " + uiPortlet.getState());
try
{
PortalRequestContext context = (PortalRequestContext)WebuiRequestContext.getCurrentInstance();
@@ -761,7 +761,7 @@
portletMode = event.getRequestContext().getRequestParameter(UIComponent.OBJECTID);
}
- log.info("Change portlet mode of " + uiPortlet.getPortletContext().getId() + " to " + portletMode);
+ log.trace("Change portlet mode of " + uiPortlet.getPortletContext().getId() + " to " + portletMode);
if (portletMode.equals(PortletMode.HELP.toString()))
{
uiPortlet.setCurrentPortletMode(PortletMode.HELP);
@@ -772,7 +772,7 @@
}
else if (portletMode.equals(PortletMode.VIEW.toString()))
{
- uiPortlet.setCurrentPortletMode(PortletMode.VIEW);
+ uiPortlet.setCurrentPortletMode(PortletMode.VIEW);
}
else
{
14 years, 9 months
gatein SVN: r2149 - portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/portlet.
by do-not-reply@jboss.org
Author: julien_viet
Date: 2010-03-11 04:31:19 -0500 (Thu, 11 Mar 2010)
New Revision: 2149
Modified:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplication.java
Log:
minor
Modified: portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplication.java
===================================================================
--- portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplication.java 2010-03-11 09:27:56 UTC (rev 2148)
+++ portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplication.java 2010-03-11 09:31:19 UTC (rev 2149)
@@ -61,7 +61,7 @@
public class PortletApplication extends WebuiApplication
{
- protected static Log log = ExoLogger.getLogger("portlet:PortletApplication");
+ protected static Log log = ExoLogger.getLogger(PortletApplication.class);
public final static String PORTLET_EVENT_VALUE = "portletEventValue";
14 years, 9 months
gatein SVN: r2148 - portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/portlet.
by do-not-reply@jboss.org
Author: julien_viet
Date: 2010-03-11 04:27:56 -0500 (Thu, 11 Mar 2010)
New Revision: 2148
Modified:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplicationController.java
Log:
minor
Modified: portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplicationController.java
===================================================================
--- portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplicationController.java 2010-03-11 09:19:39 UTC (rev 2147)
+++ portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplicationController.java 2010-03-11 09:27:56 UTC (rev 2148)
@@ -51,7 +51,7 @@
public class PortletApplicationController extends GenericPortlet
{
- protected static Log log = ExoLogger.getLogger("portlet:PortletApplicationController");
+ protected static Log log = ExoLogger.getLogger(PortletApplicationController.class);
private String applicationId_;
14 years, 9 months
gatein SVN: r2147 - portal/trunk/component/scripting/src/main/java/org/exoplatform/resolver.
by do-not-reply@jboss.org
Author: julien_viet
Date: 2010-03-11 04:19:39 -0500 (Thu, 11 Mar 2010)
New Revision: 2147
Modified:
portal/trunk/component/scripting/src/main/java/org/exoplatform/resolver/PortletResourceResolver.java
Log:
minor
Modified: portal/trunk/component/scripting/src/main/java/org/exoplatform/resolver/PortletResourceResolver.java
===================================================================
--- portal/trunk/component/scripting/src/main/java/org/exoplatform/resolver/PortletResourceResolver.java 2010-03-11 08:57:03 UTC (rev 2146)
+++ portal/trunk/component/scripting/src/main/java/org/exoplatform/resolver/PortletResourceResolver.java 2010-03-11 09:19:39 UTC (rev 2147)
@@ -37,7 +37,7 @@
public class PortletResourceResolver extends ResourceResolver
{
- protected static Log log = ExoLogger.getLogger("portlet:PortletResourceResolver");
+ protected static Log log = ExoLogger.getLogger(PortletResourceResolver.class);
private PortletContext pcontext_;
14 years, 9 months