continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r954714 - in /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp: buildResults.jsp components/projectSummaryComponent.jsp projectGroupReleaseResults.jsp
Date Tue, 15 Jun 2010 05:47:32 GMT
Author: ctan
Date: Tue Jun 15 05:47:32 2010
New Revision: 954714

URL: http://svn.apache.org/viewvc?rev=954714&view=rev
Log:
[CONTINUUM-2169] fixed regression; projectGroupId's value is getting set as a string array
instead of just a plain string object

Modified:
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp?rev=954714&r1=954713&r2=954714&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp (original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp Tue Jun
15 05:47:32 2010
@@ -49,8 +49,6 @@
         </c:if>
     
         <form id="buildResultsForm" action="removeBuildResults.action" method="post">
-          <s:hidden name="projectGroupId"/>
-          <s:hidden name="projectId"/>
           <s:set name="buildResults" value="buildResults" scope="request"/>
           <ec:table items="buildResults"
                     var="buildResult"
@@ -102,6 +100,8 @@
                   <tr>
                     <td>
                       <redback:ifAuthorized permission="continuum-modify-group" resource="${projectGroupName}">
+                        <s:hidden name="projectGroupId"/>
+                        <s:hidden name="projectId"/>
                         <input type="button" name="delete-project" value="<s:text name="delete"/>"
onclick="document.forms.buildResultsForm.submit();" />
                       </redback:ifAuthorized>
                     </td>

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp?rev=954714&r1=954713&r2=954714&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
(original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
Tue Jun 15 05:47:32 2010
@@ -44,7 +44,6 @@
 
   <form id="projectsForm" action="ProjectsList.action" method="post">
     <input type="hidden" name="methodToCall" value="" />
-    <input type="hidden" name="projectGroupId" value="${projectGroupId}" />
     <input type="hidden" name="buildDefinitionId" value="-1" />
   <ec:table items="projects"
             var="project"
@@ -235,6 +234,7 @@
           <tr>
             <td>
               <redback:ifAuthorized permission="continuum-modify-group" resource="${projectGroupName}">
+                <input type="hidden" name="projectGroupId" value="${projectGroupId}" />
                 <s:select theme="simple" name="buildDef" list="buildDefinitions"
                            listKey="value" listValue="key" headerKey="-1" headerValue="%{getText('projectGroup.buildDefinition.label')}"
                            onchange="$('projectsForm').buildDefinitionId.value=$('buildDef').value"
/>

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp?rev=954714&r1=954713&r2=954714&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp
(original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp
Tue Jun 15 05:47:32 2010
@@ -40,7 +40,6 @@
       <h3><s:text name="projectGroup.releaseResults.section.title"><s:param>${projectGroup.name}</s:param></s:text></h3>
       
       <form id="releaseResultsForm" action="removeReleaseResults.action" method="post">
-        <s:hidden name="projectGroupId"/>
         <ec:table items="releaseResults"
                 var="result"
                 showExports="false"
@@ -84,6 +83,7 @@
                 <tr>
                   <td>
                     <redback:ifAuthorized permission="continuum-modify-group" resource="${projectGroup.name}">
+                      <s:hidden name="projectGroupId"/>
                       <input type="button" name="delete-release-results" value="<s:text
name="delete"/>" onclick="document.forms.releaseResultsForm.submit();" />
                     </redback:ifAuthorized>
                   </td>



Mime
View raw message