continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r488179 - in /maven/continuum/trunk/continuum-webapp/src/main: java/org/apache/maven/continuum/web/action/DeleteProjectAction.java webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
Date Mon, 18 Dec 2006 09:38:43 GMT
Author: evenisse
Date: Mon Dec 18 01:38:42 2006
New Revision: 488179

URL: http://svn.apache.org/viewvc?view=rev&rev=488179
Log:
[CONTINUUM-1060]Add project name in delete project confirmation page
Submitted by: Henry S. Isidro

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/DeleteProjectAction.java
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/DeleteProjectAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/DeleteProjectAction.java?view=diff&rev=488179&r1=488178&r2=488179
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/DeleteProjectAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/DeleteProjectAction.java
Mon Dec 18 01:38:42 2006
@@ -17,6 +17,7 @@
  */
 
 import org.apache.maven.continuum.ContinuumException;
+import org.apache.maven.continuum.model.project.Project;
 
 /**
  * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
@@ -42,7 +43,11 @@
     }
 
     public String doDefault()
+        throws ContinuumException
     {
+        Project project = getContinuum().getProject( projectId ); 
+        projectName = project.getName();
+        
         return "delete";
     }
 

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp?view=diff&rev=488179&r1=488178&r2=488179
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
Mon Dec 18 01:38:42 2006
@@ -124,7 +124,6 @@
               test="${pageScope.project.state == 1 || pageScope.project.state == 10 || pageScope.project.state
== 2 || pageScope.project.state == 3 || pageScope.project.state == 4}">
             <ww:url id="deleteProjectUrl" value="deleteProject!default.action" namespace="/">
               <ww:param name="projectId" value="${project.id}"/>
-              <ww:param name="projectName" value="${project.name}"/>
             </ww:url>
             <ww:a href="%{deleteProjectUrl}">
               <img src="<ww:url value='/images/delete.gif'/>" alt="Delete" title="Delete"
border="0">



Mime
View raw message