continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r757166 - in /continuum/trunk/continuum-webapp/src/main/java/org/apache: continuum/web/action/admin/ maven/continuum/web/action/ maven/continuum/web/action/admin/
Date Sun, 22 Mar 2009 10:22:06 GMT
Author: ctan
Date: Sun Mar 22 10:22:05 2009
New Revision: 757166

URL: http://svn.apache.org/viewvc?rev=757166&view=rev
Log:
get action error messages from the resource bundle 

Modified:
    continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/LocalRepositoryAction.java
    continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/PurgeConfigurationAction.java
    continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
    continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ConfigurationAction.java
    continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java

Modified: continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/LocalRepositoryAction.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/LocalRepositoryAction.java?rev=757166&r1=757165&r2=757166&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/LocalRepositoryAction.java
(original)
+++ continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/LocalRepositoryAction.java
Sun Mar 22 10:22:05 2009
@@ -116,7 +116,7 @@
         
         if ( errorMessage != null )
         {
-            addActionError( errorMessage );
+            addActionError( getText( errorMessage ) );
         }
         
         repositories = repositoryService.getAllLocalRepositories();

Modified: continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/PurgeConfigurationAction.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/PurgeConfigurationAction.java?rev=757166&r1=757165&r2=757166&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/PurgeConfigurationAction.java
(original)
+++ continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/PurgeConfigurationAction.java
Sun Mar 22 10:22:05 2009
@@ -219,7 +219,7 @@
         
         if ( errorMessage != null )
         {
-            addActionError( errorMessage );
+            addActionError( getText( errorMessage ) );
         }
         
         repoPurgeConfigs = purgeConfigService.getAllRepositoryPurgeConfigurations();

Modified: continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java?rev=757166&r1=757165&r2=757166&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
(original)
+++ continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ScheduleAction.java
Sun Mar 22 10:22:05 2009
@@ -231,7 +231,7 @@
                 }
                 catch ( ContinuumException e )
                 {
-                    addActionError( "schedule.buildqueues.add.error" );
+                    addActionError( getText( "schedule.buildqueues.add.error" ) );
                     return ERROR;
                 }
                 return SUCCESS;
@@ -244,7 +244,7 @@
                 }
                 catch ( ContinuumException e )
                 {
-                    addActionError( "schedule.buildqueues.add.error" );
+                    addActionError( getText( "schedule.buildqueues.add.error" ) );
                     return ERROR;
                 }
                 return SUCCESS;

Modified: continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ConfigurationAction.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ConfigurationAction.java?rev=757166&r1=757165&r2=757166&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ConfigurationAction.java
(original)
+++ continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ConfigurationAction.java
Sun Mar 22 10:22:05 2009
@@ -127,7 +127,7 @@
 
         if ( numberOfAllowedBuildsinParallel <= 0 )
         {
-            addActionError( "configuration.numberOfBuildsInParallel.invalid" );
+            addActionError( getText( "configuration.numberOfBuildsInParallel.invalid" ) );
         }
 
         return INPUT;

Modified: continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java?rev=757166&r1=757165&r2=757166&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java
(original)
+++ continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java
Sun Mar 22 10:22:05 2009
@@ -110,7 +110,7 @@
 
         if ( errorMessage != null )
         {
-            addActionError( errorMessage );
+            addActionError( getText( errorMessage ) );
         }
 
         this.profiles = profileService.getAllProfiles();



Mime
View raw message