anchor.diff:        f.elements[id].value = value;
         f.submit();
       }
  +
  +    function submitForm( action )
  +    {
  +      var f = document.forms['saveProxyConnector'];
  +
  +      f.action = action;
  +      f.submit();
  +    }
  +
  +    function submitenter( e, action )
  +    {
  +      var keycode;
  +
  +      if (window.event)
  +      {
  +        keycode = window.event.keyCode;
  +      }
  +      else if (e)
  +      {
  +          keycode = e.which;
  +      }
  +      else
  +      {
  +        return true;
  +      }
  +
  +      if (keycode == 13)
  +      {
  +         submitForm( action );
  +         return false;
  +      }
  +      else
  +      {
  +         return true;
  +      }
  +    }
  +
       //-->
     </script>
   
  
positive.code:         <label for="whiteListEntry">White List:</label>
        </td>
        <td>
          <ww:textfield name="whiteListPattern" size="30" id="whiteListEntry" theme="simple" />
          <ww:submit name="action:editProxyConnector!addWhiteListPattern" value="Add Pattern" theme="simple" />
        </td>
      </tr>
  
negative.code:         <label for="blackListEntry">Black List:</label>
        </td>
        <td>
          <ww:textfield name="blackListPattern" size="30" id="blackListEntry" theme="simple"
              onkeypress="submitenter(event, 'editProxyConnector!addBlackListPattern.action')"/>
          <ww:submit name="action:editProxyConnector!addBlackListPattern" value="Add Pattern" theme="simple" />
        </td>
      </tr>
  