step3.htm revision 9fa57a4f31580310b62bb2f08906e6b73d510817
0N/A<script type="text/javascript">
3845N/A
0N/A var multiServer = "false";
0N/A var validServerURL = "true";
0N/A
0N/A function configStoreServerValidated( response ) {
0N/A storeServerValidated( '$type', response );
0N/A }
0N/A function configStoreBaseDNValidated( response ) {
0N/A storeBaseDNValidated('$type', response );
0N/A }
0N/A function configStoreLoginIdValidated( response ) {
0N/A storeLoginIdValidated( '$type', response );
0N/A }
0N/A
0N/A function validateUserFields(response) {
0N/A if (response.responseText == "ok") {
0N/A eval(field + "Valid = true;" );
1472N/A $(field + 'Status').innerHTML = okString;
1472N/A allValid();
1472N/A } else {
0N/A eval(field + "Valid = false;" );
0N/A $(field + 'Status').innerHTML = errorImage +
1879N/A '<small>' + response.responseText + '</small>';
1879N/A }
1879N/A field = "";
1879N/A }
1879N/A
1879N/A function validatePort() {
1879N/A field = "configStorePort";
1879N/A var callUrl = "$context$path?actionLink=validateLocalPort";
1879N/A var param = "&port=" + $('configStorePort').value;
1879N/A ie7fix++;
1879N/A callUrl = callUrl + "&ie7fix=" + ie7fix;
1879N/A setTimeout("enableNextButton()", 500);
1879N/A AjaxUtils.call(callUrl+param, validateUserFields);
0N/A }
0N/A
0N/A function validateAdminPort() {
0N/A field = "configStoreAdminPort";
0N/A var callUrl = "$context$path?actionLink=validateLocalAdminPort";
0N/A var param = "&port=" + $('configStoreAdminPort').value;
0N/A ie7fix++;
0N/A callUrl = callUrl + "&ie7fix=" + ie7fix;
0N/A setTimeout("enableNextButton()", 500);
0N/A AjaxUtils.call(callUrl+param, validateUserFields);
0N/A }
0N/A
0N/A function validateJmxPort() {
0N/A field = "configStoreJmxPort";
0N/A var callUrl = "$context$path?actionLink=validateLocalJmxPort";
0N/A var param = "&port=" + $('configStoreJmxPort').value;
0N/A ie7fix++;
0N/A callUrl = callUrl + "&ie7fix=" + ie7fix;
0N/A setTimeout("enableNextButton()", 500);
0N/A AjaxUtils.call(callUrl+param, validateUserFields);
0N/A }
0N/A
0N/A function validateEncKey() {
0N/A $('nextTabButton').disabled = true;
0N/A var value = escape($('encryptionKey').value);
0N/A var callUrl =
0N/A "$context$path?actionLink=validateEncKey&encKey=" + value;
0N/A setTimeout("enableNextButton()", 500);
0N/A AjaxUtils.call(callUrl, validateEncKeyResponse);
0N/A }
0N/A
0N/A function validateEncKeyResponse(response) {
0N/A if (response.responseText == "true") {
3845N/A $('encryptionKeyStatus').innerHTML = okString;
3845N/A } else {
3845N/A $('encryptionKeyStatus').innerHTML = warningImage +
3845N/A '<small>' + response.responseText + '</small>';
0N/A }
0N/A }
0N/A
2675N/A function validateConfigStoreSSL() {
2675N/A var value = ($('configStoreSSL').checked) ? "SSL" : "SIMPLE";
0N/A var callUrl =
0N/A "$context$path?actionLink=validateInput&key=configStoreSSL&value=" +
0N/A value;
0N/A ie7fix++;
0N/A callUrl = callUrl + "&ie7fix=" + ie7fix;
0N/A AjaxUtils.call(callUrl, validateConfigSSL);
105N/A }
105N/A
105N/A function validateConfigSSL(response) {
105N/A // no ops
105N/A }
0N/A
0N/A function validateConfigStoreHost() {
0N/A var call = "$context$path?actionLink=validateConfigStoreHost";
0N/A var hostname = "&configStoreHost=" + $('configStoreHost').value;
0N/A $('nextTabButton').disabled = true;
0N/A field = "configStoreHost";
0N/A
0N/A ie7fix++;
0N/A call = call + "&ie7fix=" + ie7fix;
0N/A AjaxUtils.call(call+hostname, validateSMHost);
0N/A }
3845N/A
0N/A function validateConfigStoreLoginId() {
0N/A $('nextTabButton').disabled = true;
0N/A field = "configStoreLoginId";
0N/A setTimeout("enableNextButton()", 500);
0N/A validate();
0N/A }
0N/A
0N/A function validateConfigStorePassword() {
0N/A $('nextTabButton').disabled = true;
0N/A field = "configStorePassword";
0N/A setTimeout("enableNextButton()", 500);
0N/A validatePost();
0N/A }
0N/A
0N/A function validateRootSuffix() {
0N/A $('nextTabButton').disabled = true;
0N/A ie7fix++;
0N/A field = "rootSuffix";
0N/A var callUrl = "$context$path?actionLink=validateRootSuffix&ie7fix=" +
0N/A ie7fix + "&rootSuffix=" + escape($(field).value);
0N/A setTimeout("enableNextButton()", 500);
0N/A AjaxUtils.call(callUrl, fieldValidated);
0N/A }
0N/A
0N/A function validateServerURL(response) {
0N/A var resp = eval('('+response.responseText+')');
0N/A var image = okImage;
0N/A
0N/A if (resp.code == "100") {
0N/A // url was a valid OpenAM server
0N/A validServerURL = true;
0N/A
0N/A document.getElementById("existingPort").disabled = true;
0N/A document.getElementById("existingPort").value = resp.existingPort;
0N/A
0N/A if (resp.embedded == "true") {
0N/A document.getElementById("replicationPorts").style.display = "";
0N/A var message = "";
0N/A if (resp.replication == "true") {
0N/A document.getElementById("existingRepPort").disabled = true;
0N/A message = '<small>$page.getQuoteEscapedLocalizedString("existing.port.values.replication")</small>';
0N/A } else {
0N/A document.getElementById("existingRepPort").disabled = false;
0N/A message='<small>$page.getQuoteEscapedLocalizedString("existing.port.values.noreplication")</small>';
0N/A }
0N/A document.getElementById("replicationMessage").innerHTML= message;
0N/A document.getElementById("existingRepPort").value = resp.replicationPort;
0N/A } else {
0N/A document.getElementById("existingLDAP").style.display = "";
0N/A
0N/A document.getElementById("existingStoreHost").disabled = true;
0N/A document.getElementById("existingStoreHost").value = resp.existingStoreHost;
0N/A
0N/A document.getElementById("existingStorePort").disabled = true;
0N/A document.getElementById("existingStorePort").value = resp.existingStorePort;
0N/A
0N/A }
0N/A $('nextTabButton').disabled = false;
0N/A
0N/A } else{
0N/A // error handling
0N/A validServerURL = false;
0N/A image = errorImage;
0N/A document.getElementById("replicationPorts").style.display = "none";
0N/A document.getElementById("existingLDAP").style.display = "none";
0N/A
0N/A $('nextTabButton').disabled = true;
0N/A }
0N/A $('existingHostStatus').innerHTML = image +
0N/A '<small>' + resp.message + '</small>';
0N/A }
0N/A
0N/A function validateHostName() {
0N/A $('existingHostStatus').innerHTML = '$page.getQuoteEscapedLocalizedString("validating.url.string")';
0N/A var call = "$context$path?actionLink=validateHostName";
0N/A var hostname = "&hostName=" + $('existingHost').value;
0N/A $('nextTabButton').disabled = true;
0N/A ie7fix++;
0N/A call = call + "&ie7fix=" + ie7fix;
3845N/A AjaxUtils.call(call+hostname, validateServerURL);
29N/A }
0N/A
0N/A function localPortResponse(response) {
0N/A var message = response.responseText;
0N/A if (message == "ok") {
0N/A eval(field + "Valid = true;" );
0N/A $(field + 'Status').innerHTML = okString;
0N/A } else {
3845N/A eval(field + "Valid = false;" );
3845N/A $(field + 'Status').innerHTML = errorImage +
3845N/A '<small>' + message + '</small>';
0N/A $('nextTabButton').disabled = true;
3845N/A }
3845N/A field = "";
3845N/A }
3845N/A
3845N/A function validateLocalConfigPort() {
3845N/A field = "localConfigPort";
0N/A var call = "$context$path?actionLink=validateLocalPort";
3845N/A var portVal = "&port=" + $('localConfigPort').value;
3845N/A ie7fix++;
3845N/A call = call + "&ie7fix=" + ie7fix;
3845N/A AjaxUtils.call(call+portVal, localPortResponse);
3845N/A }
3845N/A
3845N/A function validateLocalConfigAdminPort() {
0N/A field = "localConfigAdminPort";
3845N/A var call = "$context$path?actionLink=validateLocalAdminPort";
3845N/A var portVal = "&port=" + $('localConfigAdminPort').value;
3845N/A ie7fix++;
3845N/A call = call + "&ie7fix=" + ie7fix;
3845N/A AjaxUtils.call(call+portVal, localPortResponse);
3845N/A }
3845N/A
3845N/A function validateLocalConfigJmxPort() {
3845N/A field = "localConfigJmxPort";
3845N/A var call = "$context$path?actionLink=validateLocalJmxPort";
3845N/A var portVal = "&port=" + $('localConfigJmxPort').value;
0N/A ie7fix++;
0N/A call = call + "&ie7fix=" + ie7fix;
3845N/A AjaxUtils.call(call+portVal, localPortResponse);
3845N/A }
3845N/A
3849N/A function validateLocalRepPort() {
3849N/A field = "localRepPort";
3849N/A validate();
3849N/A }
3849N/A
3849N/A function validateExistingPort() {
3849N/A field = "existingPort";
3849N/A validate();
3849N/A }
3849N/A
3849N/A function validateExistingRepPort() {
3849N/A field = "existingRepPort";
3845N/A validate();
3845N/A }
3845N/A
3845N/A function enableExisting() {
3845N/A multiServer = "true";
3845N/A $('nextTabButton').disabled = true;
3845N/A // controls for displaying step6
3845N/A firstFAMInstance = false;
3845N/A $('tab4').style.color = "#D3D3D3";
3845N/A $('tab6').style.color = "#D3D3D3";
3845N/A nextTab = 5;
3845N/A
3845N/A document.getElementById("newInstanceOptions").style.display = "none";
3845N/A document.getElementById("existingInstanceURL").style.display = "";
3845N/A document.getElementById("replicationPorts").style.display = "none";
3845N/A document.getElementById("existingLDAP").style.display = "none";
3845N/A
3845N/A ie7fix++;
0N/A AjaxUtils.call("$context$path?actionLink=setReplication&multi=enable&ie7fix=" + ie7fix);
0N/A }
0N/A
3845N/A function disableExisting() {
3845N/A enableNextButton();
3845N/A multiServer = "false";
3845N/A // controls for displaying step6
3845N/A firstFAMInstance = true;
3845N/A $('tab6').style.color = "";
3845N/A $('tab4').style.color = "";
3845N/A nextTab = 4;
3845N/A
3845N/A document.getElementById("newInstanceOptions").style.display = "";
3845N/A document.getElementById("existingInstanceURL").style.display = "none";
3845N/A document.getElementById("replicationPorts").style.display = "none";
3845N/A document.getElementById("existingLDAP").style.display = "none";
3845N/A
3845N/A ie7fix++;
3845N/A AjaxUtils.call("$context$path?actionLink=setReplication&multi=disable&ie7fix=" + ie7fix);
3845N/A }
3845N/A
3845N/A function setExternalFieldsDisplay(display) {
3845N/A document.getElementById("login").style.display = display;
3845N/A document.getElementById("password").style.display = display;
3845N/A
3845N/A if (display == "none") {
3845N/A document.getElementById("configStoreSSL").disabled = true;
3845N/A document.getElementById("configStoreHost").disabled = true;
3845N/A document.getElementById("configStoreHost").value = "localhost";
3845N/A document.getElementById("adminport").style.display = "";
3845N/A document.getElementById("jmxport").style.display = "";
3845N/A } else {
3845N/A document.getElementById("configStoreSSL").disabled = false;
3845N/A document.getElementById("configStoreHost").disabled = false;
3845N/A remoteDSHost = document.getElementById("configStoreHost").value;
3845N/A document.getElementById("configStoreHost").value = remoteDSHost;
3845N/A document.getElementById("adminport").style.display = "none";
3845N/A document.getElementById("jmxport").style.display = "none";
3845N/A }
3845N/A }
3845N/A
3845N/A function enableRemote() {
3845N/A userStore = "external";
3845N/A enableNextButton();
3845N/A ie7fix++;
3845N/A AjaxUtils.call("$context$path?actionLink=setConfigType&type=remote&ie7fix=" + ie7fix);
3845N/A setExternalFieldsDisplay("");
3845N/A }
3845N/A
3845N/A function disableRemote() {
3845N/A setExternalFieldsDisplay("none");
3845N/A userStore = "embedded";
3845N/A enableNextButton();
3845N/A ie7fix++;
3845N/A AjaxUtils.call("$context$path?actionLink=setConfigType&type=embedded&ie7fix=" + ie7fix);
3845N/A }
3845N/A
3845N/A function initConfig() {
3845N/A if ("$DATA_STORE" == 'embedded') {
3845N/A disableRemote();
3845N/A } else {
3845N/A enableRemote();
3845N/A }
3845N/A
3845N/A if ("$FIRST_INSTANCE" == "1") {
3845N/A enableExisting();
3845N/A }
3845N/A }
3845N/A
0N/A function enableNextButton() {
0N/A if (userStore == "embedded") {
0N/A $('nextTabButton').disabled =
0N/A !isFieldOK('configStoreHost') ||
0N/A !isFieldOK('configStorePort') ||
0N/A !isFieldOK('configStoreAdminPort') ||
0N/A !isFieldOK('configStoreJmxPort') ||
0N/A !isEncryptionKeyOk() ||
0N/A !isFieldOK('rootSuffix') ||
0N/A !isFieldOK('sessionRootDN') ||
0N/A !isFieldOK('sessionStoreType');
0N/A } else {
0N/A var allFieldsValid = isFieldOK('configStoreHost') &&
3845N/A isFieldOK('configStorePort') && isEncryptionKeyOk() &&
0N/A isFieldOK('rootSuffix') && isFieldOK('sessionRootDN') && isFieldOK('sessionStoreType') &&
0N/A isFieldOK('configStoreLoginId') &&
0N/A isFieldOK('configStorePassword') &&
0N/A (document.getElementById('configStorePassword').value != '');
0N/A if (allFieldsValid) {
0N/A ie7fix++;
0N/A AjaxUtils.call("$context$path?actionLink=validateSMHost&ie7fix=" + ie7fix,
0N/A validateSMHost);
0N/A } else {
0N/A $('nextTabButton').disabled = true;
0N/A }
0N/A }
0N/A }
0N/A
0N/A function isEncryptionKeyOk() {
0N/A var value = escape($('encryptionKey').value);
0N/A return (value.length > 0);
0N/A }
0N/A
0N/A function validateSMHost(response) {
0N/A if (response.responseText == "ok") {
0N/A $('nextTabButton').disabled = false;
0N/A $('configStoreHostStatusEx').innerHTML = "";
3845N/A } else {
3845N/A $('nextTabButton').disabled = true;
0N/A $('configStoreHostStatus').innerHTML = "";
3845N/A $('configStoreHostStatusEx').innerHTML = errorImage +
0N/A '<small>' + response.responseText + '</small>';
0N/A }
0N/A }
0N/A
0N/A function isFieldOK(field) {
0N/A var x = $(field + 'Status').innerHTML;
3849N/A return (x == '') || (x.indexOf('ok.jpg') != -1);
3845N/A }
0N/A
3845N/A YAHOO.util.Event.onDOMReady(initConfig);
3845N/A</script>
3845N/A
3845N/A<div style="margin-left:10px;">
3845N/A <h1>$page.getLocalizedString("step3.title")<img class="pointer"
3845N/A src="$context/assets/images/message.gif"/></h1>
3845N/A <p>$page.getLocalizedString("step3.description")</p>
0N/A <input type="radio" id="existingNo" name="existingInstance"
3845N/A value="false" $selectFirstSetup onclick="disableExisting();"/>
0N/A $page.getLocalizedString("create.new.instance")
0N/A <input type="radio" $selectExistingSetup id="existingYes" name="existingInstance"
0N/A value="true" onclick="enableExisting();"/>
0N/A $page.getLocalizedString("add.existing.instance")
0N/A
0N/A <!-- EMBEDDED STORE PROPERTIES -->
0N/A <div id="configStoreProperties" style="width:620px;" >
0N/A <p id="allfields"><em>*</em>&nbsp;
0N/A $page.getLocalizedString("required.field.label")</p>
0N/A <b class="xtop">
0N/A <b class="xt1"></b>
3849N/A <b class="xt2"></b>
3845N/A <b class="xt3"></b>
0N/A <b class="xt4"></b>
3845N/A </b>
3845N/A <div class="headerBox">
3845N/A $page.getLocalizedString("step3.sub.title")
3845N/A </div>
3845N/A <div class="bodyBox" style="height:340px;">
3845N/A <span>
3845N/A <!-- New Instances -->
0N/A <div id="newInstanceOptions">
3845N/A <table class="temp">
0N/A <tr>
0N/A <td><label for="configStoreCustom">
0N/A $page.getLocalizedString("existing.instance.label")
0N/A </label></td>
0N/A <td>
0N/A <input type="radio" id="configStoreDefault" name="configStoreCustom"
0N/A style="margin-left:1em" value="false" $selectEmbedded
0N/A onclick="disableRemote();"/>
3845N/A $page.getLocalizedString("step3.embedded.option")
0N/A <input type="radio" id="configStoreCustom" name="configStoreCustom"
0N/A style="margin-left:1em" value="true" $selectExternal
0N/A onclick="enableRemote();"/>
0N/A $page.getLocalizedString("step3.external.option")
0N/A </td>
0N/A </tr>
0N/A </table>
0N/A
3845N/A <!-- Embedded Store -->
3845N/A <table class="temp">
3845N/A <tr id="ssl">
3845N/A <td><label for="configStoreSSL"><em>*&nbsp;</em>
3845N/A $page.getLocalizedString("ssl.label")</label></td>
3845N/A <td>
3845N/A <input id="configStoreSSL" name="configStoreSSL"
3845N/A type="checkbox" value="SSL" $selectConfigStoreSSL
3845N/A onClick="APP.callDelayed(this, validateConfigStoreSSL)"/></td>
3845N/A </tr>
3845N/A <tr id="host">
0N/A <td><label for="configStoreHost"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("host.name.label")</label></td>
0N/A <td>
0N/A <input id="configStoreHost" name="configStoreHost"
0N/A type="text" class="text" style="width:150px"
0N/A value="$configStoreHost"
0N/A onkeyup="APP.callDelayed(this, validateConfigStoreHost)"
0N/A onchange="APP.callDelayed(this, validateConfigStoreHost)"/>
0N/A <span id="configStoreHostStatus"></span>
0N/A <span id="configStoreHostStatusEx"></span>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td><label for="configStorePort"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("port.label")</label></td>
0N/A <td>
0N/A <input id="configStorePort" name="configStorePort"
0N/A type="text" size="5" maxLength="5"
0N/A value="$configStorePort"
0N/A onkeyup="APP.callDelayed(this, validatePort)"
3849N/A onchange="APP.callDelayed(this, validatePort)"/>
3845N/A <span id="configStorePortStatus"></span></td>
0N/A </tr>
0N/A <tr id="adminport">
0N/A <td><label for="configStoreAdminPort"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("admin.port.label")</label></td>
0N/A <td>
0N/A <input id="configStoreAdminPort" name="configStoreAdminPort"
0N/A type="text" size="5" maxLength="5"
0N/A value="$configStoreAdminPort"
0N/A onkeyup="APP.callDelayed(this, validateAdminPort)"
0N/A onchange="APP.callDelayed(this, validateAdminPort)"/>
0N/A <span id="configStoreAdminPortStatus"></span></td>
0N/A </tr>
0N/A <tr id="jmxport">
0N/A <td><label for="configStoreJmxPort"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("jmx.port.label")</label></td>
0N/A <td>
0N/A <input id="configStoreJmxPort" name="configStoreJmxPort"
0N/A type="text" size="5" maxLength="5"
0N/A value="$configStoreJmxPort"
3845N/A onkeyup="APP.callDelayed(this, validateJmxPort)"
3845N/A onchange="APP.callDelayed(this, validateJmxPort)"/>
3845N/A <span id="configStoreJmxPortStatus"></span></td>
3845N/A </tr>
3845N/A <tr>
3845N/A <td><label for="encryptionKey"><em>*&nbsp;</em>
3849N/A $page.getLocalizedString("step2.encr.key")</label></td>
3845N/A <td>
3845N/A <input id="encryptionKey" name="encryptionKey"
3845N/A type="text" class="text" style="width:200px"
3845N/A value="$encryptionKey"
3845N/A onkeyup="APP.callDelayed(this, validateEncKey)"
3845N/A onchange="APP.callDelayed(this, validateEncKey)"/>
3845N/A <span id="encryptionKeyStatus"></span></td>
3845N/A </tr>
3845N/A <tr>
3845N/A <td><label for="rootSuffix"><em>*&nbsp;</em>
3845N/A $page.getLocalizedString("root.suffix.label")</label></td>
3845N/A <td>
0N/A <input id="rootSuffix" name="rootSuffix"
0N/A type="text" class="text" style="width:200px"
0N/A value="$rootSuffix"
0N/A onkeyup="APP.callDelayed(this, validateRootSuffix)"
0N/A onchange="APP.callDelayed(this, validateRootSuffix)"/>
0N/A <span id="rootSuffixStatus"></span>
0N/A </td>
0N/A </tr>
0N/A <tr id="login">
0N/A <td><label for="configStoreLoginId"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("login.id.label")</label></td>
0N/A <td>
0N/A <input id="configStoreLoginId" name="configStoreLoginId"
0N/A type="text" class="text" style="width:150px"
0N/A value="$configStoreLoginId"
0N/A onkeyup="APP.callDelayed(this, validateConfigStoreLoginId )"
0N/A onchange="APP.callDelayed(this, validateConfigStoreLoginId )"/>
0N/A <span id="configStoreLoginIdStatus"></span>
0N/A </td>
0N/A </tr>
0N/A <tr id="password">
0N/A <td><label for="configStorePassword"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("password.label")</label></td>
0N/A <td>
0N/A <input id="configStorePassword"
0N/A name="configStorePassword"
0N/A type="password" class="text" style="width:100px"
0N/A value="#if($store.password)$store.password#{end}"
0N/A onkeyup="APP.callDelayed(this, validateConfigStorePassword )"
0N/A onchange="APP.callDelayed(this, validateConfigStorePassword )"/>
0N/A <span id="configStorePasswordStatus"></span></td>
0N/A </tr>
0N/A </table>
0N/A </div>
0N/A
0N/A <!-- Existing -->
0N/A <div id="existingInstanceURL" style="display:none">
0N/A <table class="temp">
0N/A <tr>
0N/A <td><label for="existingHost"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("host.url.label")</label></td>
0N/A <td>
0N/A <input id="existingHost" name="existingHost" type="text"
0N/A class="text" size="60"
0N/A onkeyup="APP.callDelayed(this, validateHostName)"
0N/A onchange="APP.callDelayed(this, validateHostName)"/>
0N/A <span id="existingHostStatus"></span>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td>&nbsp;</td>
0N/A <td>
0N/A <small>$page.getLocalizedString("url.server.help")</small>
0N/A </td>
0N/A </tr>
0N/A </table>
0N/A </div>
0N/A
0N/A <!-- replication ports -->
0N/A <div id="replicationPorts" style="display:none">
0N/A <small>$page.getLocalizedString("local.port.values")</small>
0N/A <table class="temp">
0N/A <tr>
0N/A <td><label for="localConfigPort"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("local.port.label")</label></td>
0N/A <td>
0N/A <input id="localConfigPort" name="localConfigPort"
0N/A type="text" class="text" size="5" maxLength="5"
0N/A value="$localConfigPort"
0N/A onkeyup="APP.callDelayed(this, validateLocalConfigPort)"
0N/A onchange="APP.callDelayed(this, validateLocalConfigPort)"/>
0N/A <span id="localConfigPortStatus"></span>
0N/A </td>
0N/A <td><label for="localConfigAdminPort"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("admin.port.label")</label></td>
0N/A <td>
0N/A <input id="localConfigAdminPort" name="localConfigAdminPort"
0N/A type="text" class="text" size="5" maxLength="5"
0N/A value="$localConfigAdminPort"
0N/A onkeyup="APP.callDelayed(this, validateLocalConfigAdminPort)"
0N/A onchange="APP.callDelayed(this, validateLocalConfigAdminPort)"/>
0N/A <span id="localConfigAdminPortStatus"></span>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td><label for="localRepPort"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("replication.port.label")</label></td>
0N/A <td>
0N/A <input id="localRepPort" name="localRepPort"
0N/A type="text" class="text" size="5" maxLength="5"
0N/A value="$localRepPort"
0N/A onkeyup="APP.callDelayed(this, validateLocalRepPort)"
0N/A onchange="APP.callDelayed(this, validateLocalRepPort)"/>
0N/A <span id="localRepPortStatus"></span>
0N/A </td>
0N/A <td><label for="localConfigJmxPort"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("jmx.port.label")</label></td>
0N/A <td>
0N/A <input id="localConfigJmxPort" name="localConfigJmxPort"
0N/A type="text" class="text" size="5" maxLength="5"
0N/A value="$localConfigJmxPort"
0N/A onkeyup="APP.callDelayed(this, validateLocalConfigJmxPort)"
0N/A onchange="APP.callDelayed(this, validateLocalConfigJmxPort)"/>
0N/A <span id="localConfigJmxPortStatus"></span>
0N/A </td>
0N/A </tr>
667N/A <tr>
0N/A <td colspan="4">
0N/A <span id="replicationMessage"></span></td>
0N/A </tr>
0N/A <tr>
0N/A <td><label for="existingPort"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("existing.port.label")</label></td>
0N/A <td>
0N/A <input id="existingPort" name="existingPort" type="text"
0N/A class="text" size="5" maxLength="5"
0N/A value="$existingPort"
0N/A onkeyup="APP.callDelayed(this, validateExistingPort)"
0N/A onchange="APP.callDelayed(this, validateExistingPort)"/>
0N/A <span id="existingPortStatus"></span>
0N/A </td>
0N/A <td></td><td></td>
605N/A </tr>
0N/A <tr>
0N/A <td><label for="existingRepPort"><em>*&nbsp;</em>
987N/A $page.getLocalizedString("existing.replication.port")</label></td>
987N/A <td>
3845N/A <input id="existingRepPort" name="existingRepPort"
3845N/A type="text" class="text" size="5" maxLength="5"
3845N/A value="$existingRepPort"
987N/A onkeyup="APP.callDelayed(this, validateExistingRepPort)"
3845N/A onchange="APP.callDelayed(this, validateExistingRepPort)"/>
3845N/A <span id="existingRepPortStatus"></span>
3845N/A </td>
987N/A <td></td><td></td>
0N/A </tr>
0N/A </table>
0N/A </div>
0N/A <!-- existing LDAP -->
0N/A <div id="existingLDAP" style="display:none">
0N/A <small>$page.getLocalizedString("existing.port.values.external")</small>
0N/A <table class="temp">
0N/A <tr>
0N/A <td><label for="existingStoreHost"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("existing.ldap.label")</label></td>
0N/A <td><input id="existingStoreHost" name="existingStoreHost" type="text"
0N/A class="text" size="60" style="width:150px"
0N/A value="$existingStoreHost"
0N/A onkeyup="APP.callDelayed(this, validateHostName)"
0N/A onchange="APP.callDelayed(this, validateHostName)"/>
0N/A <span id="existingStoreHostStatus"></span>
0N/A </td>
0N/A </tr>
0N/A <tr>
0N/A <td><label for="existingStorePort"><em>*&nbsp;</em>
0N/A $page.getLocalizedString("port.label")</label></td>
0N/A <td>
0N/A <input id="existingStorePort" name="existingStorePort"
0N/A type="text" size="5" maxLength="5"
0N/A value="$existingStorePort"
0N/A onkeyup="APP.callDelayed(this, validatePort)"
0N/A onchange="APP.callDelayed(this, validatePort)"/>
0N/A <span id="existingStorePortStatus"></span>
0N/A </td>
0N/A </tr>
0N/A
0N/A </table>
0N/A </div>
0N/A </span>
0N/A </div>
1505N/A <div>
1505N/A <b class="xbottom">
1505N/A <b class="xbGray1"></b>
1505N/A <b class="xbGray2"></b>
1505N/A <b class="xbGray3"></b>
1505N/A <b class="xbGray4"></b>
1505N/A </b>
0N/A </div>
0N/A </div>
0N/A</div>
0N/A
0N/A
0N/A
0N/A