anchor.diff:      <ec:row highlightRow="true">
   
         <%-- needed to access project in included pages --%>
  -      <c:set var="project" value="${pageScope.project}" scope="request"/>
  +      <s:set var="project" value="#attr['project']" scope="request"/>
   
         <%-- placed here for reusability --%>
  -      <c:set var="projectIdle" value="${!project.inBuildingQueue and ( ( ( project.state gt 0 ) and ( project.state lt 5 ) ) or project.state == 7 or project.state gt 8 ) }" scope="request"/>
  +      <s:set var="projectIdle" value="!#attr['project'].inBuildingQueue && (#attr['project'].state in {1, 2, 3, 4, 7} || #attr['project'].state > 8)" scope="request"/>
   
         <redback:ifAuthorized permission="continuum-modify-group" resource="${projectGroupName}">
           <ec:column alias="selectedProjects" title=" " style="width:5px" filterable="false" sortable="false" width="1%" headerCell="selectAll">
  
positive.code:       <ec:column property="state" title="&nbsp;" width="1%" cell="org.apache.maven.continuum.web.view.StateCell"/>
        <ec:column property="name" title="summary.projectTable.name" width="50%">
          <s:url id="projectUrl" action="projectView" namespace="/" includeParams="none">
            <s:param name="projectId"><c:out value="${project.id}"/></s:param>
          </s:url>
          <s:a href="%{projectUrl}"><c:out value="${pageScope.project.name}"/></s:a>
        </ec:column>
        <ec:column property="version" title="summary.projectTable.version" width="12%"/>
        <ec:column property="buildNumber" title="summary.projectTable.build" width="2%" style="text-align: center">
          <c:choose>
            <c:when test="${project.buildNumber gt 0 && project.buildInSuccessId gt 0}">
              <redback:ifAuthorized permission="continuum-view-group" resource="${projectGroupName}">
                <s:url id="buildResult" action="buildResult">
                  <s:param name="projecGroupId"><c:out value="${project.projectGroupId}"/></s:param>
                  <s:param name="projectId"><c:out value="${project.id}"/></s:param>
                  <s:param name="projectName"><c:out value="${project.name}"/></s:param>
                  <s:param name="buildId"><c:out value="${project.buildInSuccessId}"/></s:param>
                </s:url>
                <s:a href="%{buildResult}"><c:out value="${project.buildNumber}"/></s:a>
              </redback:ifAuthorized>
              <redback:elseAuthorized>
                <c:out value="${project.buildNumber}"/>
              </redback:elseAuthorized>
            </c:when>
            <c:when test="${project.buildNumber gt 0 && project.buildInSuccessId lt 0}">
                <c:out value="${project.buildNumber}"/>
            </c:when>
            <c:otherwise>
              &nbsp;
            </c:otherwise>
          </c:choose>
        </ec:column>
        <ec:column property="lastBuildDateTime" title="summary.projectTable.lastBuildDateTime" width="30%" cell="date"/>
        <ec:column property="buildNowAction" title="&nbsp;" width="1%">
          <c:choose>
            <c:when test="${project.inBuildingQueue}">
              <img src="<s:url value='/images/inqueue.gif' includeParams="none"/>" alt="<s:text name="legend.queuedBuild"/>" title="<s:text name="legend.queuedBuild"/>" border="0">
            </c:when>
            <c:otherwise>
              <redback:ifAuthorized permission="continuum-build-group" resource="${projectGroupName}">
                <c:choose>
                  <c:when test="${projectIdle}">
                    <s:url id="buildProjectUrl" action="buildProject" namespace="/" includeParams="none">
                      <s:param name="projectId"><c:out value="${project.id}"/></s:param>
                      <s:param name="projectGroupId"><c:out value="${project.projectGroupId}"/></s:param>
                      <s:param name="fromGroupPage" value="true"/>
                    </s:url>
                    <s:a href="%{buildProjectUrl}">
                      <img src="<s:url value='/images/buildnow.gif' includeParams="none"/>" alt="<s:text name="legend.buildNow"/>" title="<s:text name="legend.buildNow"/>" border="0">
                    </s:a>
                  </c:when>
                  <c:otherwise>
                    <s:url id="cancelBuildProjectUrl" action="cancelBuild" namespace="/" includeParams="none">
                      <s:param name="projectId"><c:out value="${project.id}"/></s:param>
                      <s:param name="projectGroupId"><c:out value="${project.projectGroupId}"/></s:param>
                    </s:url>
                    <c:choose>
                      <c:when test="${project.state != 8}">
                        <s:a href="%{cancelBuildProjectUrl}">
                          <img src="<s:url value='/images/cancelbuild.gif' includeParams="none"/>" alt="<s:text name="legend.cancelBuild"/>" title="<s:text name="legend.cancelBuild"/>" border="0">
                        </s:a>
                      </c:when>
                      <c:otherwise>
                        <img src="<s:url value='/images/cancelbuild_disabled.gif' includeParams="none"/>" alt="<s:text name="legend.cancelBuild"/>" title="<s:text name="legend.cancelBuild"/>" border="0">
                      </c:otherwise>
                    </c:choose>
                  </c:otherwise>
                </c:choose>
              </redback:ifAuthorized>
              <redback:elseAuthorized>
                <c:choose>
                  <c:when test="${projectIdle}">
                    <img src="<s:url value='/images/buildnow_disabled.gif' includeParams="none"/>" alt="<s:text name="legend.buildNow"/>" title="<s:text name="legend.buildNow"/>" border="0">
                  </c:when>
                  <c:otherwise>
                    <img src="<s:url value='/images/cancelbuild_disabled.gif' includeParams="none"/>" alt="<s:text name="legend.cancelBuild"/>" title="<s:text name="legend.cancelBuild"/>" border="0">
                  </c:otherwise>
                </c:choose>
              </redback:elseAuthorized>
            </c:otherwise>
          </c:choose>
        </ec:column>
        <ec:column property="buildHistoryAction" title="&nbsp;" width="1%">
          <redback:ifAuthorized permission="continuum-view-group" resource="${projectGroupName}">
          <c:choose>
            <c:when test="${pageScope.project.latestBuildId > 0}">
              <s:url id="buildResultsUrl" action="buildResults" namespace="/">
                <s:param name="projectId"><c:out value="${project.id}"/></s:param>
                <s:param name="projectName"><c:out value="${project.name}"/></s:param>
              </s:url>
              <s:a href="%{buildResultsUrl}"><img src="<s:url value='/images/buildhistory.gif' includeParams="none"/>" alt="<s:text name="legend.buildHistory"/>" title="<s:text name="legend.buildHistory"/>" border="0"></s:a>
            </c:when>
            <c:otherwise>
              <img src="<s:url value='/images/buildhistory_disabled.gif' includeParams="none"/>" alt="<s:text name="legend.buildHistory"/>" title="<s:text name="legend.buildHistory"/>" border="0">
            </c:otherwise>
          </c:choose>
          </redback:ifAuthorized>
          <redback:elseAuthorized>
            <img src="<s:url value='/images/buildhistory_disabled.gif' includeParams="none"/>" alt="<s:text name="legend.buildHistory"/>" title="<s:text name="legend.buildHistory"/>" border="0">
  
