continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r365974 - in /maven/continuum/trunk/continuum-webapp/src/main: resources/template/default/ webapp/
Date Wed, 04 Jan 2006 20:15:14 GMT
Author: evenisse
Date: Wed Jan  4 12:15:02 2006
New Revision: 365974

URL: http://svn.apache.org/viewcvs?rev=365974&view=rev
Log:
o set up submit and submit cancel style
o Use submit and submitcancel tag

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/form-close.vm
    maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/submit.vm
    maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/submit_cancel.vm
    maven/continuum/trunk/continuum-webapp/src/main/webapp/addMavenOneProject.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/addMavenTwoProject.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/addProject.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/buildDefinitionEdit.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/configuration.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/configurationEdit.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteBuildDefinition.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteNotifier.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteProject.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/login.jsp
    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
    maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierSelectType.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/projectEdit.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/summary.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/form-close.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/form-close.vm?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/form-close.vm
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/form-close.vm
Wed Jan  4 12:15:02 2006
@@ -1,2 +1 @@
-</table>
 #parse("/template/simple/form-close.vm")

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/submit.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/submit.vm?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/submit.vm (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/submit.vm Wed
Jan  4 12:15:02 2006
@@ -1,3 +1,4 @@
-<tr>
-    <td colspan="2"><div #if ($parameters.align) align="$!webwork.htmlEncode($parameters.align)"
#end
->#parse("/template/simple/submit.vm")</div>#parse( "/template/default/controlfooter.vm"
)
+</table>
+<div class="functnbar3">
+#parse("/template/simple/submit.vm")
+</div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/submit_cancel.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/submit_cancel.vm?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/submit_cancel.vm
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/submit_cancel.vm
Wed Jan  4 12:15:02 2006
@@ -1,5 +1,5 @@
-<tr>
-    <td colspan="2"><div #if ($parameters.align) align="$!webwork.htmlEncode($parameters.align)"
#end
->#parse("/template/simple/submit.vm")
-#if ($parameters.cancel) &nbsp;<input type="button" name="Cancel" value="$parameters.cancel)"
onClick="history.back()"/> #end
-</div>#parse( "/template/default/controlfooter.vm" )
+</table>
+<div class="functnbar3">
+#parse("/template/simple/submit.vm")
+#if ($parameters.cancel) &nbsp;<input type="button" name="Cancel" value="$parameters.cancel"
onClick="history.back()"/> #end
+</div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/addMavenOneProject.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/addMavenOneProject.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/addMavenOneProject.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/addMavenOneProject.jsp Wed Jan
 4 12:15:02 2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <ww:i18n name="localization.Continuum">
 <html>
     <head>
@@ -32,10 +33,7 @@
                             </td>
                         </tr>
                         </table>
-                        <div class="functnbar3">
-                            <input type="submit" value="<ww:text name="add"/>"/>
-                            <input type="button" name="Cancel" value="<ww:text name="cancel"/>"
onClick="history.back()"/>
-                        </div>
+                        <c1:submitcancel value="%{getText('add')}" cancel="%{getText('cancel')}"/>
                     </ww:form>
                 </div>
             </div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/addMavenTwoProject.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/addMavenTwoProject.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/addMavenTwoProject.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/addMavenTwoProject.jsp Wed Jan
 4 12:15:02 2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <ww:i18n name="localization.Continuum">
 <html>
     <head>
@@ -32,10 +33,7 @@
                             </td>
                         </tr>
                         </table>
-                        <div class="functnbar3">
-                            <input type="submit" value="<ww:text name="add"/>"/>
-                            <input type="button" name="Cancel" value="<ww:text name="cancel"/>"
onClick="history.back()"/>
-                        </div>
+                        <c1:submitcancel value="%{getText('add')}" cancel="%{getText('cancel')}"/>
                     </ww:form>
                 </div>
             </div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/addProject.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/addProject.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/addProject.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/addProject.jsp Wed Jan  4 12:15:02
2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <ww:i18n name="localization.Continuum">
 <html>
     <head>
