portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r772385 - in /portals/jetspeed-2/applications/j2-admin/trunk/src/main: java/org/apache/jetspeed/portlets/prm/application/ java/org/apache/jetspeed/portlets/prm/portlet/ java/org/apache/jetspeed/portlets/wicket/component/ java/org/apache/jet...
Date Wed, 06 May 2009 18:00:47 GMT
Author: woonsan
Date: Wed May  6 18:00:46 2009
New Revision: 772385

URL: http://svn.apache.org/viewvc?rev=772385&view=rev
Log:
JS2-946: Adding feedbacks on saving/updating events or errors.

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/ApplicationDetailsView.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/DetailsPanel.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/UserAttributePanel.java
    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/java/org/apache/jetspeed/portlets/prm/portlet/LanguagesPanel.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/ParameterPanel.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsApplication.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsView.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PreferencePanel.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/SecurityPanel.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/SupportsPanel.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/wicket/component/JavascriptEventConfirmation.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/wicket/component/editor/EditorTemplate.java
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/application/ApplicationDetailsView.html
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsView.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/application/ApplicationDetailsView.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/ApplicationDetailsView.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/ApplicationDetailsView.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/ApplicationDetailsView.java Wed May  6 18:00:46 2009
@@ -29,6 +29,7 @@
 import org.apache.wicket.extensions.markup.html.tabs.ITab;
 import org.apache.wicket.extensions.markup.html.tabs.TabbedPanel;
 import org.apache.wicket.markup.html.basic.Label;
+import org.apache.wicket.markup.html.panel.FeedbackPanel;
 import org.apache.wicket.markup.html.panel.Panel;
 import org.apache.wicket.model.ResourceModel;
 
@@ -105,6 +106,11 @@
 
             addOrReplace(tabbedPanel);
         }
+
+        FeedbackPanel feedback = new FeedbackPanel("feedback");
+        feedback.setEscapeModelStrings(false);
+        addOrReplace(feedback);
+
     }
 
     @Override

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/DetailsPanel.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/DetailsPanel.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/DetailsPanel.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/DetailsPanel.java Wed May  6 18:00:46 2009
@@ -37,6 +37,7 @@
 import org.apache.wicket.markup.html.form.Button;
 import org.apache.wicket.markup.html.form.DropDownChoice;
 import org.apache.wicket.markup.html.form.Form;
+import org.apache.wicket.markup.html.panel.FeedbackPanel;
 import org.apache.wicket.markup.html.panel.Panel;
 import org.apache.wicket.markup.repeater.Item;
 import org.apache.wicket.markup.repeater.RefreshingView;
@@ -45,6 +46,7 @@
 import org.apache.wicket.model.Model;
 import org.apache.wicket.model.PropertyModel;
 import org.apache.wicket.model.ResourceModel;
+import org.apache.wicket.model.StringResourceModel;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -136,16 +138,22 @@
             @Override
             public void onSubmit()
             {
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
                     PortletApplication app = registry.getPortletApplication(paNodeBean.getApplicationName());
                     app.setJetspeedSecurityConstraint("".equals(jetspeedSecurityConstraint) ? null : jetspeedSecurityConstraint);
                     registry.updatePortletApplication(app);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveOK", this, null, new Object [] { paNodeBean.getApplicationName() } );
+                    feed.info(resModel.getString());
                 }
                 catch (RegistryException e)
                 {
                     logger.error("Failed to update jetspeed security constraint defs of application.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         });

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/UserAttributePanel.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/UserAttributePanel.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/UserAttributePanel.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/application/UserAttributePanel.java Wed May  6 18:00:46 2009
@@ -36,11 +36,13 @@
 import org.apache.jetspeed.portlets.wicket.component.editor.LocalizedDescriptionEditor;
 import org.apache.wicket.markup.html.form.Button;
 import org.apache.wicket.markup.html.form.TextField;
+import org.apache.wicket.markup.html.panel.FeedbackPanel;
 import org.apache.wicket.markup.html.panel.Fragment;
 import org.apache.wicket.markup.repeater.data.IDataProvider;
 import org.apache.wicket.markup.repeater.data.ListDataProvider;
 import org.apache.wicket.model.IModel;
 import org.apache.wicket.model.PropertyModel;
+import org.apache.wicket.model.StringResourceModel;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -110,6 +112,8 @@
                     @Override
                     public void onSubmit()
                     {
+                        FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                        
                         try
                         {
                             PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
@@ -142,10 +146,14 @@
                             }
 
                             registry.updatePortletApplication(app);
+                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveOK", this, null, new Object [] { paNodeBean.getApplicationName() } );
+                            feed.info(resModel.getString());
                         }
                         catch (RegistryException e)
                         {
                             logger.error("Failed to update portlet application.", e);
+                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
+                            feed.info(resModel.getString());
                         }
                     }
                 };
