anchor.diff:              </c:forEach>
             </select>
           
  +          <c:set var="num" value="${num + 1}"/>
           </c:forEach>
         
           <br/>
           <br/>
  -<!--      <input type="button" value="Submit" onclick="submitForm()" /> -->
  -        <input type="submit" value="Submit"/>
  +        <input type="button" value="Submit" onclick="submitForm(document.report.resourceId, document.report, 'resource')" />
  +        <input type="button" value="Select All" onclick="selectAll('resourceId', true)" />
  +        <input type="button" value="Unselect All" onclick="selectAll('resourceId', false)" />
         </form>
         
   	</c:otherwise>
  
positive.code:       <form method="GET" name="report" action="${model.endUrl}">
          <%=Util.makeHiddenTags(request, new String[] { "parentResourceType", "parentResource", "endUrl"})%>
    
          <c:forEach var="resourceType" items="${model.resourceTypes}">
        
            <h3>${resourceType.key.label}</h3>
  
            <c:choose>
  
negative.code:             </c:otherwise>
            </c:choose>
          
            <select name="resourceId" id="resource-select-${num}" size="${selectSize}" multiple>
              <c:forEach var="resource" items="${resourceType.value}">
                <option value="${resource.resourceId}">
                  ${resource.label}
  