@@ -69,10 +70,7 @@
                             </td>
                         </tr>                                                     
                                                          
                         </table>
-                        <div class="functnbar3">
-                            <input type="submit" value="<ww:text name="add"/>"/>
-                            <input type="button" value="<ww:text name="cancel"/>"
onClick="history.back()"/>
-                        </div>
+                        <c1:submitcancel value="%{getText('add')}" cancel="%{getText('cancel')}"/>
                     </ww:form>
                 </div>
             </div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/buildDefinitionEdit.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/buildDefinitionEdit.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/buildDefinitionEdit.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/buildDefinitionEdit.jsp Wed Jan
 4 12:15:02 2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -35,7 +36,7 @@
             <ww:textfield label="%{getText('buildDefinition.arguments.label')}" name="arguments"/>
             <ww:checkbox label="%{getText('buildDefinition.defaultForProject.label')}"
 name="defaultForProject" value="defaultForProject" fieldValue="true"/>
             <ww:select label="%{getText('buildDefinition.schedule.label')}" name="scheduleId"
list="schedulesMap"/>
-            <ww:submit value="%{getText('save')}"/>
+            <c1:submitcancel value="%{getText('save')}" cancel="%{getText('cancel')}"/>
           </ww:form>
         </div>
       </div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/configuration.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/configuration.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/configuration.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/configuration.jsp Wed Jan  4 12:15:02
2006
@@ -47,9 +47,9 @@
             </tr>
           </table>
           <div class="functnbar3">
-            <ww:form action="configuration!edit.action">
+            <form action="configuration!edit.action" method="post">
                 <ww:submit value="%{getText('edit')}"/>
-            </ww:form>
+            </form>
           </div>
         </div>
       </div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/configurationEdit.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/configurationEdit.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/configurationEdit.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/configurationEdit.jsp Wed Jan 
4 12:15:02 2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -17,7 +18,7 @@
             <ww:textfield label="%{getText('configuration.companyName.label')}" name="companyName"/>
             <ww:textfield label="%{getText('configuration.companyLogo.label')}" name="companyLogo"/>
             <ww:textfield label="%{getText('configuration.companyUrl.label')}" name="companyUrl"/>
-            <ww:submit value="%{getText('save')}"/>
+            <c1:submitcancel value="%{getText('save')}" cancel="%{getText('cancel')}"/>
           </ww:form>
         </div>
       </div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteBuildDefinition.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteBuildDefinition.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteBuildDefinition.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteBuildDefinition.jsp Wed Jan
 4 12:15:02 2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -20,10 +21,7 @@
         <ww:form action="deleteBuildDefinition.action" method="post">
             <ww:hidden name="buildDefinitionId"/>
             <ww:hidden name="projectId"/>
-            <div class="functnbar3">
-            <input type="submit" value="<ww:text name="delete"/>"/>
-            <input type="button" name="Cancel" value="<ww:text name="cancel"/>"
onClick="history.back()"/>
-            </div>
+            <c1:submitcancel value="%{getText('delete')}" cancel="%{getText('cancel')}"/>
         </ww:form>
       </div>
     </body>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteNotifier.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteNotifier.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteNotifier.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteNotifier.jsp Wed Jan  4 12:15:02
2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -21,10 +22,7 @@
         <ww:form action="deleteNotifier.action" method="post">
             <ww:hidden name="notifierId"/>
             <ww:hidden name="projectId"/>
-            <div class="functnbar3">
-            <input type="submit" value="<ww:text name="delete"/>"/>
-            <input type="button" name="Cancel" value="<ww:text name="cancel"/>"
onClick="history.back()"/>
-            </div>
+            <c1:submitcancel value="%{getText('delete')}" cancel="%{getText('cancel')}"/>
         </ww:form>
       </div>
     </body>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteProject.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteProject.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteProject.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/deleteProject.jsp Wed Jan  4 12:15:02
2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -19,10 +20,7 @@
         </div>
         <ww:form action="deleteProject.action" method="post">
             <ww:hidden name="projectId"/>
