83 lines
No EOL
2.5 KiB
Text
83 lines
No EOL
2.5 KiB
Text
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
|
pageEncoding="ISO-8859-1"%>
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<%
|
|
response.setHeader("Pragma", "no-cache");
|
|
response.setHeader("Cache-Control", "no-cache");
|
|
response.setDateHeader("Expires", 0);
|
|
%>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<title>JS Script Runner</title>
|
|
<STYLE TYPE="text/css">
|
|
h1 {text-align:center}
|
|
table {background-color:silver;border-style:solid;border-color:black;border-width:1}
|
|
td {background-color:white;border-style:solid;border-color:black;border-width:1}
|
|
th {background-color:white;border-style:solid;border-color:black;border-width:1}
|
|
</STYLE>
|
|
</head>
|
|
<body>
|
|
<table align=center>
|
|
<TR><TD><img src="rayAWIPS.jpg" align=middle></TD>
|
|
<TD><H1>
|
|
μEngine Demonstration<BR>
|
|
VTEC Request Demo<BR>
|
|
Query by Example
|
|
</H1></TD>
|
|
<TD><img src="rayAWIPS.jpg" align=middle></TD></TR>
|
|
</table>
|
|
|
|
<form method=post action="runAction.jas">
|
|
<input type=hidden name=requesttype value=javascript>
|
|
<input type=hidden name=sortby value=timeobs>
|
|
<table align=center>
|
|
<tr><td colspan=2>
|
|
<textarea name="actionXML" cols="80" rows="22" style="background-color:aqua">
|
|
/**
|
|
* Performs a simple VTEC Request and returns the result to the requestor.
|
|
*
|
|
* Request the P-VTEC Event Group "Action" tokens.
|
|
*/
|
|
include("VtecObjectRetrieval.js");
|
|
var runner = new VtecRetrieval("action");
|
|
runner.setTimeOut(5);
|
|
runner.initialize("named","VTEC Action");
|
|
runner.addProperty("count","0");
|
|
runner.addField("name","NEW");
|
|
runner.execute();
|
|
|
|
</textarea>
|
|
</td></tr>
|
|
<tr><th colspan=2><em>Enter Values for Message</em></th></tr>
|
|
|
|
<tr><td><B>Name:</B></td>
|
|
<td><input type=text name=name value="VTEC Request"></td></tr>
|
|
|
|
</td></td>
|
|
<tr><td><B>Action:</B></td><td>
|
|
<input type=radio name=function value=validate disabled>Validate
|
|
<input type=radio name=function value=subscribe>Subscribe
|
|
<input type=radio name=function value=execute checked>Execute</tr>
|
|
</td></tr></table>
|
|
<br>
|
|
<div align=center>
|
|
<input type="submit" value="Get Report">
|
|
<input type=reset>
|
|
Timeout:
|
|
<select name=receiveTime>
|
|
<option value=60000 selected>1 minute
|
|
<option value=120000>2 minutes
|
|
<option value=180000>3 minutes
|
|
<option value=240000>4 minutes
|
|
<option value=300000>5 minutes
|
|
<option value=360000>6 minutes
|
|
<option value=420000>7 minutes
|
|
<option value=480000>8 minutes
|
|
<option value=540000>9 minutes
|
|
<option value=600000>10 minutes
|
|
</select>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html> |