continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r366233 - in /maven/continuum/trunk/continuum-webapp/src/main: resources/ resources/org/apache/maven/continuum/web/action/ webapp/
Date Thu, 05 Jan 2006 18:04:21 GMT
Author: evenisse
Date: Thu Jan  5 10:04:10 2006
New Revision: 366233

URL: http://svn.apache.org/viewcvs?rev=366233&view=rev
Log:
Add notifiers validators

Added:
    maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction-ircNotifierSave-validation.xml
  (with props)
    maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction.properties
  (with props)
    maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction-jabberNotifierSave-validation.xml
  (with props)
    maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction.properties
  (with props)
    maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction-mailNotifierSave-validation.xml
  (with props)
    maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction.properties
  (with props)
    maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction-msnNotifierSave-validation.xml
  (with props)
    maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction.properties
  (with props)
Modified:
    maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml
    maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierIrc.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierJabber.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMail.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMsn.jsp

Added: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction-ircNotifierSave-validation.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction-ircNotifierSave-validation.xml?rev=366233&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction-ircNotifierSave-validation.xml
(added)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction-ircNotifierSave-validation.xml
Thu Jan  5 10:04:10 2006
@@ -0,0 +1,23 @@
+<!DOCTYPE validators PUBLIC 
+          "-//OpenSymphony Group//XWork Validator 1.0.2//EN" 
+          "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
+
+<validators>
+    <field name="host">
+        <field-validator type="required">
+            <message key="ircNotifier.host.required"/>
+        </field-validator>
+    </field>
+    <field name="port">
+        <field-validator type="int">
+            <param name="min">0</param>
+            <param name="max">65535</param>
+            <message key="ircNotifier.port.invalid"/>
+        </field-validator>
+    </field>
+    <field name="channel">
+        <field-validator type="required">
+            <message key="ircNotifier.channel.required"/>
+        </field-validator>
+    </field>
+</validators>

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction-ircNotifierSave-validation.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction-ircNotifierSave-validation.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction.properties?rev=366233&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction.properties
(added)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction.properties
Thu Jan  5 10:04:10 2006
@@ -0,0 +1,3 @@
+ircNotifier.host.required = Host is required
+ircNotifier.port.invalid = Port must be an integer
+ircNotifier.channel.required = Channel is required

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/IrcNotifierEditAction.properties
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction-jabberNotifierSave-validation.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction-jabberNotifierSave-validation.xml?rev=366233&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction-jabberNotifierSave-validation.xml
(added)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction-jabberNotifierSave-validation.xml
Thu Jan  5 10:04:10 2006
@@ -0,0 +1,33 @@
+<!DOCTYPE validators PUBLIC 
+          "-//OpenSymphony Group//XWork Validator 1.0.2//EN" 
+          "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
+
+<validators>
+    <field name="host">
+        <field-validator type="required">
+            <message key="jabberNotifier.host.required"/>
+        </field-validator>
+    </field>
+    <field name="port">
+        <field-validator type="int">
+            <param name="min">0</param>
+            <param name="max">65535</param>
+            <message key="jabberNotifier.port.invalid"/>
+        </field-validator>
+    </field>
+    <field name="login">
+        <field-validator type="required">
+            <message key="jabberNotifier.login.required"/>
+        </field-validator>
+    </field>
+    <field name="password">
+        <field-validator type="required">
+            <message key="jabberNotifier.password.required"/>
+        </field-validator>
+    </field>
+    <field name="address">
+        <field-validator type="required">
+            <message key="jabberNotifier.address.required"/>
+        </field-validator>
+    </field>
+</validators>

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction-jabberNotifierSave-validation.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction-jabberNotifierSave-validation.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction.properties?rev=366233&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction.properties
(added)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction.properties
Thu Jan  5 10:04:10 2006
@@ -0,0 +1,5 @@
+jabberNotifier.host.required = Host is required
+jabberNotifier.port.invalid = Port must be an integer
+jabberNotifier.login.required = Login is required
+jabberNotifier.password.required = Password is required
+jabberNotifier.address.required = Address is required

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/JabberNotifierEditAction.properties
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction-mailNotifierSave-validation.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction-mailNotifierSave-validation.xml?rev=366233&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction-mailNotifierSave-validation.xml
(added)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction-mailNotifierSave-validation.xml
Thu Jan  5 10:04:10 2006
@@ -0,0 +1,11 @@
+<!DOCTYPE validators PUBLIC 
+          "-//OpenSymphony Group//XWork Validator 1.0.2//EN" 
+          "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
+
+<validators>
+    <field name="address">
+        <field-validator type="required">
+            <message key="mailNotifier.address.required"/>
+        </field-validator>
+    </field>
+</validators>

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction-mailNotifierSave-validation.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction-mailNotifierSave-validation.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction.properties?rev=366233&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction.properties
(added)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction.properties
Thu Jan  5 10:04:10 2006
@@ -0,0 +1 @@
+mailNotifier.address.required = Address is required

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MailNotifierEditAction.properties
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction-msnNotifierSave-validation.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction-msnNotifierSave-validation.xml?rev=366233&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction-msnNotifierSave-validation.xml
(added)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction-msnNotifierSave-validation.xml
Thu Jan  5 10:04:10 2006
@@ -0,0 +1,21 @@
+<!DOCTYPE validators PUBLIC 
+          "-//OpenSymphony Group//XWork Validator 1.0.2//EN" 
+          "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
+
+<validators>
+    <field name="login">
+        <field-validator type="required">
+            <message key="jabberNotifier.login.required"/>
+        </field-validator>
+    </field>
+    <field name="password">
+        <field-validator type="required">
+            <message key="jabberNotifier.password.required"/>
+        </field-validator>
+    </field>
+    <field name="address">
+        <field-validator type="required">
+            <message key="jabberNotifier.address.required"/>
+        </field-validator>
+    </field>
+</validators>

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction-msnNotifierSave-validation.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction-msnNotifierSave-validation.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction.properties?rev=366233&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction.properties
(added)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction.properties
Thu Jan  5 10:04:10 2006
@@ -0,0 +1,3 @@
+msnNotifier.login.required = Login is required
+msnNotifier.password.required = Password is required
+msnNotifier.address.required = Address is required

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/MsnNotifierEditAction.properties
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml?rev=366233&r1=366232&r2=366233&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/xwork.xml Thu Jan  5 10:04:10
2006
@@ -144,19 +144,43 @@
             <result name="success" type="chain">projectView</result>
         </action>
 