@@ -154,6 +162,8 @@
             @Override
             public void delete(IModel<DescriptionBean>[] fields)
             {
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
@@ -177,11 +187,15 @@
                         }
                         
                         registry.updatePortletApplication(app);
+                        StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveOK", this, null, new Object [] { paNodeBean.getApplicationName() } );
+                        feed.info(resModel.getString());
                     }
                 }
                 catch (RegistryException e)
                 {
                     logger.error("Failed to update portlet application.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         });
@@ -208,13 +222,19 @@
             }
         }
 
+        FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+        
         try
         {
             registry.updatePortletApplication(app);
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveOK", this, null, new Object [] { paNodeBean.getApplicationName() } );
+            feed.info(resModel.getString());
         }
         catch (RegistryException e)
         {
             logger.error("Failed to update portlet application.", e);
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
+            feed.info(resModel.getString());
         }
     }
 
@@ -248,6 +268,8 @@
             @Override
             public void onSubmit()
             {
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     JetspeedServiceLocator locator = ((AbstractAdminWebApplication) getApplication()).getServiceLocator();
@@ -264,10 +286,14 @@
                     }
                     
                     locator.getPortletRegistry().updatePortletApplication(app);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveOK", this, null, new Object [] { paNodeBean.getApplicationName() } );
+                    feed.info(resModel.getString());
                 }
                 catch (RegistryException e)
                 {
                     logger.error("Failed to update portlet application", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.application.saveFailure", this, null, new Object [] { paNodeBean.getApplicationName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         };

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -37,12 +37,14 @@
 import org.apache.wicket.markup.html.form.Button;
 import org.apache.wicket.markup.html.form.Form;
 import org.apache.wicket.markup.html.form.TextField;
+import org.apache.wicket.markup.html.panel.FeedbackPanel;
 import org.apache.wicket.markup.html.panel.Panel;
 import org.apache.wicket.markup.repeater.data.IDataProvider;
 import org.apache.wicket.markup.repeater.data.ListDataProvider;
 import org.apache.wicket.model.IModel;
 import org.apache.wicket.model.PropertyModel;
 import org.apache.wicket.model.ResourceModel;
+import org.apache.wicket.model.StringResourceModel;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -97,6 +99,8 @@
             @Override
             public void delete(IModel<DisplayNameBean>[] fields)
             {
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
@@ -118,10 +122,14 @@
                     }
                     
                     registry.savePortletDefinition(def);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                    feed.info(resModel.getString());
                 }
                 catch (FailedToStorePortletDefinitionException e)
                 {
                     logger.error("Failed to save portlet definition.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
 
@@ -163,13 +171,19 @@
                             newDisplayName = null;
                         }
 
+                        FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+
                         try
                         {
                             registry.savePortletDefinition(def);
+                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                            feed.info(resModel.getString());
                         }
                         catch (RegistryException e)
                         {
                             logger.error("Failed to save portlet definition.", e);
+                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                            feed.info(resModel.getString());
                         }
                     }
                 };
@@ -182,17 +196,23 @@
             @Override
             public void onSubmit()
             {
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
                     PortletApplication app = registry.getPortletApplication(paNodeBean.getApplicationName());
                     PortletDefinition def = app.getPortlet(paNodeBean.getName());
                     def.setExpirationCache(getExpirationCache().intValue());
-                    registry.savePortletDefinition(def);                    
+                    registry.savePortletDefinition(def);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                    feed.info(resModel.getString());
                 }
                 catch (FailedToStorePortletDefinitionException e)
                 {
                     logger.error("Failed to store portlet definition.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         });
@@ -228,6 +248,8 @@
                 @Override
                 public void onSubmit()
                 {
+                    FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                    
                     try
                     {
                         String cloneName = getCloneName();
@@ -238,11 +260,15 @@
                             PortletApplication app = registry.getPortletApplication(paNodeBean.getApplicationName());
                             PortletDefinition def = app.getPortlet(paNodeBean.getName());
                             registry.clonePortletDefinition(def, cloneName);
+                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.cloneOK", this, null, new Object [] { paNodeBean.getName() } );
+                            feed.info(resModel.getString());
                         }
                     }
                     catch (RegistryException e)
                     {
                         logger.error("Failed to clone portlet definition.", e);
+                        StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.cloneFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                        feed.info(resModel.getString());
                     }
                 }
             });

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/LanguagesPanel.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/LanguagesPanel.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/LanguagesPanel.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/LanguagesPanel.java Wed May  6 18:00:46 2009
@@ -34,9 +34,11 @@
 import org.apache.jetspeed.portlets.wicket.component.editor.EditorTemplate;
 import org.apache.wicket.markup.html.form.Button;
 import org.apache.wicket.markup.html.form.TextField;
