portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r772646 - in /portals/jetspeed-2/applications/j2-admin/trunk/src/main: java/org/apache/jetspeed/portlets/prm/portlet/ resources/org/apache/jetspeed/portlets/prm/portlet/ resources/org/apache/jetspeed/portlets/prm/resources/
Date Thu, 07 May 2009 13:31:32 GMT
Author: woonsan
Date: Thu May  7 13:31:31 2009
New Revision: 772646

URL: http://svn.apache.org/viewvc?rev=772646&view=rev
Log:
JS2-990: Adding feedback message when user clicks 'clone' without portlet name entered.

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/DetailsPanel.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/portlet/DetailsPanel.html
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources.properties
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ca.properties
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_en.properties
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_es.properties
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_hu.properties
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_it.properties
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ja.properties
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ko.properties
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ua.properties
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_zh.properties
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_zh_TW.properties

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/DetailsPanel.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/DetailsPanel.java?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/DetailsPanel.java
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/DetailsPanel.java
Thu May  7 13:31:31 2009
@@ -263,6 +263,11 @@
                             StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.cloneOK",
this, null, new Object [] { paNodeBean.getName() } );
                             feed.info(resModel.getString());
                         }
+                        else
+                        {
+                            StringResourceModel resModel = new StringResourceModel("pam.details.action.clone.emptyPortletName",
this, null, (Object []) null );
+                            feed.info(resModel.getString());
+                        }
                     }
                     catch (RegistryException e)
                     {

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/portlet/DetailsPanel.html
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/portlet/DetailsPanel.html?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/portlet/DetailsPanel.html
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/portlet/DetailsPanel.html
Thu May  7 13:31:31 2009
@@ -62,10 +62,11 @@
 	<table style="border-collapse: collapse; width: 100%; margin-top: 8px; float: left;">
 		<thead>
 			<tr>
-				<th class="portlet-section-subheader"><wicket:message key="pam.details.action.clone"/></th>
+				<th class="portlet-section-subheader"><wicket:message key="pam.details.action.clone.title"/></th>
 			</tr>
 		</thead> 
      </table>
+       <wicket:message key="pam.details.message.clone.portlet.name"/>
   	   <input type='text' wicket:id="cloneName" />
        <input type="submit" wicket:id="cloneButton" />         
     </form>

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources.properties?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources.properties
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources.properties
Thu May  7 13:31:31 2009
@@ -151,3 +151,7 @@
 pam.details.action.status.portlet.saveFailure = Failed to save portlet definition : {0} ,
message: {1}
 pam.details.action.status.portlet.cloneOK = Saved portlet definition successfully: {0}
 pam.details.action.status.portlet.cloneFailure = Failed to save portlet definition : {0}
, message: {1}
+
+pam.details.action.clone.title = Clone Portlet
+pam.details.message.clone.portlet.name = Name of cloned portlet:
+pam.details.action.clone.emptyPortletName = Please enter a valid portlet name.

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ca.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ca.properties?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ca.properties
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ca.properties
Thu May  7 13:31:31 2009
@@ -149,3 +149,7 @@
 pam.details.action.status.portlet.saveFailure = Failed to save portlet definition : {0} ,
message: {1}
 pam.details.action.status.portlet.cloneOK = Saved portlet definition successfully: {0}
 pam.details.action.status.portlet.cloneFailure = Failed to save portlet definition : {0}
, message: {1}
+
+pam.details.action.clone.title = Clone Portlet
+pam.details.message.clone.portlet.name = Name of cloned portlet:
+pam.details.action.clone.emptyPortletName = Please enter a valid portlet name.

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_en.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_en.properties?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_en.properties
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_en.properties
Thu May  7 13:31:31 2009
@@ -151,3 +151,7 @@
 pam.details.action.status.portlet.saveFailure = Failed to save portlet definition : {0} ,
message: {1}
 pam.details.action.status.portlet.cloneOK = Saved portlet definition successfully: {0}
 pam.details.action.status.portlet.cloneFailure = Failed to save portlet definition : {0}
, message: {1}
+
+pam.details.action.clone.title = Clone Portlet
+pam.details.message.clone.portlet.name = Name of cloned portlet:
+pam.details.action.clone.emptyPortletName = Please enter a valid portlet name.

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_es.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_es.properties?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_es.properties
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_es.properties
Thu May  7 13:31:31 2009
@@ -151,3 +151,7 @@
 pam.details.action.status.portlet.saveFailure = Failed to save portlet definition : {0} ,
message: {1}
 pam.details.action.status.portlet.cloneOK = Saved portlet definition successfully: {0}
 pam.details.action.status.portlet.cloneFailure = Failed to save portlet definition : {0}
, message: {1}
+
+pam.details.action.clone.title = Clone Portlet
+pam.details.message.clone.portlet.name = Name of cloned portlet:
+pam.details.action.clone.emptyPortletName = Please enter a valid portlet name.

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_hu.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_hu.properties?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_hu.properties
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_hu.properties
Thu May  7 13:31:31 2009
@@ -151,3 +151,7 @@
 pam.details.action.status.portlet.saveFailure = Failed to save portlet definition : {0} ,
message: {1}
 pam.details.action.status.portlet.cloneOK = Saved portlet definition successfully: {0}
 pam.details.action.status.portlet.cloneFailure = Failed to save portlet definition : {0}
, message: {1}
+
+pam.details.action.clone.title = Clone Portlet
+pam.details.message.clone.portlet.name = Name of cloned portlet:
+pam.details.action.clone.emptyPortletName = Please enter a valid portlet name.

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_it.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_it.properties?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_it.properties
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_it.properties
Thu May  7 13:31:31 2009
@@ -151,3 +151,7 @@
 pam.details.action.status.portlet.saveFailure = Failed to save portlet definition : {0} ,
message: {1}
 pam.details.action.status.portlet.cloneOK = Saved portlet definition successfully: {0}
 pam.details.action.status.portlet.cloneFailure = Failed to save portlet definition : {0}
, message: {1}
+
+pam.details.action.clone.title = Clone Portlet
+pam.details.message.clone.portlet.name = Name of cloned portlet:
+pam.details.action.clone.emptyPortletName = Please enter a valid portlet name.

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ja.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ja.properties?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ja.properties
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ja.properties
Thu May  7 13:31:31 2009
@@ -150,3 +150,7 @@
 pam.details.action.status.portlet.saveFailure = Failed to save portlet definition : {0} ,
message: {1}
 pam.details.action.status.portlet.cloneOK = Saved portlet definition successfully: {0}
 pam.details.action.status.portlet.cloneFailure = Failed to save portlet definition : {0}
, message: {1}
+
+pam.details.action.clone.title = Clone Portlet
+pam.details.message.clone.portlet.name = Name of cloned portlet:
+pam.details.action.clone.emptyPortletName = Please enter a valid portlet name.

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ko.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ko.properties?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ko.properties
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ko.properties
Thu May  7 13:31:31 2009
@@ -153,3 +153,7 @@
 pam.details.action.status.portlet.saveFailure = Failed to save portlet definition : {0} ,
message: {1}
 pam.details.action.status.portlet.cloneOK = Saved portlet definition successfully: {0}
 pam.details.action.status.portlet.cloneFailure = Failed to save portlet definition : {0}
, message: {1}
+
+pam.details.action.clone.title = Clone Portlet
+pam.details.message.clone.portlet.name = Name of cloned portlet:
+pam.details.action.clone.emptyPortletName = Please enter a valid portlet name.

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ua.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ua.properties?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ua.properties
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_ua.properties
Thu May  7 13:31:31 2009
@@ -151,3 +151,7 @@
 pam.details.action.status.portlet.saveFailure = Failed to save portlet definition : {0} ,
message: {1}
 pam.details.action.status.portlet.cloneOK = Saved portlet definition successfully: {0}
 pam.details.action.status.portlet.cloneFailure = Failed to save portlet definition : {0}
, message: {1}
+
+pam.details.action.clone.title = Clone Portlet
+pam.details.message.clone.portlet.name = Name of cloned portlet:
+pam.details.action.clone.emptyPortletName = Please enter a valid portlet name.

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_zh.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_zh.properties?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_zh.properties
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_zh.properties
Thu May  7 13:31:31 2009
@@ -151,3 +151,7 @@
 pam.details.action.status.portlet.saveFailure = Failed to save portlet definition : {0} ,
message: {1}
 pam.details.action.status.portlet.cloneOK = Saved portlet definition successfully: {0}
 pam.details.action.status.portlet.cloneFailure = Failed to save portlet definition : {0}
, message: {1}
+
+pam.details.action.clone.title = Clone Portlet
+pam.details.message.clone.portlet.name = Name of cloned portlet:
+pam.details.action.clone.emptyPortletName = Please enter a valid portlet name.

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_zh_TW.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_zh_TW.properties?rev=772646&r1=772645&r2=772646&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_zh_TW.properties
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/resources/PRMResources_zh_TW.properties
Thu May  7 13:31:31 2009
@@ -151,3 +151,7 @@
 pam.details.action.status.portlet.saveFailure = Failed to save portlet definition : {0} ,
message: {1}
 pam.details.action.status.portlet.cloneOK = Saved portlet definition successfully: {0}
 pam.details.action.status.portlet.cloneFailure = Failed to save portlet definition : {0}
, message: {1}
+
+pam.details.action.clone.title = Clone Portlet
+pam.details.message.clone.portlet.name = Name of cloned portlet:
+pam.details.action.clone.emptyPortletName = Please enter a valid portlet name.



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message