<commit_before><%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ page import="java.util.*"%>
<%@ page import="org.LexGrid.concepts.Entity" %>
<%@ page import="gov.nih.nci.evs.browser.utils.*" %>
<%@ page import="gov.nih.nci.evs.browser.bean.*" %>


<%@ page import="gov.nih.nci.evs.browser.utils.DataUtils" %>
<%@ page import="gov.nih.nci.evs.browser.utils.HTTPUtils" %>

<%@ page import="gov.nih.nci.evs.browser.bean.MappingIteratorBean" %>
<%@ page import="gov.nih.nci.evs.browser.bean.MappingBean" %>
<%@ page import="gov.nih.nci.evs.browser.bean.MappingData" %>

<%@ page import="org.LexGrid.LexBIG.DataModel.Core.ResolvedConceptReference" %>
<%@ page import="org.LexGrid.LexBIG.Utility.Iterators.ResolvedConceptReferencesIterator" %>

<%@ page import="gov.nih.nci.evs.browser.bean.*" %>
<%@ page import="gov.nih.nci.evs.browser.utils.*" %>
<%@ page import="gov.nih.nci.evs.browser.properties.*" %>



<%
  String ncit_build_info = new DataUtils().getNCITBuildInfo();
  String application_version = new DataUtils().getApplicationVersion();
  String anthill_build_tag_built = new DataUtils().getNCITAnthillBuildTagBuilt();
  String evs_service_url = new DataUtils().getEVSServiceURL();
  
  String ncit_url = new DataUtils().getNCItURL();
  
  session = request.getSession(true);
  boolean readonly = false;
%>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:c="http://java.sun.com/jsp/jstl/core">
<head>
  <title>NCI EVS Concept Mapping Tool</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/css/styleSheet.css" />
  <link rel="shortcut icon" href="<%= request.getContextPath() %>/favicon.ico" type="image/x-icon" />
  <script type="text/javascript" src="<%= request.getContextPath() %>/js/script.js"></script>
  <script type="text/javascript" src="<%= request.getContextPath() %>/js/search.js"></script>
  <script type="text/javascript" src="<%= request.getContextPath() %>/js/dropdown.js"></script>
  
  
  <script type="text/javascript">
  
	function checkAll() {
	    var size = document.getElementById("size");
      	    var size_str = size.value;
	    var m = parseInt(size_str);
	    var i;
	    var j;
	    for (i=0; i<m; i++) {
	        var checkbox_size_name = "checkbox_size_" + i;
	        if (document.getElementById(checkbox_size_name) != null) {
			var checkbox_size_value = document.getElementById(checkbox_size_name).value;
			var n = parseInt(checkbox_size_value);
			for (j=0; j<n; j++) {
			   var checkbox_name = "checkbox" + "_" + i + "_" + j;
			   var checkbox = document.getElementById(checkbox_name);
			   if(checkbox != null) {
			   	checkbox.checked = 1;
			   } else {
			        alert("checkbox == null???");
			   }
			}
	        } 
	    }
	}

	function uncheckAll() {
	alert("uncheckAll");
	
	    var size = document.getElementById("size");
      	    var size_str = size.value;
	    var m = parseInt(size_str);
	    
alert("uncheckAll " + m);	    	    
	    
	    var i;
	    var j;
	    for (i=0; i<m; i++) {
	        var checkbox_size_name = "checkbox_size_" + i;
	        if (document.getElementById(checkbox_size_name) != null) {
			var checkbox_size_value = document.getElementById(checkbox_size_name).value;
			var n = parseInt(checkbox_size_value);
			for (j=0; j<n; j++) {
			   var checkbox_name = "checkbox" + "_" + i + "_" + j;
			   var checkbox = document.getElementById(checkbox_name);
			   if(checkbox != null) {
			       checkbox.checked = 0;
			   }
			}
	        }
	    }
	}
  