+import org.apache.wicket.markup.html.panel.FeedbackPanel;
 import org.apache.wicket.markup.html.panel.Fragment;
 import org.apache.wicket.model.IModel;
 import org.apache.wicket.model.PropertyModel;
+import org.apache.wicket.model.StringResourceModel;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -66,6 +68,8 @@
             @Override
             public void onSubmit()
             {
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
@@ -87,10 +91,14 @@
                     }
 
                     registry.savePortletDefinition(def);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                    feed.info(resModel.getString());
                 }
                 catch (RegistryException e)
                 {
                     logger.error("Exception occurred during updating portlet application or saving portlet definition.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         };
@@ -142,13 +150,19 @@
             }
         }
 
+        FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+        
         try
         {
             registry.savePortletDefinition(def);
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+            feed.info(resModel.getString());
         }
         catch (RegistryException e)
         {
             logger.error("Exception occurred during updating portlet application or saving portlet definition.", e);
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+            feed.info(resModel.getString());
         }
     }
 

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/ParameterPanel.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/ParameterPanel.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/ParameterPanel.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/ParameterPanel.java Wed May  6 18:00:46 2009
@@ -37,11 +37,13 @@
 import org.apache.jetspeed.portlets.wicket.component.editor.LocalizedDescriptionEditor;
 import org.apache.wicket.markup.html.form.Button;
 import org.apache.wicket.markup.html.form.TextField;
+import org.apache.wicket.markup.html.panel.FeedbackPanel;
 import org.apache.wicket.markup.html.panel.Fragment;
 import org.apache.wicket.markup.repeater.data.IDataProvider;
 import org.apache.wicket.markup.repeater.data.ListDataProvider;
 import org.apache.wicket.model.IModel;
 import org.apache.wicket.model.PropertyModel;
+import org.apache.wicket.model.StringResourceModel;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -148,13 +150,19 @@
                             newDescription = null;
                         }
 
+                        FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                        
                         try
                         {
                             registry.savePortletDefinition(def);
+                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                            feed.info(resModel.getString());
                         }
                         catch (RegistryException e)
                         {
                             logger.error("Failed to save portlet definition.", e);
+                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                            feed.info(resModel.getString());
                         }
                     }
                 };
@@ -163,6 +171,8 @@
             @Override
             public void delete(IModel<DescriptionBean>[] fields)
             {
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
@@ -187,11 +197,16 @@
                         }
                     
                         registry.savePortletDefinition(def);
+                        
+                        StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                        feed.info(resModel.getString());
                     }
                 }
                 catch (FailedToStorePortletDefinitionException e)
                 {
                     logger.error("Failed to save portlet definition.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         });
@@ -221,13 +236,19 @@
             }
         }
 
+        FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+        
         try
         {
             registry.savePortletDefinition(def);
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+            feed.info(resModel.getString());
         }
         catch (RegistryException e)
         {
             logger.error("Failed to save portlet definition.", e);
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+            feed.info(resModel.getString());
         }
 
     }
