<commit_before><%@ include file="/common/taglibs.jsp"%>

<head>
	<title>Widget tests</title>
	<jwr:script src='/scripts/ajax/ext/data/DwrProxy.js' />
	
	<jwr:script src='/scripts/app/AnalysisResultsSearch.js' />

	<script>
	Ext.namespace('Gemma');
	Ext.BLANK_IMAGE_URL = '/Gemma/images/default/s.gif';
	Ext.state.Manager.setProvider(new Ext.state.CookieProvider());

	Ext.onReady( function() {
		Ext.QuickTips.init();
		 /*
		var k = new Gemma.ExpressionExperimentPage( {
			renderTo : 'eepage',
			eeId: '2763'
		});*/
		var k = new Gemma.GenePage( {
			renderTo : 'eepage',
			geneId: '57347' // for testing
		});
		/*
		k = new Gemma.DatasetGroupCombo( {
			renderTo : 'eesetcombo'
		});

		k = new Gemma.DatasetGroupComboPanel( {
			renderTo : 'eesetpanel'
		});

		k = new Gemma.DatasetSearchField( {
			renderTo : 'datasetsearchfield',
			taxon : {
				id : 1
			},
			initQuery : "liver"
		});

		k.on('aftersearch', function(f, results) {
			Ext.DomHelper.overwrite('dsresults', results.length + " found.");
		});

		k = new Gemma.GeneCombo( {
			renderTo : 'genecombo'
		});
		
		k = new Gemma.GeneGroupCombo({
			renderTo : 'genegroupcombo'
		});
		
		k = new Gemma.TaxonCombo( {<commit_msg>bug 2886 - uncomment widgets on widget test page<commit_after><%@ include file="/common/taglibs.jsp"%>

<head>
	<title>Widget tests</title>
	<jwr:script src='/scripts/ajax/ext/data/DwrProxy.js' />
	
	<jwr:script src='/scripts/app/AnalysisResultsSearch.js' />

	<script>
	Ext.namespace('Gemma');
	Ext.BLANK_IMAGE_URL = '/Gemma/images/default/s.gif';
	Ext.state.Manager.setProvider(new Ext.state.CookieProvider());

	Ext.onReady( function() {
		Ext.QuickTips.init();

		
		var k = new Gemma.DatasetGroupCombo( {
			renderTo : 'eesetcombo'
		});
		
		 
		/*var k = new Gemma.ExpressionExperimentPage( {
			renderTo : 'eepage',
			eeId: '2763'
		});*/

		k = new Gemma.DatasetGroupComboPanel( {
			renderTo : 'eesetpanel'
		});

		k = new Gemma.DatasetSearchField( {
			renderTo : 'datasetsearchfield',
			taxon : {
				id : 1
			},
			initQuery : "liver"
		});

		k.on('aftersearch', function(f, results) {
			Ext.DomHelper.overwrite('dsresults', results.length + " found.");
		});

		k = new Gemma.GeneCombo( {
			renderTo : 'genecombo'
		});
		
		k = new Gemma.GeneGroupCombo({
			renderTo : 'genegroupcombo'
		});
		
		k = new Gemma.TaxonCombo( {
{'fraction_non_alphanumeric': 0.16915210907541542, 'fraction_numerical': 0.008095440988495952, 'mean_word_length': 3.3643122676579926, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '5627163', 'n_tokens_mistral': 1017, 'n_tokens_neox': 883, 'n_words': 150}