continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r358556 - in /maven/continuum/trunk/continuum-webapp/src/main: java/org/apache/maven/continuum/web/action/ProjectViewAction.java webapp/projectView.jsp
Date Thu, 22 Dec 2005 10:52:57 GMT
Author: evenisse
Date: Thu Dec 22 02:52:53 2005
New Revision: 358556

URL: http://svn.apache.org/viewcvs?rev=358556&view=rev
Log:
don't put object in request from action. We use <ww:set/> instead

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectViewAction.java
    maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectViewAction.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectViewAction.java?rev=358556&r1=358555&r2=358556&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectViewAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectViewAction.java
Thu Dec 22 02:52:53 2005
@@ -51,14 +51,6 @@
             return ERROR;
         }
 
-        ServletActionContext.getRequest().setAttribute( "buildDefinitions", project.getBuildDefinitions()
);
-
-        ServletActionContext.getRequest().setAttribute( "notifiers", project.getNotifiers()
);
-
-        ServletActionContext.getRequest().setAttribute( "dependencies", project.getDependencies()
);
-
-        ServletActionContext.getRequest().setAttribute( "developers", project.getDevelopers()
);
-
         return SUCCESS;
     }
 

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=358556&r1=358555&r2=358556&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/projectView.jsp Thu Dec 22 02:52:53
2005
@@ -31,6 +31,7 @@
         </div>
 
         <h3><ww:text name="projectView.buildDefinitions"/></h3>
+        <ww:set name="buildDefinitions" value="project.buildDefinitions" scope="request"/>
         <ec:table items="buildDefinitions"
                   var="buildDefinition"
                   showExports="false"
@@ -59,6 +60,7 @@
         <h3><ww:text name="projectView.dependencies"/></h3>
 
         <h3><ww:text name="projectView.developers"/></h3>
+        <ww:set name="developers" value="project.developers" scope="request"/>
         <ec:table items="developers"
                   showExports="false"
                   showPagination="false"



Mime
View raw message