@@ -286,13 +307,19 @@
                     newDescription = null;
                 }
 
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     registry.savePortletDefinition(def);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                    feed.info(resModel.getString());
                 }
                 catch (RegistryException e)
                 {
                     logger.error("Failed to save portlet definition.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         };

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsApplication.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsApplication.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsApplication.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsApplication.java Wed May  6 18:00:46 2009
@@ -16,7 +16,6 @@
  */
 package org.apache.jetspeed.portlets.prm.portlet;
 
-import org.apache.jetspeed.portlets.prm.ApplicationsListApplication;
 import org.apache.jetspeed.portlets.wicket.AbstractAdminWebApplication;
 import org.apache.wicket.resource.loader.BundleStringResourceLoader;
 

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsView.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsView.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsView.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsView.java Wed May  6 18:00:46 2009
@@ -28,6 +28,7 @@
 import org.apache.wicket.extensions.markup.html.tabs.ITab;
 import org.apache.wicket.extensions.markup.html.tabs.TabbedPanel;
 import org.apache.wicket.markup.html.basic.Label;
+import org.apache.wicket.markup.html.panel.FeedbackPanel;
 import org.apache.wicket.markup.html.panel.Panel;
 import org.apache.wicket.model.ResourceModel;
 
@@ -165,5 +166,10 @@
 
             addOrReplace(tabbedPanel);
         }
+        
+        FeedbackPanel feedback = new FeedbackPanel("feedback");
+        feedback.setEscapeModelStrings(false);
+        addOrReplace(feedback);
+
     }
 }

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PreferencePanel.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PreferencePanel.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PreferencePanel.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/PreferencePanel.java Wed May  6 18:00:46 2009
@@ -33,12 +33,14 @@
 import org.apache.jetspeed.portlets.wicket.component.editor.EditorTemplate;
 import org.apache.wicket.markup.html.form.Button;
 import org.apache.wicket.markup.html.form.TextField;
+import org.apache.wicket.markup.html.panel.FeedbackPanel;
 import org.apache.wicket.markup.html.panel.Fragment;
 import org.apache.wicket.markup.repeater.Item;
 import org.apache.wicket.markup.repeater.RefreshingView;
 import org.apache.wicket.markup.repeater.util.ModelIteratorAdapter;
 import org.apache.wicket.model.IModel;
 import org.apache.wicket.model.PropertyModel;
+import org.apache.wicket.model.StringResourceModel;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -72,6 +74,8 @@
             @Override
             public void onSubmit()
             {
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
@@ -96,10 +100,15 @@
                     {
                         prefProvider.storeDefaults(def, pref);
                     }
+                    
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                    feed.info(resModel.getString());
                 }
                 catch (Exception e)
                 {
                     logger.error("Failed to store portlet default preferences.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         };
@@ -154,6 +163,8 @@
     @Override
     public void delete(IModel<Preference>[] fields)
     {
+        FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+        
         try
         {
             PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
@@ -167,10 +178,15 @@
             {
                 prefProvider.removeDefaults(def, field.getObject().getName());
             }
+            
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+            feed.info(resModel.getString());
         }
         catch (Exception e)
         {
             logger.error("Failed to remove portlet default preference.", e);
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+            feed.info(resModel.getString());
         }
     }
 

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/SecurityPanel.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/SecurityPanel.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/SecurityPanel.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/SecurityPanel.java Wed May  6 18:00:46 2009
@@ -42,6 +42,7 @@
 import org.apache.wicket.markup.html.form.DropDownChoice;
 import org.apache.wicket.markup.html.form.Form;
 import org.apache.wicket.markup.html.form.TextField;
+import org.apache.wicket.markup.html.panel.FeedbackPanel;
 import org.apache.wicket.markup.html.panel.Fragment;
 import org.apache.wicket.markup.html.panel.Panel;
 import org.apache.wicket.markup.repeater.data.IDataProvider;
@@ -49,6 +50,7 @@
 import org.apache.wicket.model.IModel;
 import org.apache.wicket.model.PropertyModel;
 import org.apache.wicket.model.ResourceModel;
+import org.apache.wicket.model.StringResourceModel;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -99,6 +101,8 @@
             @Override
             public void onSubmit()
             {
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
@@ -106,10 +110,14 @@
                     PortletDefinition def = app.getPortlet(paNodeBean.getName());
                     def.setJetspeedSecurityConstraint("".equals(jetspeedSecurityConstraint) ? null : jetspeedSecurityConstraint);
                     registry.savePortletDefinition(def);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                    feed.info(resModel.getString());
                 }
                 catch (FailedToStorePortletDefinitionException e)
                 {
                     logger.error("Failed to retrieve jetspeed security constraint defs of portlet definition.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         });
@@ -209,13 +217,19 @@
                             newDescription = null;
                         }
 
+                        FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                        
                         try
                         {
                             registry.savePortletDefinition(def);
+                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                            feed.info(resModel.getString());
                         }
                         catch (RegistryException e)
                         {
                             logger.error("Failed to save portlet definition.", e);
+                            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                            feed.info(resModel.getString());
                         }
                     }
                 };
@@ -224,6 +238,8 @@
             @Override
             public void delete(IModel<DescriptionBean>[] fields)
             {
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
@@ -248,11 +264,16 @@
                         }
                     
                         registry.savePortletDefinition(def);
+                        
+                        StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                        feed.info(resModel.getString());
                     }
                 }
                 catch (FailedToStorePortletDefinitionException e)
                 {
                     logger.error("Failed to save portlet definition.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         });
@@ -282,13 +303,19 @@
             }
         }
 
