continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r170515 - in /maven/continuum/trunk/continuum-web/src/main/resources: forms/addMavenOneProject.xml forms/addMavenTwoProject.xml localization/Continuum.properties
Date Tue, 17 May 2005 05:22:01 GMT
Author: jvanzyl
Date: Mon May 16 22:21:59 2005
New Revision: 170515

URL: http://svn.apache.org/viewcvs?rev=170515&view=rev
Log:
o make the stackable validators for adding a POM:

  -> check that something is there
  -> check that the URL is well formed
  -> check that the URL actually points at something real
  

Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenOneProject.xml
    maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenTwoProject.xml
    maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenOneProject.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenOneProject.xml?rev=170515&r1=170514&r2=170515&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenOneProject.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenOneProject.xml Mon
May 16 22:21:59 2005
@@ -11,7 +11,11 @@
       <validators>
         <validator>
           <id>required</id>
-          <error-message-key>m1PomUrl.error</error-message-key>
+          <error-message-key>empty.error</error-message-key>
+        </validator>
+        <validator>
+          <id>url</id>
+          <error-message-key>url.error</error-message-key>
         </validator>
         <validator>
           <id>url-source</id>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenTwoProject.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenTwoProject.xml?rev=170515&r1=170514&r2=170515&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenTwoProject.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/addMavenTwoProject.xml Mon
May 16 22:21:59 2005
@@ -7,7 +7,11 @@
       <validators>
         <validator>
           <id>required</id>
-          <error-message-key>m2PomUrl.error</error-message-key>
+          <error-message-key>empty.error</error-message-key>
+        </validator>
+        <validator>
+          <id>url</id>
+          <error-message-key>url.error</error-message-key>
         </validator>
         <validator>
           <id>url-source</id>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties?rev=170515&r1=170514&r2=170515&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/localization/Continuum.properties
Mon May 16 22:21:59 2005
@@ -99,4 +99,6 @@
 // General errors
 // ----------------------------------------------------------------------
 
+empty.error = This field is required
+url.error = You must provide a valid url
 urlSource.error = The URL you provided doesn't exist



Mime
View raw message