continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmora...@apache.org
Subject svn commit: r774555 - in /continuum/branches/continuum-1.3.x/continuum-webapp/src/main: java/org/apache/maven/continuum/web/action/BuildProjectAction.java webapp/WEB-INF/jsp/components/buildDefinitionGroupSummaryComponent.jsp
Date Wed, 13 May 2009 22:01:37 GMT
Author: jmorales
Date: Wed May 13 22:01:36 2009
New Revision: 774555

URL: http://svn.apache.org/viewvc?rev=774555&view=rev
Log:
[CONTINUUM-1848] Redirect to project group summary page when build project group from 'Build
Definition' tab of project group.

Modified:
    continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildProjectAction.java
    continuum/branches/continuum-1.3.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionGroupSummaryComponent.jsp

Modified: continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildProjectAction.java
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildProjectAction.java?rev=774555&r1=774554&r2=774555&view=diff
==============================================================================
--- continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildProjectAction.java
(original)
+++ continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildProjectAction.java
Wed May 13 22:01:36 2009
@@ -103,6 +103,10 @@
             event.setResource( "Project Group id=" + projectGroupId );
             event.setCategory( AuditLogConstants.PROJECT_GROUP );
             event.log();
+            if ( fromGroupPage )
+            {
+                return "to_group_page";
+            }
         }
 
         return SUCCESS;

Modified: continuum/branches/continuum-1.3.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionGroupSummaryComponent.jsp
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-1.3.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionGroupSummaryComponent.jsp?rev=774555&r1=774554&r2=774555&view=diff
==============================================================================
--- continuum/branches/continuum-1.3.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionGroupSummaryComponent.jsp
(original)
+++ continuum/branches/continuum-1.3.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionGroupSummaryComponent.jsp
Wed May 13 22:01:36 2009
@@ -66,6 +66,7 @@
           <s:url id="buildUrl" action="buildProject" namespace="/">
             <s:param name="projectGroupId">${pageScope.buildDefinitionSummary.projectGroupId}</s:param>
             <s:param name="buildDefinitionId">${pageScope.buildDefinitionSummary.id}</s:param>
+            <s:param name="fromGroupPage" value="true"/>
           </s:url>
           <s:a href="%{buildUrl}"><img src="<s:url value='/images/buildnow.gif'
includeParams="none"/>" alt="<s:text name='build'/>" title="<s:text name='build'/>"
border="0"></s:a>
         </redback:ifAuthorized>



Mime
View raw message