+        FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+        
         try
         {
             registry.savePortletDefinition(def);
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+            feed.info(resModel.getString());
         }
         catch (RegistryException e)
         {
             logger.error("Failed to save portlet definition.", e);
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+            feed.info(resModel.getString());
         }
 
     }
@@ -347,13 +374,19 @@
                     newDescription = null;
                 }
 
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     registry.savePortletDefinition(def);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                    feed.info(resModel.getString());
                 }
                 catch (RegistryException e)
                 {
                     logger.error("Failed to save portlet definition.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         };

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/SupportsPanel.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/SupportsPanel.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/SupportsPanel.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/prm/portlet/SupportsPanel.java Wed May  6 18:00:46 2009
@@ -36,9 +36,11 @@
 import org.apache.wicket.markup.html.form.Button;
 import org.apache.wicket.markup.html.form.CheckBoxMultipleChoice;
 import org.apache.wicket.markup.html.form.TextField;
+import org.apache.wicket.markup.html.panel.FeedbackPanel;
 import org.apache.wicket.markup.html.panel.Fragment;
 import org.apache.wicket.model.IModel;
 import org.apache.wicket.model.PropertyModel;
+import org.apache.wicket.model.StringResourceModel;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -82,6 +84,8 @@
             @Override
             public void onSubmit()
             {
+                FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+                
                 try
                 {
                     PortletRegistry registry = ((AbstractAdminWebApplication) getApplication()).getServiceLocator().getPortletRegistry();
@@ -102,10 +106,14 @@
                     }
 
                     registry.savePortletDefinition(def);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+                    feed.info(resModel.getString());
                 }
                 catch (RegistryException e)
                 {
                     logger.error("Exception occurred during updating portlet application or saving portlet definition.", e);
+                    StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+                    feed.info(resModel.getString());
                 }
             }
         };
@@ -153,13 +161,19 @@
             }
         }
 
+        FeedbackPanel feed = (FeedbackPanel) getPage().get("feedback");
+        
         try
         {
             registry.savePortletDefinition(def);
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveOK", this, null, new Object [] { paNodeBean.getName() } );
+            feed.info(resModel.getString());
         }
         catch (RegistryException e)
         {
             logger.error("Exception occurred during updating portlet application or saving portlet definition.", e);
+            StringResourceModel resModel = new StringResourceModel("pam.details.action.status.portlet.saveFailure", this, null, new Object [] { paNodeBean.getName(), e.getMessage() } );
+            feed.info(resModel.getString());
         }
     }
 

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/wicket/component/JavascriptEventConfirmation.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/wicket/component/JavascriptEventConfirmation.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/wicket/component/JavascriptEventConfirmation.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/wicket/component/JavascriptEventConfirmation.java Wed May  6 18:00:46 2009
@@ -17,11 +17,12 @@
 package org.apache.jetspeed.portlets.wicket.component;
 
 import org.apache.wicket.AttributeModifier;
+import org.apache.wicket.model.IModel;
 import org.apache.wicket.model.Model;
 
 /**
  * @author <a href="mailto:vkumar@apache.org">Vivek Kumar</a>
- * @version $Id:
+ * @version $Id$
  */
 public class JavascriptEventConfirmation extends AttributeModifier
 {
@@ -30,6 +31,11 @@
         super(event, true, new Model(msg));
     }
 
