step3.htm revision e8721886dbfd32e88cc7077cbee4b6bb1b44b443
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore var multiServer = "false";
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore var validServerURL = "true";
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore function configStoreServerValidated( response ) {
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore storeServerValidated( '$type', response );
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore function configStoreBaseDNValidated( response ) {
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore storeBaseDNValidated('$type', response );
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore function configStoreLoginIdValidated( response ) {
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore storeLoginIdValidated( '$type', response );
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore function validateUserFields(response) {
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore eval(field + "Valid = true;" );
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore $(field + 'Status').innerHTML = okString;
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore eval(field + "Valid = false;" );
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore $(field + 'Status').innerHTML = errorImage +
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore '<small>' + response.responseText + '</small>';
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore function validateAdminPort() {
2d08521bd15501c8370ba2153b9cca4f094979d0Garrett D'Amore field = "configStoreAdminPort";
4297a3b0d0a35d80f86fff155e288e885a100e6dGarrett D'Amore var callUrl = "$context$path?actionLink=validateLocalAdminPort";
AjaxUtils.call(callUrl+param, validateUserFields);
AjaxUtils.call(callUrl+param, validateUserFields);
AjaxUtils.call(callUrl, validateEncKeyResponse);
if (response.responseText == "true") {
AjaxUtils.call(callUrl, validateConfigSSL);
AjaxUtils.call(call+hostname, validateSMHost);
AjaxUtils.call(callUrl+param, validateUserFields);
AjaxUtils.call(callUrl, fieldValidated);
var resp = eval('('+response.responseText+')');
if (resp.code == "100") {
document.getElementById("existingPort").disabled = true;
if (resp.embedded == "true") {
if (resp.replication == "true") {
document.getElementById("existingRepPort").disabled = true;
message = '<small>$page.getQuoteEscapedLocalizedString("existing.port.values.replication")</small>';
document.getElementById("existingRepPort").disabled = false;
message='<small>$page.getQuoteEscapedLocalizedString("existing.port.values.noreplication")</small>';
document.getElementById("replicationMessage").innerHTML= message;
document.getElementById("existingStoreHost").disabled = true;
document.getElementById("existingStorePort").disabled = true;
$('existingHostStatus').innerHTML = '$page.getQuoteEscapedLocalizedString("validating.url.string")';
AjaxUtils.call(call+hostname, validateServerURL);
var message = response.responseText;
AjaxUtils.call(call+portVal, localPortResponse);
AjaxUtils.call(call+portVal, localPortResponse);
AjaxUtils.call(call+portVal, localPortResponse);
$('tab4').style.color = "#D3D3D3";
$('tab6').style.color = "#D3D3D3";
AjaxUtils.call("$context$path?actionLink=setReplication&multi=enable&ie7fix=" + ie7fix);
$('tab6').style.color = "";
$('tab4').style.color = "";
AjaxUtils.call("$context$path?actionLink=setReplication&multi=disable&ie7fix=" + ie7fix);
document.getElementById("configStoreSSL").disabled = false;
document.getElementById("configStoreHost").disabled = false;
if ( document.getElementById("configStoreHost").value == "" )
document.getElementById("configStoreHost").value = "localhost";
document.getElementById("configStorePort").disabled = false;
document.getElementById("configStoreSSL").disabled = false;
document.getElementById("configStoreHost").disabled = false;
remoteDSHost = document.getElementById("configStoreHost").value;
document.getElementById("configStoreHost").value = remoteDSHost;
document.getElementById("configStorePort").disabled = false;
remoteDSPort = document.getElementById("configStorePort").value;
document.getElementById("configStorePort").value = remoteDSPort;
AjaxUtils.call("$context$path?actionLink=setConfigType&type=remote&ie7fix=" + ie7fix);
AjaxUtils.call("$context$path?actionLink=setConfigType&type=embedded&ie7fix=" + ie7fix);
(document.getElementById('configStorePassword').value != '');
AjaxUtils.call("$context$path?actionLink=validateSMHost&ie7fix=" + ie7fix,
return (value.length > 0);
if (response.responseText == "ok") {
YAHOO.util.Event.onDOMReady(initConfig);
<input type="radio" id="existingNo" name="existingInstance" value="false" onclick="disableExisting();" $selectFirstSetup />
<input type="radio" id="existingYes" name="existingInstance" value="true" onclick="enableExisting();" $selectExistingSetup />
onkeyup="APP.callDelayed(this, validateConfigStoreHost)"
onchange="APP.callDelayed(this, validateConfigStoreHost)"/>
onkeyup="APP.callDelayed(this, validateConfigStorePort)"
onchange="APP.callDelayed(this, validateConfigStorePort)"/>
onkeyup="APP.callDelayed(this, validateAdminPort)"
onchange="APP.callDelayed(this, validateAdminPort)"/>
onkeyup="APP.callDelayed(this, validateJmxPort)"
onchange="APP.callDelayed(this, validateJmxPort)"/>
onkeyup="APP.callDelayed(this, validateEncKey)"
onchange="APP.callDelayed(this, validateEncKey)"/>
onkeyup="APP.callDelayed(this, validateRootSuffix)"
onchange="APP.callDelayed(this, validateRootSuffix)"/>
onkeyup="APP.callDelayed(this, validateConfigStoreLoginId )"
onchange="APP.callDelayed(this, validateConfigStoreLoginId )"/>
value="#if($store.password)$store.password#{end}"
onkeyup="APP.callDelayed(this, validateConfigStorePassword )"
onchange="APP.callDelayed(this, validateConfigStorePassword )"/>
onkeyup="APP.callDelayed(this, validateHostName)"
onchange="APP.callDelayed(this, validateHostName)"/>
onkeyup="APP.callDelayed(this, validateLocalConfigPort)"
onchange="APP.callDelayed(this, validateLocalConfigPort)"/>
onkeyup="APP.callDelayed(this, validateLocalConfigAdminPort)"
onchange="APP.callDelayed(this, validateLocalConfigAdminPort)"/>
onkeyup="APP.callDelayed(this, validateLocalRepPort)"
onchange="APP.callDelayed(this, validateLocalRepPort)"/>
onkeyup="APP.callDelayed(this, validateLocalConfigJmxPort)"
onchange="APP.callDelayed(this, validateLocalConfigJmxPort)"/>
onkeyup="APP.callDelayed(this, validateExistingPort)"
onchange="APP.callDelayed(this, validateExistingPort)"/>
onkeyup="APP.callDelayed(this, validateExistingRepPort)"
onchange="APP.callDelayed(this, validateExistingRepPort)"/>
onkeyup="APP.callDelayed(this, validateSMHost)"
onchange="APP.callDelayed(this, validateSMHost)"/>
onkeyup="APP.callDelayed(this, validateConfigStorePort)"
onchange="APP.callDelayed(this, validateConfigStorePort)"/>