continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r170514 - in /maven/continuum/trunk/continuum-web/src/main/resources: forms/addMavenOneProject.xml forms/addMavenTwoProject.xml forms/antProject.xml forms/continuumProject.xml forms/login.xml forms/mavenOneProject.xml forms/mavenTwoProject.xml forms/shellProject.xml localization/Continuum.properties
Date Tue, 17 May 2005 05:00:35 GMT
Author: jvanzyl
Date: Mon May 16 22:00:34 2005
New Revision: 170514

URL: http://svn.apache.org/viewcvs?rev=170514&view=rev
Log:
o changing the forms to accommodate the stackable validators
  now supported by formica.

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/forms/antProject.xml
    maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml
    maven/continuum/trunk/continuum-web/src/main/resources/forms/login.xml
    maven/continuum/trunk/continuum-web/src/main/resources/forms/mavenOneProject.xml
    maven/continuum/trunk/continuum-web/src/main/resources/forms/mavenTwoProject.xml
    maven/continuum/trunk/continuum-web/src/main/resources/forms/shellProject.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=170514&r1=170513&r2=170514&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:00:34 2005
@@ -8,7 +8,16 @@
     -->
     <element>
       <id>m1PomUrl</id>
-      <validator>required</validator>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>m1PomUrl.error</error-message-key>
+        </validator>
+        <validator>
+          <id>url-source</id>
+          <error-message-key>urlSource.error</error-message-key>
+        </validator>
+      </validators>
       <expression>scmUrl</expression>
       <type>text</type>
     </element>

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=170514&r1=170513&r2=170514&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:00:34 2005
@@ -4,7 +4,16 @@
   <elements>
     <element>
       <id>m2PomUrl</id>
-      <validator>required</validator>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>m2PomUrl.error</error-message-key>
+        </validator>
+        <validator>
+          <id>url-source</id>
+          <error-message-key>urlSource.error</error-message-key>
+        </validator>
+      </validators>
       <type>text</type>
     </element>
   </elements>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/antProject.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/antProject.xml?rev=170514&r1=170513&r2=170514&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/antProject.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/antProject.xml Mon May 16
22:00:34 2005
@@ -6,7 +6,12 @@
   <elements>
     <element>
       <id>project.targets</id>
-      <validator>required</validator>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>project.targets.error</error-message-key>
+        </validator>
+      </validators>
       <expression>targets</expression>
       <type>text</type>
     </element>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml?rev=170514&r1=170513&r2=170514&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml Mon
May 16 22:00:34 2005
@@ -7,38 +7,68 @@
   <elements>
     <element>
       <id>project.name</id>
-      <validator>required</validator>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>project.name.error</error-message-key>
+        </validator>
+      </validators>
       <type>text</type>
       <expression>name</expression>
     </element>
     <element>
       <id>project.scmUrl</id>
-      <validator>scm-url</validator>
+      <validators>
+        <validator>
+          <id>scm-url</id>
+          <error-message-key>project.scmUrl.error</error-message-key>
+        </validator>
+      </validators>
       <type>text</type>
       <expression>scmUrl</expression>
     </element>
     <element>
       <id>project.nagEmailAddress</id>
-      <validator>required</validator>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>project.nagEmailAddress.error</error-message-key>
+        </validator>
+      </validators>
       <type>text</type>
       <expression>nagEmailAddress</expression>
     </element>
     <element>
       <id>project.version</id>
-      <validator>required</validator>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>project.version.error</error-message-key>
+        </validator>
+      </validators>
       <type>text</type>
       <expression>version</expression>
     </element>
     <element>
       <id>project.type</id>
-      <validator>default</validator>
+      <validators>
+        <validator>
+          <id>default</id>
+          <error-message-key>project.type.error</error-message-key>
+        </validator>
+      </validators>
       <type>text</type>
       <expression>builderId</expression>
       <immutable>true</immutable>
     </element>
     <element>
       <id>project.state</id>
-      <validator>default</validator>
+      <validators>
+        <validator>
+          <id>default</id>
+          <error-message-key>project.state.error</error-message-key>
+        </validator>
+      </validators>
       <type>text</type>
       <expression>state</expression>
       <immutable>true</immutable>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/login.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/login.xml?rev=170514&r1=170513&r2=170514&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/login.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/login.xml Mon May 16 22:00:34
2005
@@ -3,12 +3,20 @@
   <elements>
     <element>
       <id>login.username</id>
-      <validator>default</validator>
+      <validators>
+        <validator>
+          <id>default</id>
+        </validator>
+      </validators>
       <type>text</type>
     </element>
     <element>
       <id>login.password</id>
-      <validator>default</validator>
+      <validators>
+        <validator>
+          <id>default</id>
+        </validator>
+      </validators>
       <type>password</type>
     </element>
   </elements>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/mavenOneProject.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/mavenOneProject.xml?rev=170514&r1=170513&r2=170514&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/mavenOneProject.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/mavenOneProject.xml Mon May
16 22:00:34 2005
@@ -6,7 +6,12 @@
   <elements>
     <element>
       <id>project.goals</id>
-      <validator>default</validator>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>project.goals.error</error-message-key>
+        </validator>
+      </validators>
       <expression>goals</expression>
       <type>text</type>
     </element>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/mavenTwoProject.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/mavenTwoProject.xml?rev=170514&r1=170513&r2=170514&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/mavenTwoProject.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/mavenTwoProject.xml Mon May
16 22:00:34 2005
@@ -6,7 +6,12 @@
   <elements>
     <element>
       <id>project.phase</id>
-      <validator>required</validator>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>project.phase.error</error-message-key>
+        </validator>
+      </validators>
       <expression>goals</expression>
       <type>text</type>
     </element>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/shellProject.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/shellProject.xml?rev=170514&r1=170513&r2=170514&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/shellProject.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/shellProject.xml Mon May
16 22:00:34 2005
@@ -6,18 +6,15 @@
   <elements>
     <element>
       <id>project.executable</id>
-      <validator>required</validator>
+      <validators>
+        <validator>
+          <id>required</id>
+          <error-message-key>project.executable.error</error-message-key>
+        </validator>
+      </validators>
       <expression>executable</expression>
       <type>text</type>
     </element>
-    <!--
-    <element>
-      <id>project.arguments</id>
-      <validator>default</validator>
-      <expression>arguments</expression>
-      <type>text</type>
-    </element>
-    -->
   </elements>
 
   <!-- Add -->

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=170514&r1=170513&r2=170514&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:00:34 2005
@@ -93,4 +93,10 @@
 
 project.arguments.label = Arguments
 project.arguments.message = Enter shell script arguments, if any
-project.arguments.error =
\ No newline at end of file
+project.arguments.error =
+
+// ----------------------------------------------------------------------
+// General errors
+// ----------------------------------------------------------------------
+
+urlSource.error = The URL you provided doesn't exist
\ No newline at end of file



Mime
View raw message