gatein SVN: r1122 - in components/wsrp/trunk: admin-gui and 7 other directories.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-12-22 03:22:25 -0500 (Tue, 22 Dec 2009)
New Revision: 1122
Modified:
components/wsrp/trunk/admin-gui/pom.xml
components/wsrp/trunk/api/pom.xml
components/wsrp/trunk/common/pom.xml
components/wsrp/trunk/consumer/pom.xml
components/wsrp/trunk/pom.xml
components/wsrp/trunk/producer/pom.xml
components/wsrp/trunk/test/pom.xml
components/wsrp/trunk/wsrp-producer-war/pom.xml
components/wsrp/trunk/wsrp1-ws/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: components/wsrp/trunk/admin-gui/pom.xml
===================================================================
--- components/wsrp/trunk/admin-gui/pom.xml 2009-12-22 08:21:23 UTC (rev 1121)
+++ components/wsrp/trunk/admin-gui/pom.xml 2009-12-22 08:22:25 UTC (rev 1122)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03</version>
+ <version>1.0.0-Beta04-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-admin-gui</artifactId>
Modified: components/wsrp/trunk/api/pom.xml
===================================================================
--- components/wsrp/trunk/api/pom.xml 2009-12-22 08:21:23 UTC (rev 1121)
+++ components/wsrp/trunk/api/pom.xml 2009-12-22 08:22:25 UTC (rev 1122)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03</version>
+ <version>1.0.0-Beta04-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-integration-api</artifactId>
Modified: components/wsrp/trunk/common/pom.xml
===================================================================
--- components/wsrp/trunk/common/pom.xml 2009-12-22 08:21:23 UTC (rev 1121)
+++ components/wsrp/trunk/common/pom.xml 2009-12-22 08:22:25 UTC (rev 1122)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03</version>
+ <version>1.0.0-Beta04-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-common</artifactId>
Modified: components/wsrp/trunk/consumer/pom.xml
===================================================================
--- components/wsrp/trunk/consumer/pom.xml 2009-12-22 08:21:23 UTC (rev 1121)
+++ components/wsrp/trunk/consumer/pom.xml 2009-12-22 08:22:25 UTC (rev 1122)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03</version>
+ <version>1.0.0-Beta04-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-consumer</artifactId>
Modified: components/wsrp/trunk/pom.xml
===================================================================
--- components/wsrp/trunk/pom.xml 2009-12-22 08:21:23 UTC (rev 1121)
+++ components/wsrp/trunk/pom.xml 2009-12-22 08:22:25 UTC (rev 1122)
@@ -29,7 +29,7 @@
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03</version>
+ <version>1.0.0-Beta04-SNAPSHOT</version>
<packaging>pom</packaging>
@@ -40,9 +40,9 @@
</parent>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/wsrp/tags/1.0.0-...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/gatein/components/wsrp/tags/1.0.0-Beta03</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/wsrp/tags/1.0.0-Beta03</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/wsrp/trunk/</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/gatein/components/wsrp/trunk/</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/wsrp/trunk/</url>
</scm>
<properties>
Modified: components/wsrp/trunk/producer/pom.xml
===================================================================
--- components/wsrp/trunk/producer/pom.xml 2009-12-22 08:21:23 UTC (rev 1121)
+++ components/wsrp/trunk/producer/pom.xml 2009-12-22 08:22:25 UTC (rev 1122)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03</version>
+ <version>1.0.0-Beta04-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-producer-lib</artifactId>
Modified: components/wsrp/trunk/test/pom.xml
===================================================================
--- components/wsrp/trunk/test/pom.xml 2009-12-22 08:21:23 UTC (rev 1121)
+++ components/wsrp/trunk/test/pom.xml 2009-12-22 08:22:25 UTC (rev 1122)
@@ -3,7 +3,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03</version>
+ <version>1.0.0-Beta04-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/wsrp/trunk/wsrp-producer-war/pom.xml
===================================================================
--- components/wsrp/trunk/wsrp-producer-war/pom.xml 2009-12-22 08:21:23 UTC (rev 1121)
+++ components/wsrp/trunk/wsrp-producer-war/pom.xml 2009-12-22 08:22:25 UTC (rev 1122)
@@ -26,7 +26,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03</version>
+ <version>1.0.0-Beta04-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/wsrp/trunk/wsrp1-ws/pom.xml
===================================================================
--- components/wsrp/trunk/wsrp1-ws/pom.xml 2009-12-22 08:21:23 UTC (rev 1121)
+++ components/wsrp/trunk/wsrp1-ws/pom.xml 2009-12-22 08:22:25 UTC (rev 1122)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03</version>
+ <version>1.0.0-Beta04-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-wsrp1-ws</artifactId>
15 years
gatein SVN: r1121 - components/wsrp/tags.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-12-22 03:21:23 -0500 (Tue, 22 Dec 2009)
New Revision: 1121
Added:
components/wsrp/tags/1.0.0-Beta03/
Log:
[maven-scm] copy for tag 1.0.0-Beta03
Copied: components/wsrp/tags/1.0.0-Beta03 (from rev 1120, components/wsrp/trunk)
15 years
gatein SVN: r1120 - in components/wsrp/trunk: admin-gui and 7 other directories.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-12-22 03:20:03 -0500 (Tue, 22 Dec 2009)
New Revision: 1120
Modified:
components/wsrp/trunk/admin-gui/pom.xml
components/wsrp/trunk/api/pom.xml
components/wsrp/trunk/common/pom.xml
components/wsrp/trunk/consumer/pom.xml
components/wsrp/trunk/pom.xml
components/wsrp/trunk/producer/pom.xml
components/wsrp/trunk/test/pom.xml
components/wsrp/trunk/wsrp-producer-war/pom.xml
components/wsrp/trunk/wsrp1-ws/pom.xml
Log:
[maven-release-plugin] prepare release 1.0.0-Beta03
Modified: components/wsrp/trunk/admin-gui/pom.xml
===================================================================
--- components/wsrp/trunk/admin-gui/pom.xml 2009-12-22 07:28:43 UTC (rev 1119)
+++ components/wsrp/trunk/admin-gui/pom.xml 2009-12-22 08:20:03 UTC (rev 1120)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-Beta03</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-admin-gui</artifactId>
Modified: components/wsrp/trunk/api/pom.xml
===================================================================
--- components/wsrp/trunk/api/pom.xml 2009-12-22 07:28:43 UTC (rev 1119)
+++ components/wsrp/trunk/api/pom.xml 2009-12-22 08:20:03 UTC (rev 1120)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-Beta03</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-integration-api</artifactId>
Modified: components/wsrp/trunk/common/pom.xml
===================================================================
--- components/wsrp/trunk/common/pom.xml 2009-12-22 07:28:43 UTC (rev 1119)
+++ components/wsrp/trunk/common/pom.xml 2009-12-22 08:20:03 UTC (rev 1120)
@@ -24,7 +24,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-Beta03</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-common</artifactId>
Modified: components/wsrp/trunk/consumer/pom.xml
===================================================================
--- components/wsrp/trunk/consumer/pom.xml 2009-12-22 07:28:43 UTC (rev 1119)
+++ components/wsrp/trunk/consumer/pom.xml 2009-12-22 08:20:03 UTC (rev 1120)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-Beta03</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-consumer</artifactId>
Modified: components/wsrp/trunk/pom.xml
===================================================================
--- components/wsrp/trunk/pom.xml 2009-12-22 07:28:43 UTC (rev 1119)
+++ components/wsrp/trunk/pom.xml 2009-12-22 08:20:03 UTC (rev 1120)
@@ -29,7 +29,7 @@
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-Beta03</version>
<packaging>pom</packaging>
@@ -40,9 +40,9 @@
</parent>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/wsrp/trunk/</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/gatein/components/wsrp/trunk/</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/wsrp/trunk/</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/wsrp/tags/1.0.0-...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/gatein/components/wsrp/tags/1.0.0-Beta03</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/wsrp/tags/1.0.0-Beta03</url>
</scm>
<properties>
Modified: components/wsrp/trunk/producer/pom.xml
===================================================================
--- components/wsrp/trunk/producer/pom.xml 2009-12-22 07:28:43 UTC (rev 1119)
+++ components/wsrp/trunk/producer/pom.xml 2009-12-22 08:20:03 UTC (rev 1120)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-Beta03</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-producer-lib</artifactId>
Modified: components/wsrp/trunk/test/pom.xml
===================================================================
--- components/wsrp/trunk/test/pom.xml 2009-12-22 07:28:43 UTC (rev 1119)
+++ components/wsrp/trunk/test/pom.xml 2009-12-22 08:20:03 UTC (rev 1120)
@@ -3,7 +3,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-Beta03</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/wsrp/trunk/wsrp-producer-war/pom.xml
===================================================================
--- components/wsrp/trunk/wsrp-producer-war/pom.xml 2009-12-22 07:28:43 UTC (rev 1119)
+++ components/wsrp/trunk/wsrp-producer-war/pom.xml 2009-12-22 08:20:03 UTC (rev 1120)
@@ -26,7 +26,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-Beta03</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: components/wsrp/trunk/wsrp1-ws/pom.xml
===================================================================
--- components/wsrp/trunk/wsrp1-ws/pom.xml 2009-12-22 07:28:43 UTC (rev 1119)
+++ components/wsrp/trunk/wsrp1-ws/pom.xml 2009-12-22 08:20:03 UTC (rev 1120)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
- <version>1.0.0-Beta03-SNAPSHOT</version>
+ <version>1.0.0-Beta03</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wsrp-wsrp1-ws</artifactId>
15 years
gatein SVN: r1119 - in portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui: page and 1 other directory.
by do-not-reply@jboss.org
Author: truong.le
Date: 2009-12-22 02:28:43 -0500 (Tue, 22 Dec 2009)
New Revision: 1119
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java
Log:
GTNPORTAL-381: Nothing happen when make some change for page node
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java 2009-12-22 06:28:43 UTC (rev 1118)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java 2009-12-22 07:28:43 UTC (rev 1119)
@@ -490,7 +490,8 @@
WebuiRequestContext context = WebuiRequestContext.getCurrentInstance();
selectPage.setModifier(context.getRemoteUser());
- selectPage.setTitle(selectedPageNode.getLabel());
+ if(selectPage.getTitle() == null)
+ selectPage.setTitle(selectedPageNode.getLabel());
// convert Page to UIPage
PortalDataMapper.toUIPage(uiPage, selectPage);
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java 2009-12-22 06:28:43 UTC (rev 1118)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java 2009-12-22 07:28:43 UTC (rev 1119)
@@ -186,6 +186,7 @@
invokeGetBindingBean(page);
getUIStringInput("name").setEditable(false);
getUIStringInput("pageId").setValue(uiPage.getPageId());
+ getUIStringInput("title").setValue(uiPage.getTitle());
getUIFormCheckBoxInput("showMaxWindow").setValue(uiPage.isShowMaxWindow());
getUIFormSelectBox(OWNER_TYPE).setEnable(false).setValue(uiPage.getOwnerType());
removeChild(UIPageTemplateOptions.class);
15 years
gatein SVN: r1118 - portal/trunk/docs/user-guide/en/images.
by do-not-reply@jboss.org
Author: smumford
Date: 2009-12-22 01:28:43 -0500 (Tue, 22 Dec 2009)
New Revision: 1118
Added:
portal/trunk/docs/user-guide/en/images/AccountProfiles.png
Log:
add new account image
Added: portal/trunk/docs/user-guide/en/images/AccountProfiles.png
===================================================================
(Binary files differ)
Property changes on: portal/trunk/docs/user-guide/en/images/AccountProfiles.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years
gatein SVN: r1117 - in portal/trunk/docs/user-guide/en/modules: portal and 1 other directories.
by do-not-reply@jboss.org
Author: smumford
Date: 2009-12-22 01:27:46 -0500 (Tue, 22 Dec 2009)
New Revision: 1117
Modified:
portal/trunk/docs/user-guide/en/modules/account/Change_User_Password.xml
portal/trunk/docs/user-guide/en/modules/account/Register_New_Accounts.xml
portal/trunk/docs/user-guide/en/modules/portal/Change_Portal_Skins.xml
portal/trunk/docs/user-guide/en/modules/portletsUser/FCK_Portlet.xml
Log:
copy edit
Modified: portal/trunk/docs/user-guide/en/modules/account/Change_User_Password.xml
===================================================================
--- portal/trunk/docs/user-guide/en/modules/account/Change_User_Password.xml 2009-12-22 02:43:32 UTC (rev 1116)
+++ portal/trunk/docs/user-guide/en/modules/account/Change_User_Password.xml 2009-12-22 06:27:46 UTC (rev 1117)
@@ -23,16 +23,53 @@
--><title>Changing Password</title>
<para>
- TODO
- </para>
- <!--
- <title>Change User Password</title>
- <para>This video shows you how to change the user password step by
- step:</para>
- <itemizedlist>
- <listitem>changepasswordexo.swf</listitem>
- </itemizedlist>
- -->
+ You can change your password by:
+ </para>
+ <procedure>
+ <step>
+ <para>
+ Clicking on your name in the toolbar (far right):
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Toolbar.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ <para>
+ The <emphasis role="bold">Account Profiles</emphasis> window will open. It contains a tab entitled <emphasis role="bold">Change Password</emphasis>.
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/AccountProfiles.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </step>
+ <step>
+ <para>
+ Enter your current password in the first field.
+ </para>
+ </step>
+ <step>
+ <para>
+ Enter your new password in the second field.
+ </para>
+ </step>
+ <step>
+ <para>
+ Confirm your new password in the third field.
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/ChangePassword.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </step>
+ <step>
+ <para>
+ If all fields have been enetered correctly click <emphasis role="bold">Save</emphasis> to save the new passowrd, or click <emphasis role="bold">Reset</emphasis> to empty the form and start again.
+ </para>
+ </step>
+</procedure>
</section>
Modified: portal/trunk/docs/user-guide/en/modules/account/Register_New_Accounts.xml
===================================================================
--- portal/trunk/docs/user-guide/en/modules/account/Register_New_Accounts.xml 2009-12-22 02:43:32 UTC (rev 1116)
+++ portal/trunk/docs/user-guide/en/modules/account/Register_New_Accounts.xml 2009-12-22 06:27:46 UTC (rev 1117)
@@ -23,98 +23,84 @@
--><title>Register New Accounts</title>
<para>
- If you are a visitor to a portal built with &PRODUCT;, you only may read news or take some normal actions. Thus to access and get more actions, you should register and contact with administrators to get more permissions!
+ Users who visit the Portal and who are not registered are limited in the content they can see. User who need access to deeper content or who need to undertake actions within the prtal should register themselves and then contact the portal administrator to have appropriate permissions added to their account.
</para>
<para>
- &PRODUCT; supports users to register a new account by themselves quickly and easily. Just by completing the steps below, you will have a new account that helps you access more pages and take more actions in &PRODUCT;:
+ Users can quickly and easily register a new account by themselves. Just by completing the steps below, you will have a new account that helps you access more pages and take more actions in &PRODUCT;:
</para>
<procedure>
<step>
<para>
- Go to a portal by typing the URL in the address bar (e.g: http://localhost:8080/portal).
+ Click <emphasis role="bold">Register</emphasis> on the Navigation bar.
+ </para>
<mediaobject>
<imageobject>
<imagedata fileref="images/Frontpage.png" format="PNG" width="444" />
</imageobject>
</mediaobject>
- </para>
- </step>
- <step>
- <para>
- Click <emphasis role="bold">Register</emphasis> on the Navigation bar. The Register page will appear:
+ <para>
+ The Register page will appear:
+ </para>
<mediaobject>
<imageobject>
<imagedata fileref="images/AccountSetting.png" format="PNG" width="444" />
</imageobject>
</mediaobject>
- </para>
+
<para>
The <emphasis role="bold">Account Setting</emphasis> information includes:
</para>
- <informaltable colsep="0" frame="none" rowsep="0">
- <tgroup cols="2">
- <colspec align="center"></colspec>
- <colspec align="center"></colspec>
- <tbody>
- <row>
- <entry>
- <emphasis role="bold"> Name </emphasis>
- </entry>
- <entry>
- <emphasis role="bold"> Description </emphasis>
- </entry>
- </row>
- <row>
- <entry>
- User Name
- </entry>
- <entry>
- the name that the user uses to login. This field must be unique and start with a character
- </entry>
- </row>
- <row>
- <entry>
- Password
- </entry>
- <entry>
- The *Password* must be between 6 and 30 characters and can contain space characters. Since Portal 2.6, space characters are either at the beginning or in the end can be counted.
- </entry>
- </row>
- <row>
- <entry>
- Confirm Password
- </entry>
- <entry>
- re-type the password above. *Password* and *Confirm Password* must be the same.
- </entry>
- </row>
- <row>
- <entry>
- First Name
- </entry>
- <entry>
- the first name of a user.
- </entry>
- </row>
- <row>
- <entry>
- Last Name
- </entry>
- <entry>
- the last name of a user.
- </entry>
- </row>
- <row>
- <entry>
- Email Address
- </entry>
- <entry>
- the email of a user. It must be in the right format likes username(a)abc.com
- </entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
+
+ <variablelist>
+ <varlistentry>
+ <term>User Name</term>
+ <listitem>
+ <para>
+ The name that the user uses to login.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Password</term>
+ <listitem>
+ <para>
+ The *Password* must be between 6 and 30 characters and can contain space characters. Since Portal 2.6, space characters are either at the beginning or in the end can be counted.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Confirm Password</term>
+ <listitem>
+ <para>
+ Re-type the password above. *Password* and *Confirm Password* must be the same.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>First Name</term>
+ <listitem>
+ <para>
+ The first name of the user.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Last Name</term>
+ <listitem>
+ <para>
+ The last name of the user.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Email Address</term>
+ <listitem>
+ <para>
+ The email address of the user. It must be in the appropriate format, example: username(a)abc.com.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</step>
<step>
<para>
@@ -123,7 +109,7 @@
</step>
<step>
<para>
- Click the magnifying glass icon !images/magnifyIcon.png! to search and check if the chosen username is available.
+ Click the magnifying glass icon to search and check if the chosen username is available.
</para>
</step>
<step>
@@ -131,7 +117,7 @@
Input values in the <emphasis role="bold">User Profile</emphasis> tab, include: Profile information, Home information, Business information. These fields are not required.
</para>
<para>
- &PRODUCT; facilitates users with 4 commonly used languagues: English, French, Vietnamese and Arabic in the <emphasis role="bold">Language</emphasis> field. You can select one of these languages to work with.
+ &PRODUCT; facilitates users with four commonly used languagues: English, French, Vietnamese and Arabic in the <emphasis role="bold">Language</emphasis> field. You can select one of these languages to work with.
</para>
<mediaobject>
<imageobject>
@@ -146,38 +132,38 @@
<itemizedlist>
<listitem>
<para>
- <emphasis role="bold">User name</emphasis> already exists or user name is invalid.
+ The chosen <emphasis role="bold">User name</emphasis> already exists or is invalid.
</para>
</listitem>
<listitem>
<para>
- <emphasis role="bold">Password</emphasis> has less than 6 characters or more than 30 characters.
+ The nominated <emphasis role="bold">Password</emphasis> has less than 6 characters or more than 30 characters.
</para>
</listitem>
<listitem>
<para>
- <emphasis role="bold">Password</emphasis> and <emphasis role="bold">Confirm Password</emphasis> are not the same.
+ The <emphasis role="bold">Password</emphasis> and <emphasis role="bold">Confirm Password</emphasis> fields are not the same.
</para>
</listitem>
<listitem>
<para>
- <emphasis role="bold">Email Address</emphasis> format is not valid
+ The <emphasis role="bold">Email Address</emphasis> format is not valid
</para>
</listitem>
<listitem>
<para>
- Required fields are blank (empty).
+ A required field (or fields) is empty.
</para>
</listitem>
</itemizedlist>
</step>
</procedure>
<para>
- After adding a new account, you should either contact the administrator to get more permissions or you are only a visitor user.
+ After adding a new account, you should contact the administrator to get appropriate permissions added to your account.
<note>
<title>Note</title>
<para>
- You should enter your email address carefully because when you forget your user name or password, you can recover it by using this email address.
+ Be sure you enter your email address carefully. If you should forget your user name or password, you can recover it by using this email address.
</para>
</note>
</para>
Modified: portal/trunk/docs/user-guide/en/modules/portal/Change_Portal_Skins.xml
===================================================================
--- portal/trunk/docs/user-guide/en/modules/portal/Change_Portal_Skins.xml 2009-12-22 02:43:32 UTC (rev 1116)
+++ portal/trunk/docs/user-guide/en/modules/portal/Change_Portal_Skins.xml 2009-12-22 06:27:46 UTC (rev 1117)
@@ -29,7 +29,7 @@
skin switch that takes only effect on the user's current session until he signs out. You can change the skin permanently or temporarily.
</para>
- <variablelist>
+<!-- <variablelist>
<varlistentry id="User_Guide-Change_Portal_Skins-Change_the_skin_temporarily">
<term>Change the skin temporarily</term>
<listitem>
@@ -44,7 +44,7 @@
<procedure>
<step>
<para>
- Go to <emphasis role="bold">GateIn Start</emphasis> -> <emphasis role="bold">Administration</emphasis> -> <emphasis role="bold">Advanced</emphasis> --> <emphasis role="bold">Edit Current portal</emphasis>
+ Go to <emphasis role="bold">GateIn Start</emphasis> -> <emphasis role="bold">Administration</emphasis> -> <emphasis role="bold">Advanced</emphasis> -> <emphasis role="bold">Edit Current portal</emphasis>
</para>
</step>
<step>
@@ -70,42 +70,30 @@
</procedure>
</listitem>
</varlistentry>
- </variablelist>
-
-<!-- <section >
- <title></title>
- <para>
- 1.
- </para>
- <para>
- For GateIn Portal 2.6
- </para>
- <orderedlist>
- <listitem>
+ </variablelist> -->
+
+ <procedure>
+ <step>
<para>
- 1. Go to <emphasis role="bold">GateIn</emphasis> on the Toolbar > click <emphasis role="bold">Change Skin</emphasis>.
+ Go to <emphasis role="bold">GateIn</emphasis> on the Toolbar > click <emphasis role="bold">Change Skin</emphasis>. The <emphasis role="bold">Skin Setting</emphasis> form is displayed with a list of all supported skins. The left pane contains the skin list and the right pane is used to display the template of the selected skin.
</para>
+ </step>
+ <step>
<para>
- The <emphasis role="bold">Skin Setting</emphasis> form is displayed with a list of all supported skins. The left pane contains the skin list and the right pane is used to display the template of the selected skin.
+ Select a skin by clicking on the its name.
</para>
- </listitem>
- <listitem>
+ </step>
+ <step>
<para>
- 2. Select one by clicking on the skin's name.
+ Click the <emphasis role="bold">Apply</emphasis> button and wait for few seconds to take effect.
</para>
- </listitem>
- <listitem>
- <para>
- 3. Click the <emphasis role="bold">Apply</emphasis> button and wait for few seconds to take effect.
- </para>
<mediaobject>
<imageobject>
<imagedata fileref="images/SkinSet1.png" format="PNG" width="444" />
</imageobject>
</mediaobject>
- </listitem>
- </orderedlist>
- </section> -->
+ </step>
+ </procedure>
</section>
Modified: portal/trunk/docs/user-guide/en/modules/portletsUser/FCK_Portlet.xml
===================================================================
--- portal/trunk/docs/user-guide/en/modules/portletsUser/FCK_Portlet.xml 2009-12-22 02:43:32 UTC (rev 1116)
+++ portal/trunk/docs/user-guide/en/modules/portletsUser/FCK_Portlet.xml 2009-12-22 06:27:46 UTC (rev 1117)
@@ -80,7 +80,7 @@
In the FCK Editor, as in most programs, small windows called 'dialogues' may appear when some of the functions are activated. They provide the necessary information to accomplish those functions.
</para>
<para>
- For an example: To insert a link into your document, you click the <emphasis role="bold">Link</emphasis> icon in the Toolbar. This will open a dialogue to allow you to input necessary information about the link:
+ For an example: To insert a link into your document, you click the <emphasis role="bold">Link</emphasis> icon in the Toolbar. This will open a dialogue to allow you to input necessary information about the link.
</para>
<mediaobject>
<imageobject>
15 years
gatein SVN: r1116 - in portal/branches/wsrp-integration: component/identity/src/main/java/org/exoplatform/services/organization/idm and 18 other directories.
by do-not-reply@jboss.org
Author: chris.laprun(a)jboss.com
Date: 2009-12-21 21:43:32 -0500 (Mon, 21 Dec 2009)
New Revision: 1116
Modified:
portal/branches/wsrp-integration/README.txt
portal/branches/wsrp-integration/component/identity/src/main/java/org/exoplatform/services/organization/idm/GroupDAOImpl.java
portal/branches/wsrp-integration/component/identity/src/test/java/org/exoplatform/services/organization/TestOrganizationService.java
portal/branches/wsrp-integration/component/web/pom.xml
portal/branches/wsrp-integration/component/web/src/main/java/org/exoplatform/web/GenericHttpListener.java
portal/branches/wsrp-integration/docs/reference-guide/en/modules/Introduction.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/Introduction.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/Terms.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/gadgetsAdmin/Manage_Portlets_and_Gadgets.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/portal/Manage_Permission.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/Dashboard_Portlet.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/FCK_Portlet.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/Interface_Portlets.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Navigation_concept.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Permission_levels.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Portal_concept.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Portlet_concept.xml
portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Toolbar_concept.xml
portal/branches/wsrp-integration/examples/portlets/jsfhellouser/
portal/branches/wsrp-integration/examples/portlets/jsphellouser/
portal/branches/wsrp-integration/examples/portlets/simplesthelloworld/
portal/branches/wsrp-integration/packaging/pkg/pom.xml
portal/branches/wsrp-integration/pom.xml
portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_en.properties
portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_es.properties
portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_fr.properties
portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_ru.properties
portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_uk.properties
portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DOMUtil.js
portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DragDrop.js
portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DragDrop2.js
portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalDragDrop.js
portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/portal/UIPortal.js
portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/webui/UIDashboard.js
portal/branches/wsrp-integration/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java
Log:
- Merged trunk changes from revision 1078 to 1114.
Modified: portal/branches/wsrp-integration/README.txt
===================================================================
--- portal/branches/wsrp-integration/README.txt 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/README.txt 2009-12-22 02:43:32 UTC (rev 1116)
@@ -7,9 +7,13 @@
* COMPILATION
*****************
-* mvn install -Dgatein.checkout.dir=//Full Path to the the root of gatein portal sourcess
-For example: mvn install -Dgatein.checkout.dir=$PWD on Linux
-
+* mvn install
+For example: mvn install
+
+Note: If you run "mvn install" twice in a row without cleaning, one test will
+fail. To workaround this issue you will need to delete the test data located
+here: component/portal/target/temp/
+
**********************
* MAVEN CONFIGURATION:
**********************
@@ -28,13 +32,11 @@
* PACKAGING:
*****************
-* mvn install -Ppkg-tomcat -Dgatein.checkout.dir=//Full Path to the the root of gatein portal sources
+* mvn install -Ppkg-tomcat
** Creates a Tomcat delivery in packaging/pkg/target/tomcat/
-** Creates compressed archives in packaging/pkg/target/target
-* mvn install -Ppkg-jbossas -Dgatein.checkout.dir=//Full Path to the the root of gatein portal sources
+* mvn install -Ppkg-jbossas
** Creates a JBossAS delivery in packaging/pkg/target/jboss/
-** Creates compressed archives in packaging/pkg/target/target
*****************
* STARTING:
@@ -43,25 +45,4 @@
* On JBoss: go to the jboss directory (or unzip the archive in your favorite location) and execute 'bin/run.sh start' ('bin/run.bat start' on Windows)
* Go to http://localhost:8080/portal to see the homepage of the portal. That's it.
-
-******************
-* ADDITIONAL INFO:
-******************
-Portal packaging tooling:
-* An embedded version of exobuild (exo packaging tooling) is pom embbed and autorun with the install goal
-* http://svn.exoplatform.org/projects/utils/exopackage/ for the sources
-
-Process:
-1/ Tomcat or JBossAS packaging are done during the "mvn install" process of
-the "packaging" module
-2/ exopackage-x.x.x is downloaded from maven
-4/ product and module for this version are stored in the current project, and
-found by exopackage during the run
-5/ a maven-exec-plugin calls exobuild from maven with the right parameters
-6/ Deliveries is in the target directory
-
-**************
-* WHAT'S NEXT
-**************
-The exobuild tooling will be ported in a maven plugin with no more .js files, or replaced by a pure maven configuration.
-This work will be done before GateIn final version
+
Modified: portal/branches/wsrp-integration/component/identity/src/main/java/org/exoplatform/services/organization/idm/GroupDAOImpl.java
===================================================================
--- portal/branches/wsrp-integration/component/identity/src/main/java/org/exoplatform/services/organization/idm/GroupDAOImpl.java 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/component/identity/src/main/java/org/exoplatform/services/organization/idm/GroupDAOImpl.java 2009-12-22 02:43:32 UTC (rev 1116)
@@ -429,7 +429,6 @@
attrs = attrsList.toArray(attrs);
- //getIdentitySession().getAttributesManager().addAttributes(jbidGroup, attrs);
getIdentitySession().getAttributesManager().updateAttributes(jbidGroup, attrs);
}
Modified: portal/branches/wsrp-integration/component/identity/src/test/java/org/exoplatform/services/organization/TestOrganizationService.java
===================================================================
--- portal/branches/wsrp-integration/component/identity/src/test/java/org/exoplatform/services/organization/TestOrganizationService.java 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/component/identity/src/test/java/org/exoplatform/services/organization/TestOrganizationService.java 2009-12-22 02:43:32 UTC (rev 1116)
@@ -198,15 +198,21 @@
/* Create a child group with name: Group1 */
Group groupChild1 = groupHandler_.createGroupInstance();
groupChild1.setGroupName(Group1);
+ groupChild1.setLabel("Group1 Label");
groupHandler_.addChild(groupParent, groupChild1, true);
+
+ assertEquals(groupHandler_.findGroupById(groupChild1.getId()).getLabel(), "Group1 Label");
+
groupChild1 = groupHandler_.findGroupById(groupChild1.getId());
assertEquals(groupChild1.getParentId(), groupParent.getId());
assertEquals("Expect group child's name is: ", Group1, groupChild1.getGroupName());
/* Update groupChild's information */
- groupChild1.setLabel("GroupRenamed");
+ groupChild1.setLabel("Group1 Label renamed");
groupChild1.setDescription("new description ");
groupHandler_.saveGroup(groupChild1, true);
- assertEquals(groupHandler_.findGroupById(groupChild1.getId()).getLabel(), "GroupRenamed");
+
+ assertEquals(groupHandler_.findGroupById(groupChild1.getId()).getLabel(), "Group1 Label renamed");
+
/* Create a group child with name is: Group2 */
Group groupChild2 = groupHandler_.createGroupInstance();
groupChild2.setGroupName(Group2);
Modified: portal/branches/wsrp-integration/component/web/pom.xml
===================================================================
--- portal/branches/wsrp-integration/component/web/pom.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/component/web/pom.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -19,78 +19,83 @@
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.exoplatform.portal</groupId>
- <artifactId>exo.portal.component</artifactId>
- <version>3.0.0-Beta04-SNAPSHOT</version>
- </parent>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.component</artifactId>
+ <version>3.0.0-Beta04-SNAPSHOT</version>
+ </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>exo.portal.component.web</artifactId>
- <packaging>jar</packaging>
- <name>GateIn Portal Component Web</name>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>exo.portal.component.web</artifactId>
+ <packaging>jar</packaging>
+ <name>GateIn Portal Component Web</name>
- <properties>
- <maven.test.skip>true</maven.test.skip>
- </properties>
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
- <dependencies>
- <dependency>
- <groupId>org.exoplatform.core</groupId>
- <artifactId>exo.core.component.organization.api</artifactId>
- </dependency>
+ <dependencies>
+ <dependency>
+ <groupId>org.exoplatform.kernel</groupId>
+ <artifactId>exo.kernel.container</artifactId>
+ <version>${org.exoplatform.kernel.version}</version>
+ </dependency>
- <dependency>
- <groupId>org.exoplatform.jcr</groupId>
- <artifactId>exo.jcr.component.ext</artifactId>
- </dependency>
+ <dependency>
+ <groupId>org.exoplatform.core</groupId>
+ <artifactId>exo.core.component.organization.api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.exoplatform.jcr</groupId>
+ <artifactId>exo.jcr.component.ext</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.component.common</artifactId>
+ <version>3.0.0-Beta04-SNAPSHOT</version>
+ </dependency>
- <dependency>
- <groupId>org.exoplatform.portal</groupId>
- <artifactId>exo.portal.component.common</artifactId>
- <version>3.0.0-Beta04-SNAPSHOT</version>
- </dependency>
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.component.resources</artifactId>
+ <version>3.0.0-Beta04-SNAPSHOT</version>
+ </dependency>
- <dependency>
- <groupId>org.exoplatform.portal</groupId>
- <artifactId>exo.portal.component.resources</artifactId>
- <version>3.0.0-Beta04-SNAPSHOT</version>
- </dependency>
+ <dependency>
+ <groupId>org.gatein.wci</groupId>
+ <artifactId>wci-wci</artifactId>
+ </dependency>
- <dependency>
- <groupId>org.gatein.wci</groupId>
- <artifactId>wci-wci</artifactId>
- </dependency>
+ <dependency>
+ <groupId>org.chromattic</groupId>
+ <artifactId>chromattic.apt</artifactId>
+ <scope>compile</scope>
+ </dependency>
- <dependency>
- <groupId>org.chromattic</groupId>
- <artifactId>chromattic.apt</artifactId>
- <scope>compile</scope>
- </dependency>
+ <dependency>
+ <groupId>org.exoplatform.portal</groupId>
+ <artifactId>exo.portal.component.scripting</artifactId>
+ <version>3.0.0-Beta04-SNAPSHOT</version>
+ </dependency>
- <dependency>
- <groupId>org.exoplatform.portal</groupId>
- <artifactId>exo.portal.component.scripting</artifactId>
- <version>3.0.0-Beta04-SNAPSHOT</version>
- </dependency>
+ <dependency>
+ <groupId>org.apache.shindig</groupId>
+ <artifactId>shindig-gadgets</artifactId>
+ </dependency>
- <dependency>
- <groupId>org.apache.shindig</groupId>
- <artifactId>shindig-gadgets</artifactId>
- </dependency>
-
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <type>jar</type>
- </dependency>
-
- <dependency>
- <groupId>org.json</groupId>
- <artifactId>json</artifactId>
- <type>jar</type>
- </dependency>
- </dependencies>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <type>jar</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.json</groupId>
+ <artifactId>json</artifactId>
+ <type>jar</type>
+ </dependency>
+ </dependencies>
</project>
Modified: portal/branches/wsrp-integration/component/web/src/main/java/org/exoplatform/web/GenericHttpListener.java
===================================================================
--- portal/branches/wsrp-integration/component/web/src/main/java/org/exoplatform/web/GenericHttpListener.java 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/component/web/src/main/java/org/exoplatform/web/GenericHttpListener.java 2009-12-22 02:43:32 UTC (rev 1116)
@@ -24,17 +24,17 @@
import org.exoplatform.container.PortalContainer;
import org.exoplatform.container.RootContainer;
import org.exoplatform.container.RootContainer.PortalContainerPostInitTask;
+import org.exoplatform.container.util.EnvSpecific;
import org.exoplatform.container.web.AbstractHttpSessionListener;
import org.exoplatform.services.listener.ListenerService;
import org.exoplatform.services.log.ExoLogger;
import org.exoplatform.services.log.Log;
-import java.util.EventObject;
-
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.http.HttpSessionEvent;
+import java.util.EventObject;
/**
* This class is used to broadcast any "HttpEvent" to allow the rest of the platform to be notified
@@ -180,7 +180,17 @@
}
}
};
- RootContainer.getInstance().addInitTask(event.getServletContext(), task);
+ ServletContext ctx = event.getServletContext();
+ try
+ {
+ EnvSpecific.initThreadEnv(ctx);
+ RootContainer.getInstance().addInitTask(event.getServletContext(), task);
+ }
+ finally
+ {
+ EnvSpecific.cleanupThreadEnv(ctx);
+ }
+
}
/**
Modified: portal/branches/wsrp-integration/docs/reference-guide/en/modules/Introduction.xml
===================================================================
--- portal/branches/wsrp-integration/docs/reference-guide/en/modules/Introduction.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/reference-guide/en/modules/Introduction.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -28,7 +28,7 @@
</imageobject>
</mediaobject>
<para>
- Enterprise Portal Platform 5.0 comes from a merge of two mature projects; the JBoss Portal and the eXo Portal. It takes the best of both into a single new project. The aim is to provide both an intuitive portal to use as-is and a portal framework to build upon depending on your needs.
+ GateIn comes from a merge of two mature projects; the JBoss Portal and the eXo Portal. It takes the best of both into a single new project. The aim is to provide both an intuitive portal to use as-is and a portal framework to build upon depending on your needs.
</para>
<section id="sect-Reference_Guide-Introduction-Links">
<title>Links</title>
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/Introduction.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/Introduction.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/Introduction.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -2,42 +2,29 @@
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
]>
<chapter id="chap-User_Guide-Introduction">
- <!--
-
- 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>Introduction</title>
+ <title>Introduction</title>
+ <para>
+ GateIn is a merge of two mature projects; the JBoss Portal and the eXo Portal. It takes the best of both offerings and incorporates them into a single new project. The aim is to provide an intuitive portal for as-is use and a framework to build upon depending on your needs.
+ </para>
<mediaobject>
<imageobject>
<imagedata fileref="images/Frontpage.png" format="PNG" scalefit="1" width="444" />
</imageobject>
</mediaobject>
- <para>
- Enterprise Portal Platform (<acronym>EPP</acronym>) 5.0 is a merge of two mature projects; the JBoss Portal and the eXo Portal. It takes the best of both offerings and incorporates them into a single new project. The aim is to provide an intuitive portal for as-is use and a framework to build upon depending on your needs.
- </para>
<section id="sect-User_Guide-Introduction-Links">
<title>Links</title>
<itemizedlist>
<listitem>
<para>
- GateIn project homepage. GateIn 3.0 is the community project that Enterprise Portal Platform 5.0 is based on. <ulink url="http://www.gatein.org">www.gatein.org</ulink>
+ GateIn project homepage. GateIn 3.0 is the community project that Enterprise Portal Platform 5.0 is based on. <ulink url="http://www.gatein.org"></ulink>
</para>
</listitem>
+ <listitem>
+ <para>
+ Further documentation about the Red Hat &PRODUCT; and other Red Hat products can be found at <ulink type="http" url="www.redhat.com/docs"></ulink>
+ </para>
+ </listitem>
+
<!-- <listitem>
<para>
GateIn videos. Various video clips created by the GateIn community leads that provide a guide to the usage and features of the GateIn portal, many of wh <ulink url="http://www.jboss.org/gatein/videos.html">www.jboss.org/gatein/videos.html</ulink>
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/Terms.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/Terms.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/Terms.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -24,12 +24,13 @@
--><title>Terms</title>
<xi:include href="terms/Portal_concept.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="terms/Portlet_concept.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="terms/Toolbar_concept.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="terms/Navigation_concept.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="terms/Gadget_concept.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="terms/Public_mode_and_Private_mode.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="terms/Permission_levels.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<!-- Deprecated
-<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="terms/Workspace_concept.xml" />
- --><xi:include href="terms/Toolbar_concept.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="terms/Workspace_concept.xml" />-->
+
</chapter>
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/gadgetsAdmin/Manage_Portlets_and_Gadgets.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/gadgetsAdmin/Manage_Portlets_and_Gadgets.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/gadgetsAdmin/Manage_Portlets_and_Gadgets.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -23,6 +23,36 @@
Portlets and gadgets are organized in different categories. Each category contains one or several portlets or gadgets. You can also mix portlets and gadgets into one category. By default all gadgets are placed in the <emphasis>ExoGadgets</emphasis> category.
</para>
+ <section id="sect-User_Guide-Dashboard_Portlet-Display_Gadgets">
+ <title>Display Gadgets</title>
+ <para>
+ You can change the number of columns available in the Dashboard Portlet.
+ </para>
+ <procedure>
+ <step>
+ <para>
+ Click on <emphasis role="bold">Site Editor</emphasis> : <emphasis role="bold">Edit Page</emphasis>
+ </para>
+ </step>
+ <step>
+ <para>
+ Click on <emphasis role="bold">Edit Portlet</emphasis> button (which is displayed a pencil icon when you mouse-over the portlet in edit mode). It will show a dialog to change the number of columns to display gadgets.
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Column.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </step>
+ <step>
+ <para>
+ Change the number of columns and click the <emphasis role="bold">Save</emphasis> button to accept the changes.
+ </para>
+ </step>
+ </procedure>
+
+ </section>
+
<section id="sect-User_Guide-Manage_Portlets_and_Gadgets-Add_a_new_Category">
<title>Add a new Category</title>
<para>
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/portal/Manage_Permission.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/portal/Manage_Permission.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/portal/Manage_Permission.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
]>
-<section id="sect-User_Guide-Manage_Permission">
+<section id="sect-User_Guide-Manage_Permissions">
<!--
Copyright (C) 2009 eXo Platform SAS.
@@ -21,7 +21,7 @@
Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA, or see the FSF site: http://www.fsf.org.
- --><title>Manage Permission</title>
+ --><title>Manage Permissions</title>
<para>
Permissions play an important part in accessing and performing actions in the Portal. Depending on permissions assigned by an administrator, users can either access or edit portals, pages and portlets. GateIn Portal have applied several permission levels:
</para>
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/Dashboard_Portlet.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/Dashboard_Portlet.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/Dashboard_Portlet.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -103,55 +103,25 @@
<term>More Gadgets</term>
<listitem>
<para>
- Further gadgets can be obtained from the <ulink type="http" url="http://www.google.com/ig/directory?synd=open">Google Gadget</ulink> site. EPP is compatible with any gadget available here.
+ Further gadgets can be obtained from the <ulink type="http" url="http://www.google.com/ig/directory?synd=open">Google Gadget</ulink> site. &PRODUCT; is compatible with most of the gadgets available here.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>
-
- <section id="sect-User_Guide-Dashboard_Portlet-Display_Gadgets">
- <title>Display Gadgets</title>
- <para>
- You can change the number of columns to create in this space.
- </para>
- <procedure>
- <step>
- <para>
- Click on <emphasis role="bold">Site Editor</emphasis> : <emphasis role="bold">Edit Page</emphasis>
- </para>
- </step>
- <step>
- <para>
- Click on <emphasis role="bold">Edit Portlet</emphasis> . It will show a dialog to change the number of columns to display gadgets.
- </para>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Column.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </step>
- <step>
- <para>
- Change the number of columns and click the <emphasis role="bold">Save</emphasis> button to accept changing.
- </para>
- </step>
- </procedure>
-
- </section>
-
+
<section id="sect-User_Guide-Dashboard_Portlet-Add_Gadgets">
<title>Add Gadgets</title>
<para>
- You can also add more gadgets, do as follows:
+ To add more gadgets, do the following:
</para>
<para>
- Open the popup to add gadges
+ Open the popup to add gadgets
</para>
<procedure>
<step>
<para>
- Click the <emphasis role="bold">Add Gadgets</emphasis> link
+ While in the Dashboard portlet, click the <emphasis role="bold">Add Gadgets</emphasis> link
<mediaobject>
<imageobject>
<imagedata fileref="images/Dashboard1.png" format="PNG" width="444" />
@@ -161,7 +131,7 @@
</step>
<step>
<para>
- dialog to add a new gadget will appear :
+ The Dashboard Workspace dialog appear :
<mediaobject>
<imageobject>
<imagedata fileref="images/EnterLink.png" format="PNG" />
@@ -171,21 +141,21 @@
</step>
<step>
<para>
- Enter a link (a .xml or .rss) in a text box on the left pane.
+ Enter a link (a .xml or .rss) in the text box above the gadgets list.
</para>
<note>
<title>Note</title>
<para>
- If you enter a .rss file or a link that generate rss format (for example: http://feeds.feedburner.com/gatein), a new rss gadget reader will be created in the dashboard.
+ If you enter an .rss file or a link that generate an RSS feed (for example: http://feeds.feedburner.com/gatein), a new RSS gadget reader will be created in the dashboard.
</para>
</note>
<para>
- Remote gadgets can be only created using the .xml file format which s the standard gadget format.
+ Remote gadgets can be only created using the .xml file format (which is the standard gadget format).
</para>
</step>
<step>
<para>
- Click on the + icon to add a new gadget to the gadget list beneath.
+ Click on the + icon to add a new gadget to the gadget list.
</para>
</step>
</procedure>
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/FCK_Portlet.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/FCK_Portlet.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/FCK_Portlet.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -23,7 +23,7 @@
--><title>FCK Portlet</title>
<para>
- GateIn Portal provides users with FCK portlet used as a lightweight text editor in the web pages. All its common used functions (like Word editor) such as writing, formatting text, creating tables, inserting links or picture, etc.
+ &PRODUCT; provides users with a portlet for the FCK Editor; a <ulink type="http" url="http://en.wikipedia.org/wiki/WYSIWYG">WYSIWYG</ulink> text editor that can be embedded in HTML web pages. FCK Editor offers users many of the commonly used word-processor functions such as writing, formatting text, creating tables, inserting links or pictures and more.
</para>
<mediaobject>
<imageobject>
@@ -31,14 +31,14 @@
</imageobject>
</mediaobject>
<para>
- FCK portlet also consists of some main elements:
+ The main elements of the FCK portlet are:
</para>
<variablelist>
<varlistentry>
<term>Toolbar</term>
<listitem>
<para>
- The area at the top of the editor which contains many different buttons. You will use these buttons to activate the program functions.
+ The area at the top of the editor which, like a desktop word-processsor, contains buttons used to perform various functions.
</para>
<mediaobject>
<imageobject>
@@ -51,7 +51,7 @@
<term>Editing Area</term>
<listitem>
<para>
- This area is under the toolbar. This area allows typing your text and format document.
+ This is the main pane of the text editor portlet. It is where you type, view and format your text.
</para>
<mediaobject>
<imageobject>
@@ -64,7 +64,7 @@
<term>Context menu</term>
<listitem>
<para>
- It is a menu with the functions that will appear when you right click anywhere in the space of editing area or an existing object.
+ A context menu is the program-specific right-click menu. It allows users to perform functions based on the context of where they clicked in the application. In the FCK Editor, context options include items like 'cut', 'copy' and 'paste'.
</para>
<mediaobject>
<imageobject>
@@ -74,11 +74,14 @@
</listitem>
</varlistentry>
<varlistentry>
- <term>Dialogs</term>
+ <term>Dialogues</term>
<listitem>
<para>
- Small windows appear when some of the functions are activated, it is used to provide the necessary information to accomplish that functions. For an example: To insert a link, you need to open <emphasis role="bold">Link</emphasis> dialog by clicking!images/LinkIcon.png! icon on the Tool bar :
+ In the FCK Editor, as in most programs, small windows called 'dialogues' may appear when some of the functions are activated. They provide the necessary information to accomplish those functions.
</para>
+ <para>
+ For an example: To insert a link into your document, you click the <emphasis role="bold">Link</emphasis> icon in the Toolbar. This will open a dialogue to allow you to input necessary information about the link:
+ </para>
<mediaobject>
<imageobject>
<imagedata fileref="images/Link.png" format="PNG" />
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/Interface_Portlets.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/Interface_Portlets.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/portletsUser/Interface_Portlets.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -31,7 +31,7 @@
<term>Banner Portlet</term>
<listitem>
<para>
- This Portlet is considered as the welcome gateway of a Portal. It contains the organization's slogan, logo, icon, button, etc.
+ This Portlet is considered the welcome gateway of a Portal. It contains the organization's slogan, logo, and icons etc.
</para>
<!-- <mediaobject>
<imageobject>
@@ -57,7 +57,7 @@
<term>Navigation Portlet</term>
<listitem>
<para>
- This Portlet provides a navigation bar. A navigation likes a menu that helps users to visualize the structure of a site and provide links to quickly move from page to page.
+ This Portlet provides a navigation bar. A is a menu that helps users to visualize the structure of a site and provide links to quickly move from page to page.
</para>
<!-- <mediaobject>
<imageobject>
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Navigation_concept.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Navigation_concept.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Navigation_concept.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -33,7 +33,7 @@
<term>Site</term>
<listitem>
<para>
- This navigation links to separate sites of the main Portal. Each site has only one navigation and it is automatically created when the site is created. This functionality allows different sites to administer some Portal aspects, such as portlets, individually while maintaining other content standaradized with the parent Portal.
+ This navigation links to separate sites of the main Portal. Each site has only one navigation and it is automatically created when the site is created. This functionality allows different sites to administer some Portal aspects individually, such as portlets, while maintaining other content standardized with the parent Portal.
</para>
</listitem>
</varlistentry>
@@ -41,7 +41,7 @@
<term>Group</term>
<listitem>
<para>
- The content of this navigation differs depending on the type of account logged in. For user accounts the Groups navigation holds personal links set up by the user. For management accounts, it keeps the links to pages for registered Portal users as well as adminisrative tasks and personal links. In the administrator account, the navigation adds further management abilities such as Internationalization and community management.
+ The content of this navigation differs depending on the type of account logged in. For user accounts the Groups navigation holds personal links set up by the user. For management accounts, it keeps the links to pages for registered Portal users as well as administrative tasks and personal links. In the administrator account, the navigation adds further management abilities such as Internationalization and community management.
</para>
</listitem>
</varlistentry>
@@ -53,8 +53,20 @@
</para>
</listitem>
</varlistentry>
-
</variablelist>
+ <para>
+ When logged in as an Administrator, a fourth navigation appears in the Toolbar:
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term>Site Editor</term>
+ <listitem>
+ <para>
+ This navigation contains links to add a new page to the portal, to edit a page or to change the portal's layout. Administrators can use these links to manage the portal.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</section>
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Permission_levels.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Permission_levels.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Permission_levels.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -26,7 +26,7 @@
Permission settings control what users can and cannot do within the portal and are set by portal administrators.
</para>
<para>
- There are two permission <emphasis role="bold">types</emphasis>:
+ Permission <emphasis role="bold">types</emphasis> dictate <emphasis>what</emphasis> a user can do within the portal. There are two permission types used in &PRODUCT;:
</para>
<variablelist>
@@ -34,7 +34,7 @@
<term>Access</term>
<listitem>
<para>
- This allows users to use (see a page content, drag and drop portlets into pages, sign in). The access permission can be set for a list of groups.
+ This permission type allows users to utilize portal content, that is; sign in, rearrange portlets, etc. This permission can be set for multiple member groups.
</para>
</listitem>
</varlistentry>
@@ -42,14 +42,14 @@
<term>Edit</term>
<listitem>
<para>
- Allows users to change (change portal or page information, delete portals or pages). The edit permission is set for only one group at the same time.
+ This permission type allows users to change portal content. This includes actions such as changing page information, deleting pages etc. The <emphasis>edit</emphasis> permission is set for only one group at a time.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
- There are several permission <emphasis role="bold"> levels</emphasis> used in EPP 5.0:
+ Permission <emphasis role="bold"> levels</emphasis> dictate <emphasis>where</emphasis> in the portal the user's permission type applies. There are three permission levels:
</para>
<variablelist>
@@ -57,7 +57,7 @@
<term>Portal</term>
<listitem>
<para>
- The portal permission level includes all pages, pages only can be accessed if the user has also access to the Portal.
+ The portal permission level includes all pages within the portal. Therefore, a user with the <emphasis role="bold">access</emphasis> permission type can view (but not edit) all the pages within the portal. A user with <emphasis role="bold">edit</emphasis> permission at the portal level, can change any page in the portal.
</para>
</listitem>
</varlistentry>
@@ -65,7 +65,7 @@
<term>Page</term>
<listitem>
<para>
- The page permission level restricts the access permission to single pages. Users can change page information (properties, layout) if they have the edit permission.
+ The page permission level restricts the user to particular pages. Users are only able to see and/or edit (depending on their permission <emphasis role="bold">type</emphasis>) pages they have been given access to.
</para>
</listitem>
</varlistentry>
@@ -73,55 +73,15 @@
<term>Portlet</term>
<listitem>
<para>
- The portlet permission level allows users create a page, they need to drag and drop portlets into a page to create the page content. Some portlets are only used for administrators, some are used for individual needs of a group thus you have to set the appropriate access permission.
+ The portlet permission level allows users create a page by dragging and dropping portlets into a page. Some portlets are only used for administrators while some are used for individuals thus administrators have to set the appropriate access permissions.
</para>
</listitem>
</varlistentry>
</variablelist>
-<!-- <section id="sect-User_Guide-Permissions-Permission_Types">
- <title>Permission Types</title>
- <para>
- There are two permission <emphasis role="bold">types</emphasis>:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis role="bold">Access</emphasis>: This allows users to use (see a page content, drag and drop portlets into pages, sign in). The access permission can be set for a list of groups.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis role="bold">Edit</emphasis>: allows users to change (change portal or page information, delete portals or pages). The edit permission is set for only one group at the same time.
- </para>
- </listitem>
- </itemizedlist>
- </section>
-
- <section id="sect-User_Guide-Permissions-Permission_Levels">
- <title>Permission Levels</title>
- <para>
- There are several permission <emphasis role="bold"> levels</emphasis> used in EPP 5.0:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis role="bold">Portal</emphasis>: The portal permission level includes all pages, pages only can be accessed if the user has also access to the Portal.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis role="bold">Page</emphasis>: The page permission level restricts the access permission to single pages. Users can change page information (properties, layout) if they have the edit permission.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis role="bold">Portlet</emphasis>: The portlet permission level allows users create a page, they need to drag and drop portlets into a page to create the page content. Some portlets are only used for administrators, some are used for individual needs of a group thus you have to set the appropriate access permission.
- </para>
- </listitem>
- </itemizedlist>
- </section> -->
-
+ <para>
+ Permission <emphasis role="bold">types</emphasis> and <emphasis role="bold">levels</emphasis> can be used to effectively control who can do what within the portal. For more information on setting permissions refer to <xref linkend="sect-User_Guide-Manage_Permissions"/>
+ </para>
</section>
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Portal_concept.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Portal_concept.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Portal_concept.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -23,7 +23,7 @@
--><title>Portal</title>
<para>
- &PRODUCT; is a web-based application that provides users with personalized User Interface (UI). This UI allows users to easily perform actions such as searching applications or information and communicating with other users.
+ &PRODUCT; is a web-based application that provides users with personalized User Interface (UI). This interface allows users to easily search applications or information or communicating with other users.
</para>
<para>
The Portal provides a graphical aggregation of enterprise content and business applications with flexible management and personalization options.
@@ -45,7 +45,7 @@
<term>WebUI Framework</term>
<listitem>
<para>
- The WebUI (User Interface) Framework is tailored for easy screen composition and Ajax support in Portal environment.
+ The WebUI Framework has <ulink type="http" url="http://www.xul.fr/en-xml-ajax.html">AJAX</ulink> support and is designed for easy screen composition.
</para>
</listitem>
</varlistentry>
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Portlet_concept.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Portlet_concept.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Portlet_concept.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -23,10 +23,10 @@
--><title>Portlet</title>
<para>
- A portlet is a small, self-contained web application. Portlet interface components are managed and displayed within a Portal. Typically, a portal page is displayed as a collection of non-overlapping portlet windows, with each portlet window displaying a different portlet. Hence a portlet (or collection of portlets) resembles a web-based application hosted in a portal. Portlets can be configured to generated differing content.
+ A portlet is a small, self-contained web application. Portlet interface components are managed and displayed within a Portal. Typically, a <emphasis>portal</emphasis> page is displayed as a collection of non-overlapping <emphasis>portlet</emphasis> windows, with each portlet window displaying a different portlet. Hence a portlet (or collection of portlets) resembles a web-based application hosted in a portal.
</para>
<para>
- EPP has a number of standard portlets that can be plugged into any portal.
+ Portlets can be configured to generated differing content and &PRODUCT; has a number of default portlets that can be plugged into any portal.
</para>
</section>
Modified: portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Toolbar_concept.xml
===================================================================
--- portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Toolbar_concept.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/docs/user-guide/en/modules/terms/Toolbar_concept.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
]>
-<section id="sect-User_Guide-Toolbar_concept">
+<section id="sect-User_Guide-Toolbar-Concept">
<!--
Copyright (C) 2009 eXo Platform SAS.
@@ -21,9 +21,9 @@
Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA, or see the FSF site: http://www.fsf.org.
- --><title>Toolbar concept</title>
+ --><title>Toolbar</title>
<para>
- This bar contains all user and administration actions. It helps users and the administrator access and perform actions easily, quickly and effectively. You can see this toolbar as it appears in the Portal below:
+ This bar contains all user and administration actions. It helps users and the administrator access and perform actions easily, quickly and effectively. You can see the toolbar below as it appears in the Portal:
</para>
<mediaobject>
<imageobject>
Property changes on: portal/branches/wsrp-integration/examples/portlets/jsfhellouser
___________________________________________________________________
Name: svn:ignore
+ target
Property changes on: portal/branches/wsrp-integration/examples/portlets/jsphellouser
___________________________________________________________________
Name: svn:ignore
+ target
Property changes on: portal/branches/wsrp-integration/examples/portlets/simplesthelloworld
___________________________________________________________________
Name: svn:ignore
+ target
Modified: portal/branches/wsrp-integration/packaging/pkg/pom.xml
===================================================================
--- portal/branches/wsrp-integration/packaging/pkg/pom.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/packaging/pkg/pom.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -38,7 +38,7 @@
<groupId>org.gatein.tools</groupId>
<artifactId>packager</artifactId>
<type>zip</type>
- <version>1.0.0-Beta04</version>
+ <version>1.0.0-Beta05</version>
</dependency>
<dependency>
@@ -355,5 +355,208 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>pkg-tomcat-tests</id>
+ <build>
+ <finalName>GateIn-${project.version}</finalName>
+ <plugins>
+ <!-- Ensure your environment is correctly setup -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>tomcat-check-environment-ready</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireProperty>
+ <property>exo.projects.directory.dependencies</property>
+ <message>"You must define the property exo.projects.directory.dependencies to give the path to the directory where you store your applications servers"</message>
+ </requireProperty>
+ <requireProperty>
+ <property>exo.projects.app.tomcat.version</property>
+ <message>"You must define the property exo.projects.app.tomcat.version to give the name of the directory where is stored tomcat"</message>
+ </requireProperty>
+ <requireFilesExist>
+ <files>
+ <file>${exo.projects.directory.dependencies}/${exo.projects.app.tomcat.version}/</file>
+ </files>
+ <message>"The following Tomcat directory doesn't exist : ${exo.projects.directory.dependencies}/${exo.projects.app.tomcat.version}"</message>
+ </requireFilesExist>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- run exo build -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>tomcat-packaging</id>
+ <phase>package</phase>
+ <configuration>
+ <executable>java</executable>
+ <workingDirectory>${basedir}</workingDirectory>
+ <arguments>
+ <argument>-Dexo.package.home=${basedir}/target/packager</argument>
+ <argument>-Dexo.current.dir=${basedir}</argument>
+ <argument>-Dexo.base.dir=${exo.projects.directory.base}</argument>
+ <argument>-Dexo.conf.dir=${basedir}/target/packager-conf</argument>
+ <argument>-Dexo.working.dir=${gatein.working.dir}/</argument>
+ <!--argument>-Dexo.src.dir=NONE</argument-->
+ <argument>-Dexo.dep.dir=${exo.projects.directory.dependencies}</argument><!-- to get the server ref install -->
+ <argument>-Dexo.m2.repos=file:${settings.localRepository}</argument>
+ <argument>-Dclean.server=${exo.projects.app.tomcat.version}</argument>
+ <argument>-Dexo.m2.home=${maven.home}</argument>
+ <argument>-Xshare:auto</argument>
+ <argument>-Xms128m</argument>
+ <argument>-Xmx512m</argument>
+ <argument>-classpath</argument>
+ <argument>${basedir}/target/packager/lib/js.jar</argument>
+ <argument>org.mozilla.javascript.tools.shell.Main</argument>
+ <argument>${basedir}/target/packager/javascript/eXo/eXo.js</argument>
+ <argument>exobuild</argument>
+ <argument>--product=portal</argument>
+ <argument>--deploy=tomcat</argument>
+ <argument>--integration-test</argument>
+ </arguments>
+ </configuration>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+<!--
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>tomcat-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/tomcat-zip.xml</descriptor>
+ </descriptors>
+ <attach>false</attach>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+-->
+ </plugins>
+ </build>
+
+ </profile>
+ <profile>
+ <id>pkg-jbossas-tests</id>
+ <build>
+ <finalName>GateIn-${project.version}</finalName>
+ <plugins>
+ <!-- Ensure your environment is correctly setup -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>jbossas-check-environment-ready</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireProperty>
+ <property>exo.projects.directory.dependencies</property>
+ <message>"You must define the property exo.projects.directory.dependencies to give the path to the directory where you store your applications servers"</message>
+ </requireProperty>
+ <requireProperty>
+ <property>exo.projects.app.jboss.version</property>
+ <message>"You must define the property exo.projects.app.jboss.version to give the name of the directory where is stored JBossAS"</message>
+ </requireProperty>
+ <requireFilesExist>
+ <files>
+ <file>${exo.projects.directory.dependencies}/${exo.projects.app.jboss.version}/</file>
+ </files>
+ <message>"The following JBossAS directory doesn't exist : ${exo.projects.directory.dependencies}/${exo.projects.app.tomcat.version}"</message>
+ </requireFilesExist>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- run exo buils -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>jbossas-packaging</id>
+ <phase>package</phase>
+ <configuration>
+ <executable>java</executable>
+ <workingDirectory>${basedir}</workingDirectory>
+ <arguments>
+ <argument>-Dexo.package.home=${basedir}/target/packager</argument>
+ <argument>-Dexo.current.dir=${basedir}</argument>
+ <argument>-Dexo.base.dir=${exo.projects.directory.base}</argument>
+ <argument>-Dexo.conf.dir=${basedir}/target/packager-conf</argument>
+ <argument>-Dexo.working.dir=${gatein.working.dir}</argument>
+ <!--argument>-Dexo.src.dir=NONE</argument-->
+ <argument>-Dexo.dep.dir=${exo.projects.directory.dependencies}</argument><!-- to get the server ref install -->
+ <argument>-Dexo.m2.repos=file:${settings.localRepository},http://maven2.exoplatform.org/rest/maven2,http://repository.jboss.org/maven2</argument>
+ <argument>-Dclean.server=${exo.projects.app.jboss.version}</argument>
+ <argument>-Dexo.m2.home=${maven.home}</argument>
+ <argument>-Xshare:auto</argument>
+ <argument>-Xms128m</argument>
+ <argument>-Xmx512m</argument>
+ <argument>-classpath</argument>
+ <argument>${basedir}/target/packager/lib/js.jar</argument>
+ <argument>org.mozilla.javascript.tools.shell.Main</argument>
+ <argument>${basedir}/target/packager/javascript/eXo/eXo.js</argument>
+ <argument>exobuild</argument>
+ <argument>--product=portal</argument>
+ <argument>--deploy=jbossear</argument>
+ <argument>--integration-test</argument>
+ </arguments>
+ </configuration>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+<!--
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>jbossas-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/jbossear-zip.xml</descriptor>
+ </descriptors>
+ <attach>false</attach>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+-->
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
Modified: portal/branches/wsrp-integration/pom.xml
===================================================================
--- portal/branches/wsrp-integration/pom.xml 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/pom.xml 2009-12-22 02:43:32 UTC (rev 1116)
@@ -45,7 +45,7 @@
<org.jibx.version>1.2.1</org.jibx.version>
<org.shindig.version>SNAPSHOT-r790473</org.shindig.version>
<org.gatein.common.version>2.0.0-CR02</org.gatein.common.version>
- <org.gatein.wci.version>2.0.0-CR01</org.gatein.wci.version>
+ <org.gatein.wci.version>2.0.0-CR02</org.gatein.wci.version>
<org.gatein.pc.version>2.1.0-CR01</org.gatein.pc.version>
<org.picketlink.idm>1.0.0.CR1</org.picketlink.idm>
<org.gatein.wsrp.version>1.0.0-Beta03-SNAPSHOT</org.gatein.wsrp.version>
Modified: portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_en.properties
===================================================================
--- portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_en.properties 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_en.properties 2009-12-22 02:43:32 UTC (rev 1116)
@@ -35,7 +35,7 @@
UIHomePagePortlet.Label.Title=Try GateIn 3.0 with one of these user accounts:
UIHomePagePortlet.Label.Intro=The new version comes with a revolutionary user interface<br/>Classic and WebOS Desktop Layouts<br/> Drag and Drop Features. Create Page Wizard<br/>And many more...
-UIHomePagePortlet.Label.Slogan=The Best of eXo and JBoss Portal<div>GateIn 3.0 Beta 3</div>
+UIHomePagePortlet.Label.Slogan=The Best of eXo and JBoss Portal<div>GateIn 3.0 Beta 4</div>
UIHomePagePortlet.Label.Username=Username:
UIHomePagePortlet.Label.Password=Password:
Modified: portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_es.properties
===================================================================
--- portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_es.properties 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_es.properties 2009-12-22 02:43:32 UTC (rev 1116)
@@ -35,7 +35,7 @@
UIHomePagePortlet.Label.Title=Prueba GateIn 3.0 con uno de los siguientes usuarios:
UIHomePagePortlet.Label.Intro=La nueva versi\u00f3n viene con un interfaz de usuario revolucionario<br/>Layouts Cl\u00e1sico y Escritorio WebOS <br/> Funcionalidad Drag and Drop. Asistente de Creaci\u00f3n de P\u00e1gina<br/>Y mucho m\u00e1s...
-UIHomePagePortlet.Label.Slogan=Lo mejor de eXo y JBoss Portal<div>GateIn 3.0 Beta 3</div>
+UIHomePagePortlet.Label.Slogan=Lo mejor de eXo y JBoss Portal<div>GateIn 3.0 Beta 4</div>
UIHomePagePortlet.Label.Username=Usuario:
UIHomePagePortlet.Label.Password=Contrase\u00f1a:
Modified: portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_fr.properties
===================================================================
--- portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_fr.properties 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_fr.properties 2009-12-22 02:43:32 UTC (rev 1116)
@@ -32,6 +32,6 @@
UIHomePagePortlet.Label.Title=Try GateIn 3.0 with one of these user accounts:
UIHomePagePortlet.Label.Intro=New version comes with a revolutionary user interface<br/>Classic and WebOS Desktop Layouts<br/> Drag and Drop Layouts. Create Pages Wizard<br/>And many more...
-UIHomePagePortlet.Label.Slogan=The Best of eXo and JBoss Portal<div>GateIn 3.0 Beta 3</div>
+UIHomePagePortlet.Label.Slogan=The Best of eXo and JBoss Portal<div>GateIn 3.0 Beta 4</div>
UIHomePagePortlet.Label.Username=Username:
UIHomePagePortlet.Label.Password=Password:
Modified: portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_ru.properties
===================================================================
--- portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_ru.properties 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_ru.properties 2009-12-22 02:43:32 UTC (rev 1116)
@@ -15,6 +15,6 @@
UIHomePagePortlet.Label.Title=Используйте GateIn 3.0 с одной из учётных записей:
UIHomePagePortlet.Label.Intro=Новая версия представляет революционно новый пользовательский интерфейс<br/>Класический и WebOS макеты<br/> Поддержка перетаскивания. Мастера создания страниц<br/>И многое другое...
-UIHomePagePortlet.Label.Slogan=The Best of eXo and JBoss Portal<div>GateIn 3.0 Beta 3</div>
+UIHomePagePortlet.Label.Slogan=The Best of eXo and JBoss Portal<div>GateIn 3.0 Beta 4</div>
UIHomePagePortlet.Label.Username=Имя:
UIHomePagePortlet.Label.Password=Пароль:
Modified: portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_uk.properties
===================================================================
--- portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_uk.properties 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_uk.properties 2009-12-22 02:43:32 UTC (rev 1116)
@@ -16,6 +16,6 @@
UIHomePagePortlet.Label.Title=Спробуй GateIn 3.0 з користувачем серед таких облікових записів:
UIHomePagePortlet.Label.Intro=Нова версія з прогресивним інтерфейсом користувача<br/>схема класичного та WebOS робочого столу<br/> Можливість "Перетягни-відпусти". Wizard-створювач сторінок<br/>Та багато іншого...
-UIHomePagePortlet.Label.Slogan=The Best of eXo and JBoss Portal<div>GateIn 3.0 Beta 3</div>
+UIHomePagePortlet.Label.Slogan=The Best of eXo and JBoss Portal<div>GateIn 3.0 Beta 4</div>
UIHomePagePortlet.Label.Username=Ім'я користувача:
UIHomePagePortlet.Label.Password=Пароль:
Modified: portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DOMUtil.js
===================================================================
--- portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DOMUtil.js 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DOMUtil.js 2009-12-22 02:43:32 UTC (rev 1116)
@@ -235,6 +235,17 @@
return null ;
} ;
/**
+ * Returns true if root has obj as a ancestor
+ */
+DOMUtil.prototype.hasAncestor= function(root, obj) {
+ var prtEle = root.parentNode ;
+ while (prtEle) {
+ if(prtEle == obj) return true;
+ prtEle = prtEle.parentNode;
+ }
+ return false ;
+} ;
+/**
* Returns true if root has obj as a descendant
*/
DOMUtil.prototype.hasDescendant= function(root, obj) {
Modified: portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DragDrop.js
===================================================================
--- portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DragDrop.js 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DragDrop.js 2009-12-22 02:43:32 UTC (rev 1116)
@@ -64,6 +64,7 @@
var dndEvent = this.dndEvent = new DragDropEvent(clickObject, dragObject) ;
document.onmousemove = this.onMouseMove ;
document.onmouseup = this.onDrop ;
+ document.onmouseout = this.onCancel ;
document.onkeypress = this.onKeyPressEvt ;
if(this.initCallback != null) {
@@ -115,6 +116,10 @@
eXo.core.DragDrop.destroy() ;
} ;
+DragDrop.prototype.onCancel = function(evt) {
+ if(eXo.core.DragDrop.cancelCallback) eXo.core.DragDrop.cancelCallback(eXo.core.DragDrop.dndEvent);
+} ;
+
DragDrop.prototype.destroy = function() {
if(this.destroyCallback != null) {
this.destroyCallback(this.dndEvent) ;
@@ -122,6 +127,7 @@
document.onmousemove = null ;
document.onmouseup = null ;
+ document.onmouseout = null ;
document.onkeypress = null ;
this.dndEvent = null ;
Modified: portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DragDrop2.js
===================================================================
--- portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DragDrop2.js 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/core/DragDrop2.js 2009-12-22 02:43:32 UTC (rev 1116)
@@ -49,6 +49,7 @@
o.root.onDragStart(x, y, o.lastMouseX, o.lastMouseY, e);
document.onmousemove = eXo.core.DragDrop2.drag;
document.onmouseup = eXo.core.DragDrop2.end;
+ document.onmouseout = eXo.core.DragDrop2.cancel;
return false;
},
@@ -76,11 +77,16 @@
e = eXo.core.DragDrop2.fixE(e);
document.onmousemove = null;
document.onmouseup = null;
+ document.onmouseout = null;
eXo.core.DragDrop2.obj.root.onDragEnd( parseInt(eXo.core.DragDrop2.obj.root.style["left"]),
parseInt(eXo.core.DragDrop2.obj.root.style["top"]), e.clientX, e.clientY);
eXo.core.DragDrop2.obj = null;
},
+ cancel : function(e) {
+ if(eXo.core.DragDrop2.obj.root.onCancel) eXo.core.DragDrop2.obj.root.onCancel(e);
+ },
+
fixE : function(e) {
if (typeof e == 'undefined') e = window.event;
if (typeof e.layerX == 'undefined') e.layerX = e.offsetX;
Modified: portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalDragDrop.js
===================================================================
--- portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalDragDrop.js 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/portal/PortalDragDrop.js 2009-12-22 02:43:32 UTC (rev 1116)
@@ -222,11 +222,6 @@
/*Set properties for drag object */
eXo.portal.PortalDragDrop.setDragObjectProperties(dragObject, tdElementList, "column", dndEvent.backupMouseEvent) ;
}
- //when dragObject out of page
- if ((Browser.findPosY(dragObject) < 0) || (Browser.findPosX(dragObject) + 64 > eXo.core.Browser.getBrowserWidth())) {
- DragDrop.dropCallback(dndEvent);
- document.onmousemove = null;
- }
}
} ;
@@ -248,20 +243,26 @@
eXo.portal.isInDragging = false;
eXo.portal.UIPortal.changeComposerSaveButton();
- }
+ };
+ DragDrop.cancelCallback = function(dndEvent) {
+ if(Browser.browserType == "ie" && Browser.findMouseYInClient(dndEvent.backupMouseEvent) < 0) {
+ DragDrop.onDrop(dndEvent.backupMouseEvent);
+ }
+ };
+
var clickObject = this;
var componentBlock = DOMUtil.findAncestorByClass(clickObject, "UIComponentBlock") ;
if(componentBlock != null) {
var dragBlock = eXo.portal.UIPortal.findUIComponentOf(componentBlock) ;
- DragDrop.init(eXo.portal.PortalDragDrop.findDropableTargets(), clickObject, dragBlock, e) ;
+ DragDrop.init(eXo.portal.PortalDragDrop.findDropableTargets(dragBlock), clickObject, dragBlock, e) ;
} else {
var dragBlock = DOMUtil.findAncestorByClass(clickObject, "DragObjectPortlet") ;
if(dragBlock) {
- DragDrop.init(eXo.portal.PortalDragDrop.findDropableTargets(), clickObject, dragBlock, e) ;
+ DragDrop.init(eXo.portal.PortalDragDrop.findDropableTargets(dragBlock), clickObject, dragBlock, e) ;
} else {
- DragDrop.init(eXo.portal.PortalDragDrop.findDropableTargets(), clickObject, clickObject, e) ;
+ DragDrop.init(eXo.portal.PortalDragDrop.findDropableTargets(dragBlock), clickObject, clickObject, e) ;
}
}
};
@@ -310,7 +311,7 @@
};
/* Find components in dropable target */
-PortalDragDrop.prototype.findDropableTargets = function() {
+PortalDragDrop.prototype.findDropableTargets = function(dragBlock) {
var dropableTargets = new Array() ;
var uiWorkingWorkspace = document.getElementById("UIWorkingWorkspace") ;
var uiPortal = eXo.core.DOMUtil.findFirstDescendantByClass(uiWorkingWorkspace, "div", "UIPortal") ;
@@ -323,6 +324,7 @@
if(uiPage) dropableTargets.push(uiPage) ;
}
for(var i = 0; i < uiContainers.length; i++) {
+ if (eXo.core.DOMUtil.hasAncestor(uiContainers[i], dragBlock)) continue;
dropableTargets.push(uiContainers[i]) ;
}
return dropableTargets ;
@@ -337,12 +339,10 @@
var deltaBottom = mouseY - (Math.round(browserHeight/6)) ;
if(deltaTop > 0) {
document.documentElement.scrollTop += deltaTop - 5 ;
-// if(!dragObject.isComponent) dragObject.style.top = parseInt(dragObject.style.top) + (deltaTop -5) + "px";
}
if(deltaBottom < 0 && document.documentElement.scrollTop > 0) {
document.documentElement.scrollTop += deltaBottom ;
-// if(!dragObject.isComponent) dragObject.style.top = parseInt(dragObject.style.top) + deltaBottom + "px";
}
};
Modified: portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/portal/UIPortal.js
===================================================================
--- portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/portal/UIPortal.js 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/portal/UIPortal.js 2009-12-22 02:43:32 UTC (rev 1116)
@@ -98,7 +98,7 @@
} else {
newLayer.parentNode.style.width = width + "px";
var normalBlock = DOMUtil.findFirstChildByClass(portlet, "div", "NormalContainerBlock");
- DOMUtil.replaceClass(normalBlock, "NormalContainerBlock", "OverContainerBlock");
+ if(normalBlock) DOMUtil.replaceClass(normalBlock, "NormalContainerBlock", "OverContainerBlock");
}
newLayer.parentNode.style.top = -height + "px";
editBlock.style.display = "block";
@@ -106,15 +106,18 @@
editBlock.style.display = "none";
if(!DOMUtil.hasClass(portlet, "UIPortlet")) {
var normalBlock = DOMUtil.findFirstChildByClass(portlet, "div", "OverContainerBlock");
- DOMUtil.replaceClass(normalBlock, "OverContainerBlock", "NormalContainerBlock");
+ if(normalBlock) DOMUtil.replaceClass(normalBlock, "OverContainerBlock", "NormalContainerBlock");
}
}
// Don't displat portlet control when View Container
var controlPortlet = DOMUtil.findFirstDescendantByClass(editBlock, "div", "CONTROL-PORTLET");
- controlPortlet.style.display = "block";
- if (controlPortlet != null && eXo.portal.portalMode == 4) {
+ if (controlPortlet) {
+ if(eXo.portal.portalMode == 4) {
controlPortlet.style.display = "none";
+ } else {
+ controlPortlet.style.display = "block";
+ }
}
};
Modified: portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/webui/UIDashboard.js
===================================================================
--- portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/webui/UIDashboard.js 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/web/eXoResources/src/main/webapp/javascript/eXo/webui/UIDashboard.js 2009-12-22 02:43:32 UTC (rev 1116)
@@ -251,7 +251,14 @@
uiTarget = eXo.core.DOMUtil.findFirstDescendantByClass(portletFragment, "div", "UITarget");
}
uiDashboard.targetObj = uiDashboard.currCol = uiDashboard.compId = null;
- }
+ }
+
+
+ dragObj.onCancel = function(e){
+ if(eXo.core.Browser.browserType == "ie" && eXo.core.Browser.findMouseYInClient() < 0) {
+ eXo.core.DragDrop2.end(e);
+ }
+ }
},
onLoad : function(windowId, canEdit) {
Modified: portal/branches/wsrp-integration/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java
===================================================================
--- portal/branches/wsrp-integration/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java 2009-12-22 02:21:07 UTC (rev 1115)
+++ portal/branches/wsrp-integration/webui/portal/src/main/java/org/exoplatform/portal/webui/page/UIPageForm.java 2009-12-22 02:43:32 UTC (rev 1116)
@@ -48,8 +48,8 @@
import org.exoplatform.webui.core.model.SelectItemCategory;
import org.exoplatform.webui.core.model.SelectItemOption;
import org.exoplatform.webui.event.Event;
+import org.exoplatform.webui.event.Event.Phase;
import org.exoplatform.webui.event.EventListener;
-import org.exoplatform.webui.event.Event.Phase;
import org.exoplatform.webui.form.UIFormCheckBoxInput;
import org.exoplatform.webui.form.UIFormInputItemSelector;
import org.exoplatform.webui.form.UIFormInputSet;
@@ -62,8 +62,8 @@
import org.exoplatform.webui.form.validator.StringLengthValidator;
import org.exoplatform.webui.organization.UIGroupMembershipSelector;
import org.exoplatform.webui.organization.UIListPermissionSelector;
+import org.exoplatform.webui.organization.UIListPermissionSelector.EmptyIteratorValidator;
import org.exoplatform.webui.organization.UIPermissionSelector;
-import org.exoplatform.webui.organization.UIListPermissionSelector.EmptyIteratorValidator;
import java.util.ArrayList;
import java.util.List;
@@ -429,11 +429,11 @@
public void execute(Event<UIPageForm> event) throws Exception
{
UIPageForm uiForm = event.getSource();
- String permission = "*:/" + uiForm.groupIdSelectBox.getValue();
- uiForm.findFirstComponentOfType(UIListPermissionSelector.class).setValue(new String[]{permission});
- UserACL userACL = uiForm.getApplicationComponent(UserACL.class);
String groupIdSelected = uiForm.groupIdSelectBox.getValue();
groupIdSelected = groupIdSelected.startsWith("/") ? groupIdSelected : "/" + groupIdSelected;
+ String permission = "*:" + groupIdSelected;
+ uiForm.findFirstComponentOfType(UIListPermissionSelector.class).setValue(new String[]{permission});
+ UserACL userACL = uiForm.getApplicationComponent(UserACL.class);
permission = userACL.getMakableMT() + ":" + groupIdSelected;
uiForm.findFirstComponentOfType(UIPermissionSelector.class).setValue(permission);
event.getRequestContext().addUIComponentToUpdateByAjax(uiForm.getParent());
15 years
gatein SVN: r1115 - in portal/trunk: webui/portal/src/main/java/org/exoplatform/portal/webui/application and 1 other directory.
by do-not-reply@jboss.org
Author: liem_nguyen
Date: 2009-12-21 21:21:07 -0500 (Mon, 21 Dec 2009)
New Revision: 1115
Modified:
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/UserACL.java
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIApplicationList.java
Log:
GTNPORTAL-401 User can access the category although it has no right access
Modified: portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/UserACL.java
===================================================================
--- portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/UserACL.java 2009-12-22 02:05:55 UTC (rev 1114)
+++ portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/UserACL.java 2009-12-22 02:21:07 UTC (rev 1115)
@@ -482,7 +482,7 @@
return id;
}
- private boolean hasPermission(Identity identity, String expPerm)
+ public boolean hasPermission(Identity identity, String expPerm)
{
String currentUser = identity.getUserId();
if (superUser_.equals(currentUser))
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIApplicationList.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIApplicationList.java 2009-12-22 02:05:55 UTC (rev 1114)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIApplicationList.java 2009-12-22 02:21:07 UTC (rev 1115)
@@ -24,14 +24,18 @@
import org.exoplatform.application.registry.Application;
import org.exoplatform.application.registry.ApplicationCategory;
import org.exoplatform.application.registry.ApplicationRegistryService;
+import org.exoplatform.portal.config.UserACL;
import org.exoplatform.portal.config.model.ApplicationType;
import org.exoplatform.portal.webui.util.Util;
+import org.exoplatform.services.security.Identity;
+import org.exoplatform.services.security.IdentityRegistry;
import org.exoplatform.webui.config.annotation.ComponentConfig;
import org.exoplatform.webui.config.annotation.EventConfig;
import org.exoplatform.webui.core.UIContainer;
import org.exoplatform.webui.event.Event;
import org.exoplatform.webui.event.EventListener;
+import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
@@ -57,15 +61,33 @@
String remoteUser = Util.getPortalRequestContext().getRemoteUser();
if (remoteUser == null || remoteUser.equals(""))
return;
+ UserACL userACL = Util.getUIPortalApplication().getApplicationComponent(UserACL.class);
+ IdentityRegistry identityRegistry = Util.getUIPortalApplication().getApplicationComponent(IdentityRegistry.class);
+ Identity identity = identityRegistry.getIdentity(remoteUser);
+ if (identity == null) return;
+
PortletComparator portletComparator = new PortletComparator();
categories = service.getApplicationCategories(remoteUser);
Collections.sort(categories, new PortletCategoryComparator());
- Iterator<ApplicationCategory> cateItr = categories.iterator();
+ Iterator<ApplicationCategory> cateItr = categories.iterator();
while (cateItr.hasNext())
{
- ApplicationCategory cate = cateItr.next();
+ ApplicationCategory cate = cateItr.next();
List<Application> applications = cate.getApplications();
- if (applications.size() < 1)
+
+ boolean hasPermission = false;
+ List<String> accessPermission = cate.getAccessPermissions();
+ if (accessPermission == null) {
+ accessPermission = new ArrayList<String>();
+ accessPermission.add(null);
+ }
+ for (String permssion : accessPermission)
+ {
+ hasPermission = userACL.hasPermission(identity, permssion);
+ if (hasPermission) break;
+ }
+
+ if (!hasPermission || applications.size() < 1)
cateItr.remove();
else
Collections.sort(applications, portletComparator);
15 years
gatein SVN: r1114 - in portal/branches/wsrp-integration: portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component and 1 other directories.
by do-not-reply@jboss.org
Author: chris.laprun(a)jboss.com
Date: 2009-12-21 21:05:55 -0500 (Mon, 21 Dec 2009)
New Revision: 1114
Modified:
portal/branches/wsrp-integration/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/configuration/JCRProducerConfigurationService.java
portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerEditor.java
portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerOverview.java
portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpProducerEditor.gtmpl
portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpProducerOverview.gtmpl
Log:
- Fixed loading and saving of producer configuration that wasn't working properly.
- Removed policy and validator configuration as well as registration properties as these features are not quite ready yet.
Modified: portal/branches/wsrp-integration/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/configuration/JCRProducerConfigurationService.java
===================================================================
--- portal/branches/wsrp-integration/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/configuration/JCRProducerConfigurationService.java 2009-12-22 00:09:45 UTC (rev 1113)
+++ portal/branches/wsrp-integration/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/producer/configuration/JCRProducerConfigurationService.java 2009-12-22 02:05:55 UTC (rev 1114)
@@ -1,24 +1,25 @@
/*
-* JBoss, a division of Red Hat
-* Copyright 2008, 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.
-*/
+ * JBoss, a division of Red Hat
+ * Copyright 2009, 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.
+ */
package org.gatein.portal.wsrp.state.producer.configuration;
@@ -79,10 +80,22 @@
ProducerConfigurationMapping pcm = session.findByPath(ProducerConfigurationMapping.class, PRODUCER_CONFIGURATION_PATH);
// if we don't have a configuration persisted in JCR already, force a reload from XML and save the resulting configuration
- pcm = saveConfiguration(session, pcm, true);
+ if (pcm == null)
+ {
+ pcm = session.insert(ProducerConfigurationMapping.class, PRODUCER_CONFIGURATION_PATH);
- configuration = pcm.toProducerConfiguration();
+ ProducerConfigurationService service = new SimpleXMLProducerConfigurationService(defaultConfigurationIS);
+ service.reloadConfiguration();
+ configuration = service.getConfiguration();
+ pcm.initFrom(configuration);
+ }
+ else
+ {
+ configuration = pcm.toProducerConfiguration();
+ }
+
+
persister.closeSession(session, true);
}
@@ -90,32 +103,13 @@
{
ChromatticSession session = persister.getSession();
- saveConfiguration(session, session.findByPath(ProducerConfigurationMapping.class, PRODUCER_CONFIGURATION_PATH), false);
-
- persister.closeSession(session, true);
- }
-
- private ProducerConfigurationMapping saveConfiguration(ChromatticSession session, ProducerConfigurationMapping pcm, boolean forceReloadFromXML) throws Exception
- {
+ ProducerConfigurationMapping pcm = session.findByPath(ProducerConfigurationMapping.class, PRODUCER_CONFIGURATION_PATH);
if (pcm == null)
{
pcm = session.insert(ProducerConfigurationMapping.class, PRODUCER_CONFIGURATION_PATH);
}
+ pcm.initFrom(configuration);
- if (configuration == null)
- {
- // if we don't already have a configuration, check if we want to reload it from XML
- if (forceReloadFromXML)
- {
- ProducerConfigurationService service = new SimpleXMLProducerConfigurationService(defaultConfigurationIS);
-
- service.reloadConfiguration();
- configuration = service.getConfiguration();
- }
-
- pcm.initFrom(configuration);
- }
-
- return pcm;
+ persister.closeSession(session, true);
}
}
Modified: portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerEditor.java
===================================================================
--- portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerEditor.java 2009-12-22 00:09:45 UTC (rev 1113)
+++ portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerEditor.java 2009-12-22 02:05:55 UTC (rev 1114)
@@ -1,28 +1,27 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, Red Hat Middleware, LLC, and individual *
- * contributors as indicated by the @authors tag. See the *
- * copyright.txt in the distribution for a full listing of *
- * individual contributors. *
- * *
- * This is free software; you can redistribute it and/or modify it *
- * under the terms of the GNU Lesser General Public License as *
- * published by the Free Software Foundation; either version 2.1 of *
- * the License, or (at your option) any later version. *
- * *
- * This software is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
- * Lesser General Public License for more details. *
- * *
- * You should have received a copy of the GNU Lesser General Public *
- * License along with this software; if not, write to the Free *
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
- ******************************************************************************/
+/*
+ * JBoss, a division of Red Hat
+ * Copyright 2009, 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.
+ */
package org.exoplatform.wsrp.webui.component;
-import org.exoplatform.commons.utils.LazyPageList;
import org.exoplatform.container.ExoContainer;
import org.exoplatform.container.ExoContainerContext;
import org.exoplatform.web.application.ApplicationMessage;
@@ -30,20 +29,11 @@
import org.exoplatform.webui.config.annotation.ComponentConfig;
import org.exoplatform.webui.config.annotation.EventConfig;
import org.exoplatform.webui.core.UIApplication;
-import org.exoplatform.webui.core.UIGrid;
-import org.exoplatform.webui.core.UIPopupWindow;
import org.exoplatform.webui.core.lifecycle.UIFormLifecycle;
import org.exoplatform.webui.event.Event;
import org.exoplatform.webui.event.EventListener;
import org.exoplatform.webui.form.UIForm;
import org.exoplatform.webui.form.UIFormCheckBoxInput;
-import org.exoplatform.webui.form.UIFormStringInput;
-import org.exoplatform.webui.form.validator.MandatoryValidator;
-import org.gatein.registration.RegistrationPersistenceManager;
-import org.gatein.registration.policies.DefaultRegistrationPolicy;
-import org.gatein.wsrp.consumer.ConsumerException;
-import org.gatein.wsrp.consumer.ProducerInfo;
-import org.gatein.wsrp.consumer.registry.ConsumerRegistry;
import org.gatein.wsrp.producer.config.ProducerConfiguration;
import org.gatein.wsrp.producer.config.ProducerConfigurationService;
import org.gatein.wsrp.producer.config.ProducerRegistrationRequirements;
@@ -65,24 +55,27 @@
addUIFormInput(new UIFormCheckBoxInput(REG_REQUIRED_FOR_DESCRIPTION, REG_REQUIRED_FOR_DESCRIPTION, null));
addUIFormInput(new UIFormCheckBoxInput(STRICT_MODE, STRICT_MODE, null));
addUIFormInput(new UIFormCheckBoxInput(REQUIRES_REGISTRATION, REQUIRES_REGISTRATION, null));
- addUIFormInput(new UIFormStringInput(POLICY_CLASS, POLICY_CLASS, null).addValidator(MandatoryValidator.class));
- addUIFormInput(new UIFormStringInput(VALIDATOR_CLASS, VALIDATOR_CLASS, null).addValidator(MandatoryValidator.class));
+ /*addUIFormInput(new UIFormStringInput(POLICY_CLASS, POLICY_CLASS, null).addValidator(MandatoryValidator.class));
+ addUIFormInput(new UIFormStringInput(VALIDATOR_CLASS, VALIDATOR_CLASS, null).addValidator(MandatoryValidator.class));*/
}
- public void setProducerConfig(ProducerConfiguration producerConfiguration) throws Exception {
+ public void setProducerConfig(ProducerConfiguration producerConfiguration) throws Exception
+ {
- getUIFormCheckBoxInput(REG_REQUIRED_FOR_DESCRIPTION).setValue(producerConfiguration.getRegistrationRequirements().isRegistrationRequiredForFullDescription());
+ ProducerRegistrationRequirements registrationRequirements = producerConfiguration.getRegistrationRequirements();
+ getUIFormCheckBoxInput(REG_REQUIRED_FOR_DESCRIPTION).setValue(registrationRequirements.isRegistrationRequiredForFullDescription());
getUIFormCheckBoxInput(STRICT_MODE).setValue(producerConfiguration.isUsingStrictMode());
- getUIFormCheckBoxInput(REQUIRES_REGISTRATION).setValue(producerConfiguration.getRegistrationRequirements().isRegistrationRequired());
+ getUIFormCheckBoxInput(REQUIRES_REGISTRATION).setValue(registrationRequirements.isRegistrationRequired());
- getUIStringInput(POLICY_CLASS).setValue(producerConfiguration.getRegistrationRequirements().getPolicy().getClass().getName());
+ /*RegistrationPolicy policy = registrationRequirements.getPolicy();
+ String policyClassName = policy.getClass().getName();
+ getUIStringInput(POLICY_CLASS).setValue(policyClassName);
- if (ProducerRegistrationRequirements.DEFAULT_POLICY_CLASS_NAME.equals(producerConfiguration.getRegistrationRequirements().getPolicy().getClass().getName())){
- getUIStringInput(VALIDATOR_CLASS).setValue(((DefaultRegistrationPolicy)producerConfiguration.getRegistrationRequirements().getPolicy()).getClass().getName());
- }
-
-
- //producerInfo.setRegistrationInfo();
+ if (ProducerRegistrationRequirements.DEFAULT_POLICY_CLASS_NAME.equals(policyClassName))
+ {
+ DefaultRegistrationPolicy defaultPolicy = (DefaultRegistrationPolicy)policy;
+ getUIStringInput(VALIDATOR_CLASS).setValue(defaultPolicy.getValidator().getClass().getName());
+ }*/
}
@@ -92,8 +85,6 @@
{
UIWsrpProducerEditor producerEditor = event.getSource();
- UIWsrpProducerEditor producerOverview = producerEditor.getAncestorOfType(UIWsrpProducerEditor.class);
-
WebuiRequestContext ctx = event.getRequestContext();
producerEditor.save(ctx);
//producerEditor.reset();
@@ -109,33 +100,27 @@
ProducerConfigurationService pconfService = getProducerConfigurationService();
ProducerConfiguration producerConfiguration = pconfService.getConfiguration();
- try{
- producerConfiguration.getRegistrationRequirements().setRegistrationRequiredForFullDescription(Boolean.parseBoolean(getUIFormCheckBoxInput(REG_REQUIRED_FOR_DESCRIPTION).getValue().toString()));
- producerConfiguration.setUsingStrictMode(Boolean.parseBoolean(getUIFormCheckBoxInput(STRICT_MODE).getValue().toString()));
+ try
+ {
+ ProducerRegistrationRequirements registrationRequirements = producerConfiguration.getRegistrationRequirements();
+ registrationRequirements.setRegistrationRequiredForFullDescription(Boolean.parseBoolean(getUIFormCheckBoxInput(REG_REQUIRED_FOR_DESCRIPTION).getValue().toString()));
+ producerConfiguration.setUsingStrictMode(Boolean.parseBoolean(getUIFormCheckBoxInput(STRICT_MODE).getValue().toString()));
- producerConfiguration.getRegistrationRequirements().setRegistrationRequired(Boolean.parseBoolean(getUIFormCheckBoxInput(REQUIRES_REGISTRATION).getValue().toString()));
- System.out.println("------------" + getUIStringInput(POLICY_CLASS).getValue());
- System.out.println("------------" + getUIStringInput(VALIDATOR_CLASS).getValue());
- System.out.println("------------" + getUIStringInput(POLICY_CLASS).getValue().toString());
- producerConfiguration.getRegistrationRequirements().reloadPolicyFrom(getUIStringInput(POLICY_CLASS).getValue().toString(), getUIStringInput(VALIDATOR_CLASS).getValue().toString());
+ registrationRequirements.setRegistrationRequired(Boolean.parseBoolean(getUIFormCheckBoxInput(REQUIRES_REGISTRATION).getValue().toString()));
+// registrationRequirements.reloadPolicyFrom(getUIStringInput(POLICY_CLASS).getValue(), getUIStringInput(VALIDATOR_CLASS).getValue());
- pconfService.saveConfiguration();
- uiApp.addMessage(new ApplicationMessage("Producer Successfully Changed", null));
- }catch(Exception e){
- uiApp.addMessage(new ApplicationMessage("Producer Modification Error", null, ApplicationMessage.ERROR));
+ pconfService.saveConfiguration();
+ uiApp.addMessage(new ApplicationMessage("Producer Successfully Changed", null));
+ }
+ catch (Exception e)
+ {
+ uiApp.addMessage(new ApplicationMessage("Producer Modification Error", null, ApplicationMessage.ERROR));
+ e.printStackTrace();
+ }
- }
-
return true;
}
-
- public ConsumerRegistry getConsumerRegistry() throws Exception
- {
- ExoContainer manager = ExoContainerContext.getCurrentContainer();
- return (ConsumerRegistry)manager.getComponentInstanceOfType(ConsumerRegistry.class);
- }
-
public ProducerConfigurationService getProducerConfigurationService() throws Exception
{
ExoContainer manager = ExoContainerContext.getCurrentContainer();
Modified: portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerOverview.java
===================================================================
--- portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerOverview.java 2009-12-22 00:09:45 UTC (rev 1113)
+++ portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerOverview.java 2009-12-22 02:05:55 UTC (rev 1114)
@@ -1,25 +1,25 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, Red Hat Middleware, LLC, and individual *
- * contributors as indicated by the @authors tag. See the *
- * copyright.txt in the distribution for a full listing of *
- * individual contributors. *
- * *
- * This is free software; you can redistribute it and/or modify it *
- * under the terms of the GNU Lesser General Public License as *
- * published by the Free Software Foundation; either version 2.1 of *
- * the License, or (at your option) any later version. *
- * *
- * This software is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
- * Lesser General Public License for more details. *
- * *
- * You should have received a copy of the GNU Lesser General Public *
- * License along with this software; if not, write to the Free *
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
- ******************************************************************************/
+/*
+ * JBoss, a division of Red Hat
+ * Copyright 2009, 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.
+ */
package org.exoplatform.wsrp.webui.component;
import org.exoplatform.commons.utils.LazyPageList;
@@ -35,11 +35,9 @@
import org.exoplatform.webui.core.UIGrid;
import org.exoplatform.webui.core.UIPopupWindow;
import org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle;
-import org.exoplatform.webui.core.model.SelectItem;
import org.exoplatform.webui.event.Event;
import org.exoplatform.webui.event.EventListener;
import org.gatein.wsrp.WSRPConsumer;
-import org.gatein.wsrp.consumer.registry.ConsumerRegistry;
import org.gatein.wsrp.producer.config.ProducerConfiguration;
import org.gatein.wsrp.producer.config.ProducerConfigurationService;
import org.gatein.wsrp.registration.RegistrationPropertyDescription;
@@ -57,26 +55,27 @@
lifecycle = UIApplicationLifecycle.class,
template = "app:/groovy/wsrp/webui/component/UIWsrpProducerOverview.gtmpl",
events = {
- @EventConfig(listeners = UIWsrpProducerOverview.AddPropertyActionListener.class),
+// @EventConfig(listeners = UIWsrpProducerOverview.AddPropertyActionListener.class),
@EventConfig(listeners = UIWsrpProducerOverview.EditPropertyActionListener.class),
@EventConfig(listeners = UIWsrpProducerOverview.DeletePropertyActionListener.class)
}
-)})
+ )})
public class UIWsrpProducerOverview extends UIContainer
{
- public static String[] FIELDS = {"name","description", "label", "hint"};
+ public static String[] FIELDS = {"name", "description", "label", "hint"};
public static String[] SELECT_ACTIONS = {"EditProperty", "DeleteProperty"};
public UIWsrpProducerOverview() throws Exception
{
- ProducerConfiguration producerConfiguration = getProducerConfigurationService().getConfiguration();
+ ProducerConfigurationService service = getProducerConfigurationService();
+ ProducerConfiguration producerConfiguration = service.getConfiguration();
UIWsrpProducerEditor producerForm = createUIComponent(UIWsrpProducerEditor.class, null, "Producer Editor");
producerForm.setProducerConfig(producerConfiguration);
addChild(producerForm);
- UIGrid uiGrid = addChild(UIGrid.class, "RegistrationPropertySelector", null);
+ /*UIGrid uiGrid = addChild(UIGrid.class, "RegistrationPropertySelector", null);
//configure the edit and delete buttons based on an id from the data list - this will also be passed as param to listener
uiGrid.configure("name", FIELDS, SELECT_ACTIONS);
@@ -92,14 +91,15 @@
popup.setWindowSize(400, 300);
UIWsrpProducerPropertyEditor propertyForm = createUIComponent(UIWsrpProducerPropertyEditor.class, null, "Producer Property Editor");
popup.setUIComponent(propertyForm);
- popup.setRendered(false);
+ popup.setRendered(false);*/
}
public List<RegistrationPropertyDescription> getPropertyList() throws Exception
{
ProducerConfiguration producerConfiguration = getProducerConfigurationService().getConfiguration();
Map descriptions = producerConfiguration.getRegistrationRequirements().getRegistrationProperties();
- Comparator<RegistrationPropertyDescription> descComparator = new Comparator<RegistrationPropertyDescription>(){
+ Comparator<RegistrationPropertyDescription> descComparator = new Comparator<RegistrationPropertyDescription>()
+ {
public int compare(RegistrationPropertyDescription o1, RegistrationPropertyDescription o2)
{
return o1.getName().toString().compareTo(o2.getName().toString());
@@ -166,7 +166,6 @@
UIPopupWindow popup = producerOverview.getChild(UIPopupWindow.class);
UIWsrpProducerPropertyEditor editor = (UIWsrpProducerPropertyEditor)popup.getUIComponent();
String id = event.getRequestContext().getRequestParameter(OBJECTID);
- System.out.println("--------edit name " + id);
try
{
editor.setRegistrationPropertyDescription(producerOverview.getProducerConfigurationService().getConfiguration().getRegistrationRequirements().getRegistrationPropertyWith(id));
@@ -191,7 +190,6 @@
UIPopupWindow popup = producerOverview.getChild(UIPopupWindow.class);
UIWsrpProducerPropertyEditor editor = (UIWsrpProducerPropertyEditor)popup.getUIComponent();
String id = event.getRequestContext().getRequestParameter(OBJECTID);
- System.out.println("--------delete name " + id);
try
{
producerOverview.getProducerConfigurationService().getConfiguration().getRegistrationRequirements().removeRegistrationProperty(id);
Modified: portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpProducerEditor.gtmpl
===================================================================
--- portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpProducerEditor.gtmpl 2009-12-22 00:09:45 UTC (rev 1113)
+++ portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpProducerEditor.gtmpl 2009-12-22 02:05:55 UTC (rev 1114)
@@ -11,8 +11,6 @@
<div class="SignIn">Use strict WSRP compliance. <% uiform.renderChild(1); %></div>
<div class="SignIn">Requires registration. Modifying this information will trigger invalidation of consumer registrations. <% uiform.renderChild(2); %></div>
- <div class="SignIn">Registration policy class name: <% uiform.renderChild(3); %></div>
- <div class="SignIn">Registration property validator class name: <% uiform.renderChild(4); %></div>
<div class="FloatRight">
Modified: portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpProducerOverview.gtmpl
===================================================================
--- portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpProducerOverview.gtmpl 2009-12-22 00:09:45 UTC (rev 1113)
+++ portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpProducerOverview.gtmpl 2009-12-22 02:05:55 UTC (rev 1114)
@@ -10,5 +10,4 @@
<div class="<%=uicomponent.getId()%>" id="<%=uicomponent.getId()%>">
<% uicomponent.renderChildren(); %>
- <a href="<%=uicomponent.event("AddProperty", "")%>">Add Producer Registration Property</a>
</div>
\ No newline at end of file
15 years
gatein SVN: r1113 - in portal/branches/wsrp-integration/portlet/exoadmin/src/main: webapp/groovy/wsrp/webui/component and 1 other directories.
by do-not-reply@jboss.org
Author: wesleyhales
Date: 2009-12-21 19:09:45 -0500 (Mon, 21 Dec 2009)
New Revision: 1113
Modified:
portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpConsumerEditor.java
portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpConsumerOverview.java
portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerOverview.java
portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpConsumerEditor.gtmpl
portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/skin/wsrp/webui/component/DefaultStylesheet.css
Log:
wsrp ui enhancements
Modified: portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpConsumerEditor.java
===================================================================
--- portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpConsumerEditor.java 2009-12-21 22:20:03 UTC (rev 1112)
+++ portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpConsumerEditor.java 2009-12-22 00:09:45 UTC (rev 1113)
@@ -48,14 +48,14 @@
@EventConfig(listeners = UIWsrpConsumerEditor.SaveActionListener.class)})
public class UIWsrpConsumerEditor extends UIForm
{
- protected static final String CONSUMER_NAME = "id";
- protected static final String CACHE_EXPIRATION = "expirationCacheSeconds";
- protected static final String WSDL_URL = "wsdlDefinitionURL";
+ protected static final String CONSUMER_NAME = "Consumer Name: ";
+ protected static final String CACHE_EXPIRATION = "Cache Expiration Seconds: ";
+ protected static final String WSDL_URL = "WSDL URL: ";
public UIWsrpConsumerEditor() throws Exception
{
- addUIFormInput(new UIFormStringInput(CONSUMER_NAME, CONSUMER_NAME, "123").addValidator(MandatoryValidator.class));
+ addUIFormInput(new UIFormStringInput(CONSUMER_NAME, CONSUMER_NAME, null).addValidator(MandatoryValidator.class));
addUIFormInput(new UIFormStringInput(CACHE_EXPIRATION, CACHE_EXPIRATION, null));
addUIFormInput(new UIFormStringInput(WSDL_URL, WSDL_URL, null));
//addChild(UIWsrpEndpointConfigForm.class,null,null);
Modified: portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpConsumerOverview.java
===================================================================
--- portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpConsumerOverview.java 2009-12-21 22:20:03 UTC (rev 1112)
+++ portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpConsumerOverview.java 2009-12-22 00:09:45 UTC (rev 1113)
@@ -123,8 +123,8 @@
public UIWsrpConsumerOverview() throws Exception
{
UIPopupWindow popup = addChild(UIPopupWindow.class, null, null);
- popup.setWindowSize(400, 0);
- UIWsrpConsumerEditor consumerForm = createUIComponent(UIWsrpConsumerEditor.class, null, null);
+ popup.setWindowSize(450, 0);
+ UIWsrpConsumerEditor consumerForm = createUIComponent(UIWsrpConsumerEditor.class, null, "Consumer Editor");
popup.setUIComponent(consumerForm);
popup.setRendered(false);
Modified: portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerOverview.java
===================================================================
--- portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerOverview.java 2009-12-21 22:20:03 UTC (rev 1112)
+++ portal/branches/wsrp-integration/portlet/exoadmin/src/main/java/org/exoplatform/wsrp/webui/component/UIWsrpProducerOverview.java 2009-12-22 00:09:45 UTC (rev 1113)
@@ -72,7 +72,7 @@
public UIWsrpProducerOverview() throws Exception
{
ProducerConfiguration producerConfiguration = getProducerConfigurationService().getConfiguration();
- UIWsrpProducerEditor producerForm = createUIComponent(UIWsrpProducerEditor.class, null, null);
+ UIWsrpProducerEditor producerForm = createUIComponent(UIWsrpProducerEditor.class, null, "Producer Editor");
producerForm.setProducerConfig(producerConfiguration);
addChild(producerForm);
@@ -90,7 +90,7 @@
//add the popup for property edit and adding new properties
UIPopupWindow popup = addChild(UIPopupWindow.class, null, null);
popup.setWindowSize(400, 300);
- UIWsrpProducerPropertyEditor propertyForm = createUIComponent(UIWsrpProducerPropertyEditor.class, null, null);
+ UIWsrpProducerPropertyEditor propertyForm = createUIComponent(UIWsrpProducerPropertyEditor.class, null, "Producer Property Editor");
popup.setUIComponent(propertyForm);
popup.setRendered(false);
}
Modified: portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpConsumerEditor.gtmpl
===================================================================
--- portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpConsumerEditor.gtmpl 2009-12-21 22:20:03 UTC (rev 1112)
+++ portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/groovy/wsrp/webui/component/UIWsrpConsumerEditor.gtmpl 2009-12-22 00:09:45 UTC (rev 1113)
@@ -9,8 +9,7 @@
%>
<div class="UserName">
- <div>
- <label>Consumer Name</label>
+ <div>
<% //uiform.renderChild(0); %>
<%
for (field in uiform.getChildren())
@@ -18,26 +17,31 @@
if (field.isRendered())
{
%>
- <div>
+ <div class="form-row">
+ <label>
<% fieldName = uicomponent.getLabel(field.getName()); %>
<% if (!fieldName.equals(uicomponent.getId()))
{ %>
- <div class="FieldLabel">
+ <span class="FieldLabel">
<% if (fieldName != null && fieldName.length() > 0)
{ %>
<%=uicomponent.getLabel(field.getName())%>
<% } %>
- </div>
- <div class="FieldComponent"><% uiform.renderField(field) %></div>
+ </span>
+ <% uiform.renderField(field) %>
<% }
else
{ %>
- <div class="FieldComponent"><% uiform.renderField(field) %></div>
+ <% uiform.renderField(field) %>
<% } %>
+ </label>
</div>
<%
}
} %>
+
+
+
</div>
</div>
@@ -59,6 +63,8 @@
</table>
</div>
+
+
<% uiform.end() %>
</div>
\ No newline at end of file
Modified: portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/skin/wsrp/webui/component/DefaultStylesheet.css
===================================================================
--- portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/skin/wsrp/webui/component/DefaultStylesheet.css 2009-12-21 22:20:03 UTC (rev 1112)
+++ portal/branches/wsrp-integration/portlet/exoadmin/src/main/webapp/skin/wsrp/webui/component/DefaultStylesheet.css 2009-12-22 00:09:45 UTC (rev 1113)
@@ -53,4 +53,37 @@
.UIWsrpPortlet .UIAction .ActionContainer {
margin:0;
width:auto;
-}
\ No newline at end of file
+}
+
+.UIWsrpPortlet .form-row {
+ /*border-bottom: 1px solid #ddd;*/
+ padding: 3px;
+ clear:both;
+}
+
+.UIWsrpPortlet .form-row label {
+ float:left;
+ width: 100%;
+}
+
+.UIWsrpPortlet .form-row label span {
+ display:block;
+ float:left;
+ width: 26%;
+}
+
+.UIWsrpPortlet .form-row label input {
+ float:left;
+ width: 69%;
+}
+
+.UIWsrpPortlet .UILoginForm .UIAction {
+ clear:both;
+ padding: 8px 0;
+}
+
+.UIWsrpPortlet .UILoginForm .ActionContainer {
+ float:right;
+ margin:0;
+}
+
15 years