-            <div class="functnbar3">
-            <input type="submit" value="<ww:text name="delete"/>"/>
-            <input type="button" name="Cancel" value="<ww:text name="cancel"/>"
onClick="history.back()"/>
-            </div>
+            <c1:submitcancel value="%{getText('delete')}" cancel="%{getText('cancel')}"/>
         </ww:form>
       </div>
     </body>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/login.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/login.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/login.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/login.jsp Wed Jan  4 12:15:02 2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -10,7 +11,7 @@
         <ww:form action="login" method="post">
             <ww:textfield label="%{getText('login.username')}" name="username"/>
             <ww:password label="%{getText('login.password')}" name="password"/>
-            <ww:submit value="%{getText('login.submit')}"/>
+            <c1:submitcancel value="%{getText('login.submit')}" cancel="%{getText('cancel')}"/>
         </ww:form>
       </div>
     </body>

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=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierIrc.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierIrc.jsp Wed Jan  4 12:15:02
2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -31,7 +32,7 @@
                 <ww:checkbox label="%{getText('notifier.event.sendOnFailure')}" name="sendOnFailure"
value="sendOnFailure" fieldValue="true"/>
                 <ww:checkbox label="%{getText('notifier.event.sendOnError')}" name="sendOnError"
value="sendOnError" fieldValue="true"/>
                 <ww:checkbox label="%{getText('notifier.event.sendOnWarning')}" name="sendOnWarning"
value="sendOnWarning" fieldValue="true"/>
-                <ww:submit value="%{getText('save')}"/>
+                <c1:submitcancel value="%{getText('save')}" cancel="%{getText('cancel')}"/>
             </ww:form>
         </div>
       </div>

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=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierJabber.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierJabber.jsp Wed Jan  4 12:15:02
2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -33,7 +34,7 @@
                 <ww:checkbox label="%{getText('notifier.event.sendOnFailure')}" name="sendOnFailure"
value="sendOnFailure" fieldValue="true"/>
                 <ww:checkbox label="%{getText('notifier.event.sendOnError')}" name="sendOnError"
value="sendOnError" fieldValue="true"/>
                 <ww:checkbox label="%{getText('notifier.event.sendOnWarning')}" name="sendOnWarning"
value="sendOnWarning" fieldValue="true"/>
-                <ww:submit value="%{getText('save')}"/>
+                <c1:submitcancel value="%{getText('save')}" cancel="%{getText('cancel')}"/>
             </ww:form>
         </div>
       </div>

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=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMail.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMail.jsp Wed Jan  4 12:15:02
2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -26,7 +27,7 @@
                 <ww:checkbox label="%{getText('notifier.event.sendOnFailure')}" name="sendOnFailure"
value="sendOnFailure" fieldValue="true"/>
                 <ww:checkbox label="%{getText('notifier.event.sendOnError')}" name="sendOnError"
value="sendOnError" fieldValue="true"/>
                 <ww:checkbox label="%{getText('notifier.event.sendOnWarning')}" name="sendOnWarning"
value="sendOnWarning" fieldValue="true"/>
-                <ww:submit value="%{getText('save')}"/>
+                <c1:submitcancel value="%{getText('save')}" cancel="%{getText('cancel')}"/>
             </ww:form>
         </div>
       </div>

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=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMsn.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierMsn.jsp Wed Jan  4 12:15:02
2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -28,7 +29,7 @@
                 <ww:checkbox label="%{getText('notifier.event.sendOnFailure')}" name="sendOnFailure"
value="sendOnFailure" fieldValue="true"/>
                 <ww:checkbox label="%{getText('notifier.event.sendOnError')}" name="sendOnError"
value="sendOnError" fieldValue="true"/>
                 <ww:checkbox label="%{getText('notifier.event.sendOnWarning')}" name="sendOnWarning"
value="sendOnWarning" fieldValue="true"/>
-                <ww:submit value="%{getText('save')}"/>
+                <c1:submitcancel value="%{getText('save')}" cancel="%{getText('cancel')}"/>
             </ww:form>
         </div>
       </div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierSelectType.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierSelectType.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierSelectType.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/notifierSelectType.jsp Wed Jan
 4 12:15:02 2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -14,7 +15,7 @@
             <ww:select label="%{getText('notifier.type.label')}" name="notifierType"
                        list="#{ 'mail' : 'Mail', 'irc' : 'IRC', 'jabber' : 'Jabber', 'msn'
