step4.htm revision 99690585c1f4c3ffb83c50bcb5cc0725cadff899
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus var userStoreDomainNameValid = true;
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus var userStoreHostValid = true;
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus var userStorePortValid = true;
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus var userStoreRootSuffixValid = true;
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus var userStoreLoginIdValid = true;
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus var userStorePasswordValid = false;
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus function allValid() {
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus var allFieldsValid = (userStoreHostValid && userStorePortValid &&
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus userStoreRootSuffixValid && userStoreLoginIdValid &&
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus userStorePasswordValid);
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus if (allFieldsValid) {
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus AjaxUtils.call("$context$path?actionLink=validateUMHost&ie7fix=" + ie7fix,
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus validateUMHost);
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus $('nextTabButton').disabled = true;
ff2835d14868672e6192c19f768bceda1a7b635cludo function adValid() {
ff2835d14868672e6192c19f768bceda1a7b635cludo var adFieldsValid = (userStoreDomainNameValid &&
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus userStoreLoginIdValid &&
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus userStorePasswordValid);
5a3bd0ef762b8a3238869ac9963194555e39e6a7jpikus if (adFieldsValid) {
AjaxUtils.call("$context$path?actionLink=validateUMDomainName&ie7fix=" + ie7fix, validateUMDomainName);
if (response.responseText == "ok") {
if (response.responseText == "ok") {
if (response.responseText == "ok") {
if (response.responseText == "ok") {
AjaxUtils.call(callUrl+param, validateSSLField);
AjaxUtils.call(callUrl+param, validateADSSLField);
AjaxUtils.call(callUrl+param, validateADUserFields);
AjaxUtils.call(callUrl+param, validateADUserFields);
AjaxUtils.doPost(null, callUrl, param, validateADUserFields,
AjaxUtils.call(callUrl+param, validateUserFields);
AjaxUtils.call(callUrl+param, validateUserFields);
AjaxUtils.call(callUrl+param, validateUserFields);
AjaxUtils.call(callUrl+param, validateUserFields);
AjaxUtils.doPost(null, callUrl, param, validateUserFields, null, null);
setType(document.getElementById("ldapv3adforDomainName").value);
AjaxUtils.call("$context$path?actionLink=resetUMEmbedded&ie7fix=" + ie7fix);
setType(document.getElementById("ldapv3ad").value);
setType(document.getElementById("ldapv3adam").value);
setType(document.getElementById("ldapv3odsee").value);
setType(document.getElementById("ldapv3opends").value);
setType(document.getElementById("ldapv3tivoli").value);
AjaxUtils.call(callUrl + "&type=" + type);
AjaxUtils.call("$context$path?actionLink=setUMEmbedded&ie7fix=" + ie7fix);
document.getElementById("ldapv3opends").checked=true;
AjaxUtils.call("$context$path?actionLink=resetUMEmbedded&ie7fix=" + ie7fix);
YAHOO.util.Event.onDOMReady(initUserStorePage);
<h1>$page.getLocalizedString("step4.title")<img class="pointer" src="$context/assets/images/message.gif"/></h1>
<td><label for="ldapv3opends" style="float:none"><input type="radio" id="ldapv3opends" name="userStoreType" value="LDAPv3ForOpenDS" $selectLDAPv3opends onclick="setOpenDS();"/> $page.getLocalizedString("opends.ldap.schema")</label></td>
<td><label for="ldapv3odsee" style="float:none"><input type="radio" id="ldapv3odsee" name="userStoreType" value="LDAPv3ForODSEE" $selectLDAPv3odsee onclick="setODSEE();"/> $page.getLocalizedString("odsee.ldap.schema")</label></td>
<td><label for="ldapv3adforDomainName" style="float:none"><input type="radio" id="ldapv3adforDomainName" name="userStoreType" value="LDAPv3ForADDC" $selectLDAPv3addc onclick="setADforDomainName();"/> $page.getLocalizedString("activedirectoryfordomainname.ldap.schema")</label></td>
<td><label for="ldapv3ad" style="float:none"><input type="radio" id="ldapv3ad" name="userStoreType" value="LDAPv3ForAD" $selectLDAPv3ad onclick="setAD();"/> $page.getLocalizedString("activedirectory.ldap.schema")</label><br></td>
<td><label for="ldapv3tivoli" style="float:none"><input type="radio" id="ldapv3tivoli" name="userStoreType" value="LDAPv3ForTivoli" $selectLDAPv3tivoli onclick="setTivoli();"/> $page.getLocalizedString("tivoli.ldap.schema")</label></td>
<td><label for="ldapv3adam" style="float:none"><input type="radio" id="ldapv3adam" name="userStoreType" value="LDAPv3ForADAM" $selectLDAPv3adam onclick="setADAM();"/> $page.getLocalizedString("adam.ldap.schema")</label></td>
<td><label for="userStoreSSL"><em>* </em>$page.getLocalizedString("directory.ssl.label")</label></td>
onClick="APP.callDelayed(this, validateUserStoreSSL)"/>
<td><label for="userStoreHost"><em>* </em>$page.getLocalizedString("directory.name.label")</label></td>
onkeyup="APP.callDelayed(this, validateUserStoreHost)"
onchange="APP.callDelayed(this, validateUserStoreHost)"/>
onkeyup="APP.callDelayed(this, validateUserStorePort)"
onchange="APP.callDelayed(this, validateUserStorePort)"/>
<td><label for="userStoreRootSuffix"><em>* </em>$page.getLocalizedString("root.suffix.label")</label></td>
onkeyup="APP.callDelayed(this, validateUserStoreRootSuffix)"
onchange="APP.callDelayed(this, validateUserStoreRootSuffix)"/>
<td><label for="userStoreLoginId"><em>* </em>$page.getLocalizedString("login.id.label")</label></td>
onkeyup="APP.callDelayed(this, validateUserStoreLoginId)"
onchange="APP.callDelayed(this, validateUserStoreLoginId)"/>
<td><label for="userStorePassword"><em>* </em>$page.getLocalizedString("password.label")</label></td>
onkeyup="APP.callDelayed(this, validateUserStorePassword )"
onchange="APP.callDelayed(this, validateUserStorePassword )" />
<td><label for="ADuserStoreSSL"><em>* </em>$page.getLocalizedString("directory.ssl.label")</label></td>
onClick="APP.callDelayed(this, validateADUserStoreSSL)"/>
<td><label for="userStoreDomainName"><em>* </em>$page.getLocalizedString("domain.name.label")</label></td>
onkeyup="APP.callDelayed(this, validateUserStoreDomainName)"
onchange="APP.callDelayed(this, validateUserStoreDomainName)"/>
<td><label for="ADuserStoreLoginId"><em>* </em>$page.getLocalizedString("login.id.label")</label></td>
onkeyup="APP.callDelayed(this, validateADUserStoreLoginId)"
onchange="APP.callDelayed(this, validateADUserStoreLoginId)"/>
<td><label for="ADuserStorePassword"><em>* </em>$page.getLocalizedString("password.label")</label></td>
onkeyup="APP.callDelayed(this, validateADUserStorePassword )"
onchange="APP.callDelayed(this, validateADUserStorePassword )" />