109 lines
3.8 KiB
HTML
109 lines
3.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
|
|
<html>
|
|
<head>
|
|
<meta name="Copyright" content="Copyright (c) 2004 by IBM Corporation">
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
|
<title>Windows Server installation advisor--TCP/IP local domain name</title>
|
|
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
|
|
<script type="text/javascript" language="Javascript">
|
|
<!-- // Hide script from older browsers
|
|
|
|
var errMess2 = "Enter a domain name or select to use the configured OS/400 local domain name.";
|
|
|
|
//START NON-TRANSLATABLE
|
|
//Obtain name of HTML file in parent frame.
|
|
var parentDir = parent.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var parentUrl = parent.window.location.href.substring(parentDir.length,parent.window.location.href.length+1);
|
|
if (parentUrl.indexOf("#") >= 0) { parentUrl = parentUrl.substring(0,parentUrl.indexOf("#"));}
|
|
|
|
function checkFrame() {
|
|
//Is the hidden frame already loaded with the correct html?
|
|
if (parentUrl != "rzahqadvisor1.htm") {
|
|
window.location = "rzahqadvisor1.htm"; //load advisor frameset
|
|
return;
|
|
} else {
|
|
//Obtain name of HTML file in hidden frame.
|
|
var hiddenDir = parent.hidden.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var hiddenUrl = parent.hidden.window.location.href.substring(hiddenDir.length,parent.hidden.window.location.href.length+1);
|
|
if (hiddenUrl.indexOf("#") >= 0) { hiddenUrl = hiddenUrl.substring(0,hiddenUrl.indexOf("#"));}
|
|
if (hiddenUrl != "rzahqadvhidden.htm") {
|
|
//Correct HTML not loaded, load it
|
|
parent.hidden.window.location = "rzahqadvhidden.htm";
|
|
} else { //already loaded
|
|
getData();
|
|
}
|
|
}
|
|
}
|
|
|
|
function getData() {
|
|
if (!isEmpty(parent.hidden.v1[52])) {
|
|
if (parseInt(parent.hidden.v1[52]) == 2) {
|
|
document.form1.rad[1].checked = true;
|
|
if (!isEmpty(parent.hidden.v1[53])) {
|
|
document.form1.dname.value = parent.hidden.v1[53];
|
|
}
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[52]) == 1) { document.form1.dname.value = ""; }
|
|
}
|
|
}
|
|
}
|
|
|
|
function onNext() {
|
|
//Save data
|
|
if (document.form1.rad[0].checked == true) {
|
|
parent.hidden.v1[52] = "1";
|
|
parent.hidden.v1[53] = "";
|
|
} else {
|
|
//Check domain name
|
|
if (!isEmpty(document.form1.dname.value)) {
|
|
parent.hidden.v1[52] = "2";
|
|
parent.hidden.v1[53] = document.form1.dname.value;
|
|
} else {
|
|
alert(errMess2);
|
|
return;
|
|
}
|
|
}
|
|
//Next page
|
|
window.location = "rzahqadvisor27.htm";
|
|
}
|
|
|
|
function onBack() {
|
|
window.location = "rzahqadvisor23.htm";
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
////////// -->
|
|
</script>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
|
|
<body onLoad="checkFrame()">
|
|
|
|
<h2>Windows Server installation advisor</h2>
|
|
<strong>TCP/IP local domain name</strong>
|
|
|
|
<p>What is the TCP/IP local domain name associated with the Windows server?</p>
|
|
<form name="form1">
|
|
<blockquote>
|
|
<input type="radio" name="rad" value="usecon" id="usecon" checked>
|
|
<label for="usecon">Use the configured i5/OS local domain name</label>
|
|
<br>
|
|
<br>
|
|
<input type="radio" name="rad" value="dom2" id="dom2">
|
|
<label for="dom2">Use another domain name:</label>
|
|
<input type="text" name="dname" maxlength="63" size="63" id="dom2" onKeyPress="selectRadio(1)">
|
|
</blockquote>
|
|
<br><br>
|
|
<center>
|
|
<input type="button" value="<< Back" onClick="onBack()">
|
|
<input type="button" value="Next >>" onClick="onNext()">
|
|
</center>
|
|
</form>
|
|
</body>
|
|
</html>
|