continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r365381 - in /maven/continuum/trunk/continuum-webapp/src/main: java/org/apache/maven/continuum/web/action/WorkingCopyAction.java webapp/buildResults.jsp
Date Mon, 02 Jan 2006 17:29:22 GMT
Author: evenisse
Date: Mon Jan  2 09:29:15 2006
New Revision: 365381

URL: http://svn.apache.org/viewcvs?rev=365381&view=rev
Log:
Fix build result list

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

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/WorkingCopyAction.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/WorkingCopyAction.java?rev=365381&r1=365380&r2=365381&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/WorkingCopyAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/WorkingCopyAction.java
Mon Jan  2 09:29:15 2006
@@ -62,7 +62,7 @@
 
             params.put( "projectId", new Integer( projectId ) );
 
-            params.put( "projectName", new Integer( projectName ) );
+            params.put( "projectName", projectName );
 
             String baseUrl = UrlHelper.buildUrl( "/workingCopy.action", ServletActionContext.getRequest(),
ServletActionContext.getResponse(), params );
 

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/buildResults.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/buildResults.jsp?rev=365381&r1=365380&r2=365381&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/buildResults.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/buildResults.jsp Mon Jan  2 09:29:15
2006
@@ -31,15 +31,17 @@
                   sortable="false">
           <ec:row highlightRow="true">
             <ec:column property="buildNumber" title="buildResults.buildNumber">
-                <c:if test="${!pageScope.buildResult.state == 2}">
+                <c:if test="${!(pageScope.buildResult.state == 2)}">
                     ${pageScope.buildResult.buildNumber}
                 </c:if>
             </ec:column>
             <ec:column property="startTime" title="buildResults.startTime" cell="date"/>
             <ec:column property="entTime" title="buildResults.endTime" cell="date"/>
-            <ec:column property="state" title="buildResults.state" cell="org.apache.maven.continuum.web.view.StateCell"/>
+            <ec:column property="state" title="buildResults.state">
+                STATE: TODO
+            </ec:column>
             <ec:column property="actions" title="&nbsp;">
-                RESULT
+              <a href="${pageContext.request.contextPath}/buildResult.action?projectId=<ww:property
value="projectId"/>&projectName=<ww:property value="projectName"/>&buildId=${pageScope.buildResult.id}">Result</a>
             </ec:column>
           </ec:row>
         </ec:table>



Mime
View raw message