[Bio] / FigWebPages / TestForms.html Repository:
ViewVC logotype

View of /FigWebPages/TestForms.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.34 - (download) (as text) (annotate)
Thu Dec 6 14:22:52 2007 UTC (11 years, 10 months ago) by parrello
Branch: MAIN
CVS Tags: rast_rel_2014_0912, rast_rel_2008_06_18, rast_rel_2008_06_16, rast_rel_2008_07_21, rast_rel_2010_0928, rast_2008_0924, rast_rel_2008_09_30, rast_rel_2010_0526, rast_rel_2014_0729, rast_rel_2009_05_18, rast_rel_2009_0925, rast_rel_2010_1206, rast_rel_2010_0118, rast_rel_2009_02_05, rast_rel_2011_0119, rast_rel_2008_12_18, rast_rel_2008_10_09, rast_release_2008_09_29, rast_rel_2008_04_23, rast_rel_2008_08_07, rast_rel_2009_07_09, rast_rel_2010_0827, myrast_33, rast_rel_2011_0928, rast_rel_2008_09_29, rast_rel_2008_10_29, rast_rel_2009_03_26, rast_rel_2008_11_24, HEAD
Changes since 1.33: +3 -4 lines
Fixed links to point to anno-2. Removed obsolete helpers.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FIG Test Forms</title>
<link href="Html/Georgia.css" rel="stylesheet" type="text/css">
</head>

