anchor.diff:              </td>
               <td class="controls ${bgcolor}">
                 <s:a href="#" title="Remove [%{#attr.escapedPattern}] Pattern from [%{#attr.filetypeId}]"
  -                    onclick="removeFiletypePattern( '%{#attr.filetypeId}', '%{#attr.escapedPattern}' )"
  +                    onclick="removeFiletypePattern( '%{#attr.removeFiletypePatternUrl}', '%{#attr.filetypeId}', '%{#attr.escapedPattern}' )" 
                       theme="simple">
                   <img src="${iconDeleteUrl}" />
                 </s:a>
  
positive.code:           <td>
              <s:a href="#" 
                    title="Add Pattern to [%{#attr.filetypeId}]"
                    onclick="addFiletypePattern( '%{#attr.filetypeId}', 'newpattern_%{#attr.j.index}' )"
                    theme="simple">
                <img src="${iconCreateUrl}" />
              </s:a>
  
negative.code:    
  <script type="text/javascript">
  <!--
    function removeFiletypePattern(action, filetypeId, pattern)
    {
       var f = document.getElementById('filetypeForm');
       
       f.action = action;
       f['pattern'].value = pattern;
       f['fileTypeId'].value = filetypeId;
       f.submit();
    }
    
    function addFiletypePattern(action, filetypeId, newPatternId)
    {
       var f = document.forms['filetypeForm'];
            
       f.action = action;
       f.elements['pattern'].value = document.getElementById(newPatternId).value;
       f.elements['fileTypeId'].value = filetypeId;
       f.submit();
  