: 'MSN'}"/>
             <ww:hidden name="projectId"/>
-            <ww:submit value="%{getText('submit')}"/>
+            <c1:submitcancel value="%{getText('submit')}" cancel="%{getText('cancel')}"/>
           </ww:form>
         </div>
       </div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/projectEdit.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/projectEdit.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/projectEdit.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/projectEdit.jsp Wed Jan  4 12:15:02
2006
@@ -1,4 +1,5 @@
 <%@ taglib uri="webwork" prefix="ww" %>
+<%@ taglib uri="continuum" prefix="c1" %>
 <html>
   <ww:i18n name="localization.Continuum">
     <head>
@@ -17,7 +18,7 @@
             <ww:textfield label="%{getText('projectEdit.project.scmUsername.label')}"
name="scmUsername"/>
             <ww:password label="%{getText('projectEdit.project.scmPassword.label')}" name="scmPassword"/>
             <ww:textfield label="%{getText('projectEdit.project.scmTag.label')}" name="scmTag"/>
-            <ww:submit value="%{getText('save')}"/>
+            <c1:submitcancel value="%{getText('save')}" cancel="%{getText('cancel')}"/>
           </ww:form>
         </div>
       </div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp Wed Jan  4 12:15:02
2006
@@ -38,10 +38,10 @@
             </tr>
           </table>
           <div class="functnbar3">
-            <ww:form action="projectEdit!edit.action">
-                <ww:hidden name="project.id"/>
-                <ww:submit value="%{getText('edit')}"/>
-            </ww:form>
+            <form action="projectEdit!edit.action" method="post">
+                <input type="hidden" name="projectId" value="<ww:property value="project.id"/>"/>
+                <ww:submit value="%{getText('edit')}" theme="simple"/>
+            </form>
           </div>
         </div>
 
@@ -74,8 +74,8 @@
         </ec:table>
         <div class="functnbar3">
           <form method="post" action="addBuildDefinition.action">
-              <ww:hidden name="project.id"/>
-              <input type="submit" name="addBuildDef" value="<ww:text name="add"/>"/>
+              <input type="hidden" name="projectId" value="<ww:property value="project.id"/>"/>
+              <ww:submit value="%{getText('add')}" theme="simple"/>
           </form>
         </div>
 
@@ -104,8 +104,8 @@
         </ec:table>
         <div class="functnbar3">
           <form method="post" action="addNotifier!default.action">
-              <ww:hidden name="project.id"/>
-              <input type="submit" name="addNotifier" value="<ww:text name="add"/>"/>
+              <input type="hidden" name="projectId" value="<ww:property value="project.id"/>"/>
+              <ww:submit value="%{getText('add')}" theme="simple"/>
           </form>
         </div>
 

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/summary.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/summary.jsp?rev=365974&r1=365973&r2=365974&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/summary.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/summary.jsp Wed Jan  4 12:15:02
2006
@@ -40,7 +40,7 @@
               <img src="<ww:url value="/images/icon_success_sml.gif"/>" alt="<ww:text
name="message.success"/>" title="<ww:text name="message.success"/>"/> <ww:property
value="nbSuccesses"/>
               <img src="<ww:url value="/images/icon_warning_sml.gif"/>" alt="<ww:text
name="message.failed"/>" title="<ww:text name="message.failed"/>"/> <ww:property
value="nbFailures"/>
               <img src="<ww:url value="/images/icon_error_sml.gif"/>" alt="<ww:text
name="message.error"/>" title="<ww:text name="message.error"/>"/> <ww:property
value="nbErrors"/>
-              <input type="submit" name="build-all" value="<ww:text name="summary.buildAll"/>"/>
+              <ww:submit value="%{getText('summary.buildAll')}" theme="simple"/>
           </form>
         </div>
       </div>



Mime
View raw message