negative.code:       </ec:column>
        <ec:column property="deleteAction" title="&nbsp;" width="1%" sortable="false">
          <redback:ifAuthorized permission="continuum-modify-group" resource="${projectGroupName}">
            <s:if test="#attr['projectIdle']">
              <s:set var="tname" value="'delProjectToken' + #attr['project'].id" scope="page"/>
              <s:token name="%{#attr['tname']}"/>
              <s:url id="deleteProjectUrl" action="deleteProject_default" namespace="/">
                <s:param name="projectId" value="#attr['project'].id"/>
                <s:param name="struts.token.name" value="#attr['tname']"/>
                <s:param name="%{#attr['tname']}" value="#session['struts.tokens.' + #attr['tname']]"/>
              </s:url>
              <s:a href="%{deleteProjectUrl}">
                <img src="<s:url value='/images/delete.gif' includeParams="none"/>" alt="<s:text name="delete"/>" title="<s:text name="delete"/>" border="0">
              </s:a>
            </s:if>
            <s:else>
              <img src="<s:url value='/images/delete_disabled.gif' includeParams="none"/>" alt="<s:text name="delete"/>" title="<s:text name="delete"/>" border="0">
            </s:else>
          </redback:ifAuthorized>
          <redback:elseAuthorized>
            <img src="<s:url value='/images/delete_disabled.gif' includeParams="none"/>" alt="<s:text name="delete"/>" title="<s:text name="delete"/>" border="0">
  