</script>  <commit_msg>checkAll & uncheckAll buttons [KLO, 032712]<commit_after><%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ page import="java.util.*"%>
<%@ page import="org.LexGrid.concepts.Entity" %>
<%@ page import="gov.nih.nci.evs.browser.utils.*" %>
<%@ page import="gov.nih.nci.evs.browser.bean.*" %>


<%@ page import="gov.nih.nci.evs.browser.utils.DataUtils" %>
<%@ page import="gov.nih.nci.evs.browser.utils.HTTPUtils" %>

<%@ page import="gov.nih.nci.evs.browser.bean.MappingIteratorBean" %>
<%@ page import="gov.nih.nci.evs.browser.bean.MappingBean" %>
<%@ page import="gov.nih.nci.evs.browser.bean.MappingData" %>

<%@ page import="org.LexGrid.LexBIG.DataModel.Core.ResolvedConceptReference" %>
<%@ page import="org.LexGrid.LexBIG.Utility.Iterators.ResolvedConceptReferencesIterator" %>

<%@ page import="gov.nih.nci.evs.browser.bean.*" %>
<%@ page import="gov.nih.nci.evs.browser.utils.*" %>
<%@ page import="gov.nih.nci.evs.browser.properties.*" %>



<%
  String ncit_build_info = new DataUtils().getNCITBuildInfo();
  String application_version = new DataUtils().getApplicationVersion();
  String anthill_build_tag_built = new DataUtils().getNCITAnthillBuildTagBuilt();
  String evs_service_url = new DataUtils().getEVSServiceURL();
  
  String ncit_url = new DataUtils().getNCItURL();
  
  session = request.getSession(true);
  boolean readonly = false;
%>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:c="http://java.sun.com/jsp/jstl/core">
<head>
  <title>NCI EVS Concept Mapping Tool</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/css/styleSheet.css" />
  <link rel="shortcut icon" href="<%= request.getContextPath() %>/favicon.ico" type="image/x-icon" />
  <script type="text/javascript" src="<%= request.getContextPath() %>/js/script.js"></script>
  <script type="text/javascript" src="<%= request.getContextPath() %>/js/search.js"></script>
  <script type="text/javascript" src="<%= request.getContextPath() %>/js/dropdown.js"></script>
  
  
  <script type="text/javascript">
  
	function checkAll() {
	    var size = document.getElementById("size");
      	    var size_str = size.value;
	    var m = parseInt(size_str);
	    var i;
	    var j;
	    for (i=0; i<m; i++) {
	        var checkbox_size_name = "checkbox_size_" + i;
	        if (document.getElementById(checkbox_size_name) != null) {
			var checkbox_size_value = document.getElementById(checkbox_size_name).value;
			var n = parseInt(checkbox_size_value);
			for (j=0; j<n; j++) {
			   var checkbox_name = "checkbox" + "_" + i + "_" + j;
			   var checkbox = document.getElementById(checkbox_name);
			   if(checkbox != null) {
			   	checkbox.checked = 1;
			   } 
			}
	        } 
	    }
	}

	function uncheckAll() {
	    var size = document.getElementById("size");
      	    var size_str = size.value;
	    var m = parseInt(size_str);
	    var i;
	    var j;
	    for (i=0; i<m; i++) {
	        var checkbox_size_name = "checkbox_size_" + i;
	        if (document.getElementById(checkbox_size_name) != null) {
			var checkbox_size_value = document.getElementById(checkbox_size_name).value;
			var n = parseInt(checkbox_size_value);
			for (j=0; j<n; j++) {
			   var checkbox_name = "checkbox" + "_" + i + "_" + j;
			   var checkbox = document.getElementById(checkbox_name);
			   if(checkbox != null) {
			   	checkbox.checked = 0;
			   } 
			}
	        } 
	    }
	}
  
</script>  
{'fraction_non_alphanumeric': 0.1808850973073847, 'fraction_numerical': 0.005598507064782724, 'mean_word_length': 3.674766355140187, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1459099', 'n_tokens_mistral': 2876, 'n_tokens_neox': 2596, 'n_words': 432}