69
W&T
Java Applets
Subject to errors and modifications:
function setPassword()
{
document.applets["dio0"].setPassword( 'wut');
}
//-->
</script>
</head>
<body>
<applet name="dio" archive="dio.jar" code="dio.class"
codebase="http://172.16.232.11" width="0" height="0">
<param name="device" value="0">
<param name="showerrors" value="off">
<param name="inputpolling" value="on">
<param name="outputpolling" value="off">
<param name="counterpolling" value="off">
<param name="pollingrate" value="1500">
</applet>
<p>State of Input 0:</p>
<p id="input0">OFF</p>
<script language="JavaScript" type="text/javascript">
<!--
setPassword();
//-->
</script>
</body>
</html>
Das Beispiel beinhaltet nur die Funktion inputChanged, da im
Bereich des Applet-Tags nur das
inputpolling
aktiviert wurde.
1
The following applies when processing inputs, outputs
and counters: If the corresponding polling is activated,
the associated JavaScript function must be declared in the
HTML text to prevent runtime errors.
1
To automatically provide the password when opening
the Web page, invoking of the setPassword function must
stand behind the applet tag.
In this case the password is stored unencoded in the source
text. For security reasons we therefore recommend password
prompting using an input field.
Summary of Contents for 57630
Page 8: ...8 W T Content...
Page 22: ...22 W T Assigning the IP address...
Page 44: ...44 W T configuring the network parameters...
Page 194: ...194 W T Diacnostics and testing...