<body>
	<form action="SproutScript.cgi" method="post" name="ExecScript" target="mainFrame" id="GetForm">
	<h3 align="center">Script Form</h3>
	<p align="left">Enter a PERL script in the text box and select a return type. The script should evaluate to a scalar, but the scalar may be a type of reference. If the script is successful, the return value will
	be displayed using the specified type.</p>
	<table width="350"  border="0" cellspacing="2" cellpadding="2" align="center">
	<tr><td width="45" valign="middle">
	Return Type:
	</td>
	<td width="140" valign="middle">
	  <select name="ReturnType" id="ReturnType">
		<option value="$" selected>scalar ($)</option>
		<option value="$%">hash ($%)</option>
		<option value="$@">list ($@)</option>
		<option value="$%@">hash of lists ($%@)</option>
		<option value="$@@">list of lists ($@@)</option>
		<option value="$@%">list of hashes ($@%</option>
	  </select></td>
	  <td width="159"><input type="submit" value="RUN">
	  </td></tr>
				<tr>
				  <td width="45">Trace Level: </td>
				  <td colspan="2"><select name="Trace" id="Trace">
					<option value="0">0 - Errors</option>
					<option value="1">1 - Warnings</option>
					<option value="2" selected>2 - Notices</option>
					<option value="3">3 - Information</option>
					<option value="4">4 - Details</option>
				  </select></td>
				</tr>
				<tr>
				  <td width="45">Trace Modules </td>
				  <td colspan="2"><input name="Packages" type="text" id="Packages" size="45"></td>
				</tr>
				<tr>
					<td width="45">Subsys</td>
					<td colspan="2"><select name="SubsystemName" id="SubsystemName">
						<option value="" selected>(none)</option>
						<TMPL_VAR NAME=subsystems>
					</select></td>
				</tr>
	  		<tr>
	  			<td width="45" valign="middle">Script Code </td>
	  			<td valign="middle" colspan="2"><textarea name="ScriptCode" cols="33" rows="15"></textarea></td>
				</tr>
				<tr>
					<td colspan="3"><TMPL_VAR NAME=Sprout><code>$fig</code> is a FIG object. <code>$cgi</code> is
						a CGI object. If a subsystem is chosen, <code>$figSub</code> will be the
						FIG subsystem object<TMPL_VAR NAME=SproutSubsys>.
					</td>
				</tr>
	</table>
	</form>
	<p>&nbsp;</p>
	<form action="SproutGet.cgi" method="post" name="GetForm" target="mainFrame" id="GetForm">
	  	<h3 align="center">Query Form</h3>
		<p align="left" class="expo">Fields requiring multiple values (shown in <strong>bold</strong>) should be comma-separated. Use $1, $2, ... $9 as a shorthand in <em>Filter </em>and <em>Fields</em> to represent the first through ninth object names. A <em>Count</em> of 0 returns all records found. </p>
	<table width="350"  border="0" cellspacing="2" cellpadding="2" align="center">
	<tr>
		<td>Module</td>
		<td colspan="4"><select name="Module" id="Module">
		<option>CustomAttributes</option>
		<option selected>Sprout</option>
		</select></td>
	</tr>
	<tr>
		<td width="45"><strong>Objects</strong></td>
		<td colspan="4"><input name="Objects" type="text" id="Objects" value="" size="45"></td>
	</tr>
	<tr>
		<td width="45">Filter</td>
		<td colspan="4"><textarea name="Filter" cols="33" rows="3" id="Filter"></textarea></td>
	</tr>
	<tr>
		<td width="45"><strong>Params</strong></td>
		<td colspan="4"><input name="Parameters" type="text" id="Parameters" value="" size="45"></td>
	</tr>
	<tr>
		<td width="45"><strong>Fields</strong></td>
		<td colspan="4"><textarea name="FieldList" cols="33" rows="3" id="FieldList"></textarea></td>
	</tr>
	<tr>
		<td width="45">Count</td>
		<td><input name="RowCount" type="text" id="RowCount" value="0" size="6"></td>
		<td width="45">Tracing</td>
		<td><select name="Trace" id="Trace">
		<option value="0">0 - Errors</option>
		<option value="1">1 - Warnings</option>
		<option value="2" selected>2 - Notices</option>
		<option value="3">3 - Information</option>
		<option value="4">4 - Details</option>
		</select>
		<input name="Packages" type="hidden" id="Packages" value="SQL Sprout DBQuery DBObject"></td>
		<td>
		<input name="Submit" type="submit" value="Submit">
		</td>
	</tr>
	</table>
	</form>
<p>&nbsp;</p>
	<form action="FigSQL.cgi" method="post" name="FigForm" target="mainFrame" id="FigForm">
		<h3 align="center">FIG Query Form</h3>
		<p align="left" class="expo">Only columns from the selected table will be shown.
			A Count of 0 returns all rows.</p>
	<table width="350"  border="0" cellspacing="2" cellpadding="2" align="center">
	<tr>
		<td width="45">Table</td>
			<td><select name="TableName" id="TableName">
			<TMPL_VAR NAME=FigTables>
			</select></td>
	</tr>
	<tr>
		<td width="45">WHERE</td>
		<td colspan="4"><textarea name="Filter" cols="33" rows="3" id="Filter"></textarea></td>
	</tr>
	<tr>
		<td width="45">Count</td>
		<td><input name="RowCount" type="text" id="RowCount" value="30" size="6"></td>
		<td colspan="3" align="center"><input name="Submit" type="submit" value="Submit"></td>
	</tr>
	</table>
	</form>
<p>&nbsp;</p>
	<form action="ShowTableFile.cgi" method="post" Name="FileForm" target="mainFrame" id="FileForm">
		<h3 align="center">Display TBL File</h3>
		<table width="350" border="0" cellspacing="2" cellpadding="2" align="center">
		  <tr>
			<td width="45">File Name</td>
			<td><input name="fileName" type="text" id="Packages" size="45"></td>
		  </tr>
		  <tr>
			<td>&nbsp;</td>
			<td align="center"><input name="ShowFile" type="submit" id="ShowFile" value="Show" /></td>
		  </tr>
		</table>
	</form>
<p>&nbsp;</p>
	<form action="Emergency.cgi" method="post" Name="EmergencyForm" target="mainFrame" id="EmergencyForm">
		<h3 align="center">Emergency Tracing</h3>
		<table width="350" border="0" cellspacing="2" cellpadding="2" align="center">
		  <tr>
			<td width="45">Trace Level: </td>
			<td ><select name="Level" id="Trace">
				<option value="0">0 - Errors</option>
				<option value="1">1 - Warnings</option>
				<option value="2">2 - Notices</option>
				<option value="3" selected>3 - Information</option>
				<option value="4">4 - Details</option>
			  </select></td>
		  </tr>
		  <tr>
			<td width="45">Tracing Modules</td>
			<td>
			    <table border="0">
				<tr><td><input name="Packages" type="checkbox" title="SQL statements" value="SQL" /></td><td>SQL</td>
				    <td><input name="Packages" type="checkbox" title="SQL table and index loads" value="Load" /></td><td>Load</td>
				    <td><input name="Packages" type="checkbox" value="nsims" title="requests to the sims server" /></td><td>nsims</td></tr>
				<tr><td><input name="Packages" type="checkbox" value="CGI" title="CGI query parameters" /></td><td>CGI</td>
				    <td><input name="Packages" type="checkbox" value="ERDB" title="ERDB package" /></td><td>ERDB</td>
				    <td><input name="Packages" type="checkbox" value="Sprout" title="Sprout package" /></td><td>Sprout</td></tr>
				<tr><td><input name="Packages" type="checkbox" value="nbbh" title="requests to the BBH server" /></td><td>nbbh</td>
				    <td><input name="Packages" type="checkbox" value="FIG" title="FIG object methods" /></td><td>FIG</td>
				    <td><input name="Packages" type="checkbox" title="file operations" value="File" /></td><td>File</td></tr>
				<tr><td colspan="6"><input name="Packages" type="text" id="Packages" size="40"></td></tr>
			    </table>
			</td>
		  </tr>
		  <tr>
			<td width="45">Dest</td>
			<td><select name="TType">
			  <option value="WARN">Server Error Log</option>
			  <option value="FILE" selected>Temporary File (overwrite)</option>
			  <option value="APPEND">Temporary File (append)</option>
			  </select>
			</td>
		  </tr>
		  <tr>
			<td width="45">Duration</td>
			<td><select name="Hours">
				<option value="1">1 hour</option>
				<option value="2">2 hours</option>
				<option value="3">3 hours</option>
				<option value="4" selected>4 hours</option>
				<option value="8">8 hours</option>
				<option value="24">24 hours</option>
                                <option value="8760">1 year</option>
			    </select>
			</td>
		  </tr>
		  <tr>
			<td width="45">Key</td>
			<td><TMPL_VAR name=address></td>
		  </tr>
		  <tr>
			<td width="45">&nbsp;</td>
			<td align="center">
			 <input name="Activate" type="submit" id="Activate" value="Activate" />&nbsp;&nbsp;
			 <input name="Terminate" type="submit" id="Terminate" value="Terminate" />
			</td>
		  </tr>
		  <tr>
			<td width="45">File Show</td>
			<td><select name="TimeSlice">
				<option value="0">Entire File</option>
				<option value="-5">Last 5 minutes</option>
				<option value="-10" selected>Last 10 minutes</option>
				<option value="-20">Last 20 minutes</option>
				<option value="-60">Last hour</option>
			    </select>&nbsp;
			    <input name="ShowFile" type="submit" id="ShowFile" value="Show" />
			</td>
		  </tr>
		</table>
	</form>
	<p>&nbsp;</p>
	<h3 align="center">Code Templates</h3>
        <ul>
        <li><a href="Html/Helpers/SproutScript-pl.html" target="mainFrame">Sprout Command-line Script</a></li>
        <li><a href="Html/Helpers/FigModule-pm.html" target="mainFrame">Package Module</a></li>
        <li><a href="Html/Helpers/SearchHelper-pm.html" target="mainFrame">NMPDR Search Helper</a></li>
        <li><a href="Html/Helpers/WebPage-pm.html" target="mainFrame">WebApplication Page</a></li>
        <li><a href="Html/Method.html" target="mainFrame">Method Generator</a></li>
        </ul>
	<p>&nbsp;</p>
	<h3 align="center">Useful Links</h3>
	<ul>
	<li><a href="Html/pod_docs/Tracer.html#tracing" target="mainFrame">Tracing Help</a></li>
	<li><a href="http://www.figresearch.com/nmpdr_news/" target="mainFrame">NMPDR Development Blog</a></li>
	<li><a href="http://login.conservativecat.com" target="mainFrame">Blog Login</a></li>
	<li><a href="http://www.mkrules.net" target="mainFrame">Research Central</a></li>
	<li><a href="http://www.nmpdr.org/next/" target="mainFrame">Staging NMPDR</a></li>
	<li><a href="http://anno-2.nmpdr.org/next/" target="mainFrame">Development NMPDR</a></li>
	<li><a href="http://anno-2.nmpdr.org/dev/" target="mainFrame">Experimental NMPDR</a></li>
	<li><a href="http://www.theseed.org/" target="mainFrame">SEED Wiki</a></li>
	</ul>
</body>
</html>

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3