anchor.diff:          
           <script type="text/javascript">
           <!--
  -        initConstraintForm(document.mainForm);
  +        initConstraintForm(0, document.mainForm.attributeOp, document.mainForm.attributeOptions, document.mainForm.attributeValue);
           //-->
           </script>
           </div>
  
positive.code:         <!--
          
          var fixedOps = new Array();
          
          <c:forEach items="${fixedOptionsOps}" var="op" varStatus="status">
            fixedOps[${status.count}] = "<c:out value="${op}"/>";
          </c:forEach>
          
         
          /***********************************************************
           * Called when user chooses a constraint operator. If the
           * user picks an operator contained in fixedOptionsOps then
           * the input box is hidden and the user can only choose
           **********************************************************/
          function updateConstraintForm(form)
          {
            if (form.attributeOptions == null)
              return;
          
            for (var i=0 ; i<fixedOps.length ; i++)
            {
              if (form.attributeOp.value == fixedOps[i])
              {
                document.getElementById("operandEditSpan").style.display="none";
                //form.attributeValue.style.visibility='hidden';
                form.attributeValue.value = form.attributeOptions.value; // constrain value
                return;
              }
            }
            
            document.getElementById("operandEditSpan").style.display="";
            //form.attributeValue.style.visibility='visible';
          }
          
          /***********************************************************
           * Init attribute value with selected item and hide input box if
           * required
           **********************************************************/
          function initConstraintForm(form)
          {
            if (form.attributeOptions == null)
              return;
            
            form.attributeValue.value = form.attributeOptions.value;
            updateConstraintForm(form);
          }
          
          //-->
          </script>
  
negative.code:                         </html:select>
                        </td>
                        <td valign="top" align="center">
                          <span id="operandEditSpan0">
                            <html:text property="attributeValue"/><br/>
                            <%-- might want to show up arrow --%>
                            <c:if test="${!empty attributeOptions}">
  