+        <action name="mailNotifierSave"
+                class="mailNotifierEdit">
+            <result name="input">notifierMail.jsp</result>
+            <result name="success" type="chain">projectView</result>
+        </action>
+
         <action name="ircNotifierEdit"
                 class="ircNotifierEdit">
             <result name="input">notifierIrc.jsp</result>
             <result name="success" type="chain">projectView</result>
         </action>
 
+        <action name="ircNotifierSave"
+                class="ircNotifierEdit">
+            <result name="input">notifierIrc.jsp</result>
+            <result name="success" type="chain">projectView</result>
+        </action>
+
         <action name="jabberNotifierEdit"
                 class="jabberNotifierEdit">
             <result name="input">notifierJabber.jsp</result>
             <result name="success" type="chain">projectView</result>
         </action>
 
+        <action name="jabberNotifierSave"
+                class="jabberNotifierEdit">
+            <result name="input">notifierJabber.jsp</result>
+            <result name="success" type="chain">projectView</result>
+        </action>
+
         <action name="msnNotifierEdit"
+                class="msnNotifierEdit">
+            <result name="input">notifierMsn.jsp</result>
+            <result name="success" type="chain">projectView</result>
+        </action>
+
+        <action name="msnNotifierSave"
                 class="msnNotifierEdit">
             <result name="input">notifierMsn.jsp</result>
             <result name="success" type="chain">projectView</result>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierIrc.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierIrc.jsp?rev=366233&r1=366232&r2=366233&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierIrc.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierIrc.jsp Thu Jan  5 10:04:10
2006
@@ -18,7 +18,7 @@
         </h3>
 
         <div class="axial">
-            <ww:form action="ircNotifierEdit.action" method="post">
+            <ww:form action="ircNotifierSave.action" method="post">
                 <ww:hidden name="notifierId"/>
                 <ww:hidden name="projectId"/>
                 <ww:hidden name="notifierType"/>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierJabber.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierJabber.jsp?rev=366233&r1=366232&r2=366233&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierJabber.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierJabber.jsp Thu Jan  5 10:04:10
2006
@@ -18,7 +18,7 @@
         </h3>
 
         <div class="axial">
-            <ww:form action="jabberNotifierEdit.action" method="post">
+            <ww:form action="jabberNotifierSave.action" method="post">
                 <ww:hidden name="notifierId"/>
                 <ww:hidden name="projectId"/>
                 <ww:hidden name="notifierType"/>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMail.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMail.jsp?rev=366233&r1=366232&r2=366233&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMail.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMail.jsp Thu Jan  5 10:04:10
2006
@@ -18,7 +18,7 @@
         </h3>
 
         <div class="axial">
-            <ww:form action="mailNotifierEdit.action" method="post">
+            <ww:form action="mailNotifierSave.action" method="post">
                 <ww:hidden name="notifierId"/>
                 <ww:hidden name="projectId"/>
                 <ww:hidden name="notifierType"/>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMsn.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMsn.jsp?rev=366233&r1=366232&r2=366233&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMsn.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMsn.jsp Thu Jan  5 10:04:10
2006
@@ -18,7 +18,7 @@
         </h3>
 
         <div class="axial">
-            <ww:form action="jabberNotifierEdit.action" method="post">
+            <ww:form action="jabberNotifierSave.action" method="post">
                 <ww:hidden name="notifierId"/>
                 <ww:hidden name="projectId"/>
                 <ww:hidden name="notifierType"/>



Mime
View raw message