anchor.diff:  </c:if>
   </html:form>
   
  +<script language="javascript">
  +    function getWebserviceUrl() {
  +        jQuery('#actionType').val("webserviceURL");
  +        var data = jQuery('#templateForm').serialize();
  +        var url = "<html:rewrite page='/templateAction.do'/>";
  +        var callback = function(data) {
  +            jQuery('div.popup').show().find('input').val(data).select();
  +        };
  +        jQuery.get(url, data, callback, "text");
  +        return false;
  +    }
  +</script>
  +
   <div class="templateActions">
   <table>
     <tr>
  
positive.code:         <%-- constraint list --%>
              <c:forEach items="${dcl}" var="dec" >
                  <c:set var="index" value="${index+1}"/>
                  <li id="constraintElement${index}_${index}">
                  <%-- builder=yes means we are in template preview --%>
                  <c:if test="${!empty builder && builder=='yes'}">
  
negative.code:       <a href="${webserviceLink}" title="Results from template queries can be embedded in other web pages">< embed results /></a>
      </td>
      <td>
        <div class="heading" style="border:none">
            <a id="permalink" style="text-decoration:none;font-size:11px" target="new" href="javascript:getWebserviceUrl();"
      title="Get a URL to run this template from the command line or a script">web service URL</a>
      <div class="popup" style="display:none;">
        <span class="close" onclick="jQuery('div.popup').hide();return false;"></span>
      <p style="width:80%;">Use the URL below to fetch results for this template from the command line or a script:</p>
      <input type="text" value="None">
      </div>
    </div>
      </td>
      <td>
        <c:choose>
  