+    public JavascriptEventConfirmation(String event, IModel<?> msgModel)
+    {
+        super(event, true, msgModel);
+    }
+
     protected String newValue(final String currentValue, final String replacementValue)
     {
         String prefix = "var conf = confirm('" + replacementValue + "'); " + "if (!conf) return false; ";

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/wicket/component/editor/EditorTemplate.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/wicket/component/editor/EditorTemplate.java?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/wicket/component/editor/EditorTemplate.java (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/wicket/component/editor/EditorTemplate.java Wed May  6 18:00:46 2009
@@ -119,7 +119,7 @@
         saveButton.setDefaultModel(new ResourceModel("pam.details.action.save"));
         footer.add(saveButton);
         Button deleteBtn = deleteButton("delete");
-        deleteBtn.add(new JavascriptEventConfirmation("onclick", "Are sure you want to delete the selected fields?"));
+        deleteBtn.add(new JavascriptEventConfirmation("onclick", new ResourceModel("pam.details.action.delete.confirm")));
         footer.add(deleteBtn);
         footer.add(new AttributeModifier("colspan", true, new Model<Integer>(Integer.valueOf(getColumnCount()))));
         

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/application/ApplicationDetailsView.html
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/application/ApplicationDetailsView.html?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/application/ApplicationDetailsView.html (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/application/ApplicationDetailsView.html Wed May  6 18:00:46 2009
@@ -27,6 +27,8 @@
 </head>
 <body>
 
+<div class="portlet-message-error" wicket:id="feedback"></div>
+
 <p wicket:id="status"></p>
 
 <div wicket:id="tabs" class="tabpanel">[application details + tabs will be here]</div>

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsView.html
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsView.html?rev=772385&r1=772384&r2=772385&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsView.html (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/resources/org/apache/jetspeed/portlets/prm/portlet/PortletDetailsView.html Wed May  6 18:00:46 2009
@@ -27,6 +27,8 @@
 </head>
 <body>
 
+<div class="portlet-message-error" wicket:id="feedback"></div>
+
 <p wicket:id="status"></p>
 
 <div wicket:id="tabs" class="tabpanel">[tabs]</div>

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -143,3 +143,11 @@
 pam.details.message.portletRowsDisplayed = No. of Portlet Rows Displayed:
 pam.details.message.errorReadonly = Preference 'rows' is readonly, cannot update
 pam.details.message.errorPrefs = Preference 'rows' could not be stored:
+
+pam.details.action.delete.confirm = Are sure you want to delete the selected items?
+pam.details.action.status.application.saveOK = Saved portlet application successfully: {0}
+pam.details.action.status.application.saveFailure = Failed to save portlet application : {0} , message: {1}
+pam.details.action.status.portlet.saveOK = Saved portlet definition successfully: {0}
+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}

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -141,3 +141,11 @@
 pam.details.message.portletRowsDisplayed = No. of Portlet Rows Displayed:
 pam.details.message.errorReadonly = Preference 'rows' is readonly, cannot update
 pam.details.message.errorPrefs = Preference 'rows' could not be stored:
+
+pam.details.action.delete.confirm = Are sure you want to delete the selected items?
+pam.details.action.status.application.saveOK = Saved portlet application successfully: {0}
+pam.details.action.status.application.saveFailure = Failed to save portlet application : {0} , message: {1}
+pam.details.action.status.portlet.saveOK = Saved portlet definition successfully: {0}
+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}

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -143,3 +143,11 @@
 pam.details.message.portletRowsDisplayed = No. of Portlet Rows Displayed:
 pam.details.message.errorReadonly = Preference 'rows' is readonly, cannot update
 pam.details.message.errorPrefs = Preference 'rows' could not be stored:
+
+pam.details.action.delete.confirm = Are sure you want to delete the selected items?
+pam.details.action.status.application.saveOK = Saved portlet application successfully: {0}
+pam.details.action.status.application.saveFailure = Failed to save portlet application : {0} , message: {1}
+pam.details.action.status.portlet.saveOK = Saved portlet definition successfully: {0}
+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}

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -143,3 +143,11 @@
 pam.details.message.portletRowsDisplayed = No. of Portlet Rows Displayed:
 pam.details.message.errorReadonly = Preference 'rows' is readonly, cannot update
 pam.details.message.errorPrefs = Preference 'rows' could not be stored:
+
+pam.details.action.delete.confirm = Are sure you want to delete the selected items?
+pam.details.action.status.application.saveOK = Saved portlet application successfully: {0}
+pam.details.action.status.application.saveFailure = Failed to save portlet application : {0} , message: {1}
+pam.details.action.status.portlet.saveOK = Saved portlet definition successfully: {0}
+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}

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -143,3 +143,11 @@
 pam.details.message.portletRowsDisplayed = No. of Portlet Rows Displayed:
 pam.details.message.errorReadonly = Preference 'rows' is readonly, cannot update
 pam.details.message.errorPrefs = Preference 'rows' could not be stored:
