anchor.diff:    <a href="javascript:hideMenu('tool_bar_item_export')" >Cancel</a>
   </div>
   <div id="tool_bar_item_use" style="visibility:hidden" class="tool_bar_item">
  -    <a href="javascript:go('query');">in a query</a><br/>
  -    <input type="hidden" name="useBagInQuery" />
  +    <a href="javascript:useBag('query');">in a query</a><br/>
  +    
     <html:link action="/templates">in a template</html:link>
     <hr/>
       <a href="javascript:hideMenu('tool_bar_item_use')" >Cancel</a>
   </div>
  -</html:form>
   </TD>
   </TR>
   <TR>
  
positive.code:       var modifyDetailsURL = '<html:rewrite action="/modifyDetails"/>';
        var detailsType = 'bag';
  
    function go(where) {
      if (where == "query"):
          document.modifyBagDetailsForm.useBagInQuery.value = 'true';
      }    
      document.modifyBagDetailsForm.submit();
  
negative.code:      <tiles:put name="idname" value="cp" />
       <tiles:put name="orientation" value="h" />
  </tiles:insert>
  <input type="hidden" name="useBagInQuery" />
  </html:form>
  </p>
  </div>
  