anchor.diff:  
   <h3 class="o-box"><a href="graph/index.jsp">Resource Graphs</a></h3>
   <div class="boxWrapper">
  -
  -  <c:choose>
  -    <c:when test="${empty resources}">
  -      <p>No nodes are in the database or no nodes have RRD data</p>
  -    </c:when>
     
  -    <c:otherwise>
       	<script type="text/javascript">
       		Ext.onReady(function(){
       		  var combo = new OpenNMS.ux.NodePageableComboBox({
  
positive.code: <%@page language="java"
          contentType="text/html"
          session="true"
          import="
          org.opennms.web.svclayer.ResourceService,org.springframework.web.context.WebApplicationContext,org.springframework.web.context.support.WebApplicationContextUtils"
  %>
  <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  
  <%!
  
      public ResourceService m_resourceService;
  
  
  	public void init() throws ServletException {
  	    WebApplicationContext m_webAppContext = WebApplicationContextUtils.getRequiredWebApplicationContext(getServletContext());
          m_resourceService = (ResourceService) m_webAppContext.getBean("resourceService", ResourceService.class);
      }
  %>
  
  <%
      pageContext.setAttribute("resources", m_resourceService.findNodeResources());
  %>
  <script type="text/javascript" src="js/opennms/ux/ComboFilterBox.js" ></script>
  <script type="text/javascript" src="js/opennms/ux/NodePageableComboBox.js" ></script>
  <script type="text/javascript">
  
    function resetChooseResourceBoxSelected() {
      document.chooseResourceBoxNodeList.parentResource[0].selected = true;
    }
    
    function validateChooseResourceBoxNodeChosen() {
      var selectedParentResource = false
      
      for (i = 0; i < document.chooseResourceBoxNodeList.parentResource.length; i++) {
        // make sure something is checked before proceeding
        if (document.chooseResourceBoxNodeList.parentResource[i].selected
            && document.chooseResourceBoxNodeList.parentResource[i].value != "") {
          selectedParentResource = document.chooseResourceBoxNodeList.parentResource[i].value;
          break;
        }
      }
      
      return selectedParentResource;
    }
    
    function goChooseResourceBoxChange() {
      var nodeChosen = validateChooseResourceBoxNodeChosen();
      if (nodeChosen != false) {
        document.chooseResourceBoxForm.parentResource.value = nodeChosen;
        document.chooseResourceBoxForm.submit();
        /*
         * We reset the selection after submitting the form so if the user
         * uses the back button to get back to this page, it will be set at
         * the "choose a node" option.  Without this, they wouldn't be able
         * to proceed forward to the same node because won't trigger the
         * onChange action on the <select/> element.  We also do the submit
         * in a separate form after we copy the chosen value over, just to
         * ensure that no problems happen by resetting the selection
         * immediately after calling submit().
         */
        resetChooseResourceBoxSelected();
      }
    }
  
    function chooseResourceBoxChange(record){
  	window.location = "graph/chooseresource.htm?reports=all&parentResourceType=node&parentResource=" + record.data.id;
  
negative.code:     	  	});
      	</script>
      	<div id="node-combo"></div>
       
  </div>
  