+
+pam.details.action.delete.confirm = Are sure you want to delete the selected items?
+pam.details.action.status.application.saveOK = Saved portlet application successfully: {0}
+pam.details.action.status.application.saveFailure = Failed to save portlet application : {0} , message: {1}
+pam.details.action.status.portlet.saveOK = Saved portlet definition successfully: {0}
+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}

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -143,3 +143,11 @@
 pam.details.message.portletRowsDisplayed = No. of Portlet Rows Displayed:
 pam.details.message.errorReadonly = Preference 'rows' is readonly, cannot update
 pam.details.message.errorPrefs = Preference 'rows' could not be stored:
+
+pam.details.action.delete.confirm = Are sure you want to delete the selected items?
+pam.details.action.status.application.saveOK = Saved portlet application successfully: {0}
+pam.details.action.status.application.saveFailure = Failed to save portlet application : {0} , message: {1}
+pam.details.action.status.portlet.saveOK = Saved portlet definition successfully: {0}
+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}

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -142,3 +142,11 @@
 pam.details.message.portletRowsDisplayed = No. of Portlet Rows Displayed:
 pam.details.message.errorReadonly = Preference 'rows' is readonly, cannot update
 pam.details.message.errorPrefs = Preference 'rows' could not be stored:
+
+pam.details.action.delete.confirm = Are sure you want to delete the selected items?
+pam.details.action.status.application.saveOK = Saved portlet application successfully: {0}
+pam.details.action.status.application.saveFailure = Failed to save portlet application : {0} , message: {1}
+pam.details.action.status.portlet.saveOK = Saved portlet definition successfully: {0}
+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}

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -145,3 +145,11 @@
 pam.details.message.portletRowsDisplayed = No. of Portlet Rows Displayed:
 pam.details.message.errorReadonly = Preference 'rows' is readonly, cannot update
 pam.details.message.errorPrefs = Preference 'rows' could not be stored:
+
+pam.details.action.delete.confirm = Are sure you want to delete the selected items?
+pam.details.action.status.application.saveOK = Saved portlet application successfully: {0}
+pam.details.action.status.application.saveFailure = Failed to save portlet application : {0} , message: {1}
+pam.details.action.status.portlet.saveOK = Saved portlet definition successfully: {0}
+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}

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -143,3 +143,11 @@
 pam.details.message.portletRowsDisplayed = No. of Portlet Rows Displayed:
 pam.details.message.errorReadonly = Preference 'rows' is readonly, cannot update
 pam.details.message.errorPrefs = Preference 'rows' could not be stored:
+
+pam.details.action.delete.confirm = Are sure you want to delete the selected items?
+pam.details.action.status.application.saveOK = Saved portlet application successfully: {0}
+pam.details.action.status.application.saveFailure = Failed to save portlet application : {0} , message: {1}
+pam.details.action.status.portlet.saveOK = Saved portlet definition successfully: {0}
+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}

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -143,3 +143,11 @@
 pam.details.message.portletRowsDisplayed = No. of Portlet Rows Displayed:
 pam.details.message.errorReadonly = Preference 'rows' is readonly, cannot update
 pam.details.message.errorPrefs = Preference 'rows' could not be stored:
+
+pam.details.action.delete.confirm = Are sure you want to delete the selected items?
+pam.details.action.status.application.saveOK = Saved portlet application successfully: {0}
+pam.details.action.status.application.saveFailure = Failed to save portlet application : {0} , message: {1}
+pam.details.action.status.portlet.saveOK = Saved portlet definition successfully: {0}
+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}

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=772385&r1=772384&r2=772385&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 Wed May  6 18:00:46 2009
@@ -143,3 +143,11 @@
 pam.details.message.portletRowsDisplayed = No. of Portlet Rows Displayed:
 pam.details.message.errorReadonly = Preference 'rows' is readonly, cannot update
 pam.details.message.errorPrefs = Preference 'rows' could not be stored:
+
+pam.details.action.delete.confirm = Are sure you want to delete the selected items?
+pam.details.action.status.application.saveOK = Saved portlet application successfully: {0}
+pam.details.action.status.application.saveFailure = Failed to save portlet application : {0} , message: {1}
+pam.details.action.status.portlet.saveOK = Saved portlet definition successfully: {0}
+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}



---------------------------------------------------------------------
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