anchor.diff:        recordCurrentConstraintsOrder();
     });
   
  -    function codeGenTemplate(method) {
  -        jQuery('#actionType').val(method);
  -        jquery('#templateForm').submit();
  -    }
  -
   </script>
   </c:if>
  +
   <c:choose>
   <c:when test="${!empty templateQuery}">
   <%-- object trail --%>
  
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>
  