anchor.diff:    
     function addFiletypePattern(filetypeId, newPatternId)
     {
  -     var f = document.getElementById('filetypeForm');
  -     
  -     f.action = "${addFiletypePatternUrl}";
  -     f['pattern'].value = document.getElementById(newPatternId).value;
  -     f['fileTypeId'].value = filetypeId;
  +     var f = document.forms['filetypeForm'];
  +          
  +     f.action = "${addFiletypePatternUrl}";     
  +     f.elements['pattern'].value = document.getElementById(newPatternId).value;
  +     f.elements['fileTypeId'].value = filetypeId;
        f.submit();
     }
   //-->
  
positive.code:               <c:set var="bgcolor" value="odd" scope="page" />
              </c:otherwise>
            </c:choose>
            
            <c:set var="escapedPattern" value="${fn:escapeXml(pattern)}" scope="page" />
            
            <tr>
  
negative.code: 
      <ww:url id="addFiletypePatternUrl" action="repositoryScanning" method="addFiletypePattern" />
  
      <c:forEach items="${fileTypeIds}" var="filetypeId" varStatus="j">
  
        <div class="filetype">
  
  