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:             <%--Contained in bag:--%>
              <html:select property="bagOp(${index})" disabled="true">
                <c:forEach items="${dec.bagOps}" var="bagOp">
                  <option value="${bagOp.property}" <c:if test="${!empty dec.bagSelected && dec.selectedOp.property == bagOp.property}">selected</c:if>>
                    <c:out value="${bagOp.label}" />
                  </option>
                </c:forEach>
  
negative.code: </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>
  