continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r486117 - in /maven/continuum/trunk/continuum-webapp/src/main: java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java webapp/WEB-INF/jsp/releasePrepare.jsp
Date Tue, 12 Dec 2006 12:51:13 GMT
Author: evenisse
Date: Tue Dec 12 04:51:12 2006
New Revision: 486117

URL: http://svn.apache.org/viewvc?view=rev&rev=486117
Log:
[CONTINUUM-1047] Fix mandatory fields
Submitted by: Maria Odea Ching

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/releasePrepare.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java?view=diff&rev=486117&r1=486116&r2=486117
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java
Tue Dec 12 04:51:12 2006
@@ -444,4 +444,9 @@
     {
         this.prepareGoals = prepareGoals;
     }
+
+    public void validate()
+    {
+        
+    }
 }

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/releasePrepare.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/releasePrepare.jsp?view=diff&rev=486117&r1=486116&r2=486117
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/releasePrepare.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/releasePrepare.jsp
Tue Dec 12 04:51:12 2006
@@ -8,18 +8,18 @@
     </head>
     <body>
       <h2><ww:text name="releasePrepare.section.title"/></h2>
-      <ww:form action="releasePrepare" method="post" validate="true">
+      <ww:form action="releasePrepare" method="post">
         <h3><ww:text name="releasePrepare.parameters"/></h3>
         <input type="hidden" name="projectId" value="<ww:property value="projectId"/>"/>
         <div class="axial">
           <table border="1" cellspacing="2" cellpadding="3" width="100%">
-            <ww:textfield label="SCM Username" name="scmUsername"/>
-            <ww:password label="SCM Password" name="scmPassword"/>
-            <ww:textfield label="SCM Tag" name="scmTag"/>
+            <ww:textfield label="SCM Username" name="scmUsername" required="true"/>
+            <ww:password label="SCM Password" name="scmPassword" required="true"/>
+            <ww:textfield label="SCM Tag" name="scmTag" required="true"/>
             <c:if test="${!empty(scmTagBase)}">
               <ww:textfield label="SCM Tag Base" name="scmTagBase"/>
             </c:if>
-            <ww:textfield label="Preparation Goals" name="prepareGoals"/>
+            <ww:textfield label="Preparation Goals" name="prepareGoals" required="true"/>
            </table>
         </div>
 



Mime
View raw message