options.htm revision ec2744bb1f5dca23072b9586b793382fbbb49bf0
0N/A var $ = YAHOO.util.Dom.get;
if ( response.responseText == "true" ) {
setTimeout("YAHOO.sun.identity.config.options.upgrading.hide()", 1500);
setTimeout("YAHOO.sun.identity.config.options.upgradeComplete.show()", 1500);
alert( "Unexpected error: [" + response.responseText + "]. Please contact your System " +
YAHOO.sun.identity.config.options.upgrade = new YAHOO.widget.Panel("upgrade", { fixedcenter: false, modal: true, close: true, visible:false, constraintoviewport:true });
YAHOO.util.Dom.removeClass('upgrade', 'license-accepted');
document.getElementById("upgrade-accept-check").checked = false;
document.getElementById("upgrade-accept-license-button").disabled = true;
YAHOO.util.Dom.removeClass('upgradeLink', 'disabled');
YAHOO.util.Event.addListener("upgradeLink", "click", showUpgradePanel );
var formError = (response != null && (response.getResponseHeader["formError"] != null));
if ( window.frames['progressIframe'] ) {
AjaxUtils.doPost("defaultSummary", "$context/config/defaultSummary.htm?" + getLocale(), AjaxUtils.serializeForm("defaultForm"), onDefaultSummarySuccess, onDefaultSummaryFailure);
var queryString = window.top.location.search.substring(1);
if (queryString.length > 0) {
var idx = queryString.indexOf(locale);
idx += locale.length;
var idx1 = queryString.indexOf('&', idx);
idx1 = queryString.length;
localeValue = queryString.substring (idx, idx1);
YAHOO.sun.identity.config.options.defaultSummary = new YAHOO.widget.Panel("defaultSummary", { width:"450px", fixedcenter: false, modal: true, close: true, visible:false, constraintoviewport:true });
YAHOO.util.Dom.removeClass('defaultSummary', 'license-accepted');
document.getElementById("accept-check").checked = false;
document.getElementById("acceptLicenseButton").disabled = true;
YAHOO.util.Dom.removeClass('DemoConfiguration', 'disabled');
YAHOO.util.Event.addListener("DemoConfiguration", "click", setOptionOne );
YAHOO.sun.identity.config.options.wizard = new YAHOO.widget.Panel("wizard", { fixedcenter: false, modal: true, close: true, visible:false, constraintoviewport:true });
YAHOO.util.Dom.removeClass('wizard', 'license-accepted');
document.getElementById("wizard-accept-check").checked = false;
document.getElementById("wizard-accept-license-button").disabled = true;
YAHOO.util.Dom.removeClass('CreateNewConf', 'disabled');
YAHOO.util.Event.addListener("CreateNewConf", "click", setOptionTwo );
AjaxUtils.call( "$context$path?actionLink=resetSessionAttributes", onSetOption);
if (response.responseText === "true") {
var obj = document.getElementById("progressControl");
var obj1 = document.getElementById("progressDiv");
obj.innerHTML = "Show Progress";
obj1.style.display ="none";
obj.innerHTML = "Hide progress log";
obj1.style.display="block";
YAHOO.util.Dom.addClass('options-container', 'license-loaded');
licenseTXT = response.responseText;
AjaxUtils.load('upgradeContainer', "$context/config/upgrade/upgrade.htm?" + getLocale(), renderUpgradePanel);
AjaxUtils.load('defaultSummaryContainer', "$context/config/defaultSummary.htm?" + getLocale(), renderDefaultSummary);
AjaxUtils.load('wizardContainer', "$context/config/wizard/wizard.htm?" + getLocale(), renderWizard);
YAHOO.sun.identity.config.options.inProgress = new YAHOO.widget.Panel("inProgress", { width:"700px", fixedcenter: false, modal:true, close: false, visible:false, constraintoviewport:true });
YAHOO.sun.identity.config.options.confComplete = new YAHOO.widget.Panel("confComplete", { fixedcenter: false, modal:true, close: false, visible:false, constraintoviewport:true });
YAHOO.sun.identity.config.options.upgradeComplete = new YAHOO.widget.Panel("upgradeComplete", { fixedcenter: true, modal: true, close: false, visible:false, constraintoviewport:true });
YAHOO.sun.identity.config.options.upgrading = new YAHOO.widget.Panel("upgrading", { width:"240px", fixedcenter:true, close:false, draggable:false, zindex:4, modal:true, visible:false });
YAHOO.sun.identity.config.options.upgrading.setHeader("Upgrading configuration. Please wait...");
YAHOO.sun.identity.config.options.upgrading.setBody('<img src="$context/assets/images/rel_interstitial_loading.gif" />');
YAHOO.sun.identity.config.options.cannotContinue = new YAHOO.widget.Panel("cannotContinue", { fixedcenter: true, modal: true, close: false, visible:false, constraintoviewport:true });
YAHOO.util.Event.onDOMReady(init);
<a id="DemoConfiguration" class="blue pointer disabled" >$page.getLocalizedString("configuration.options.option1.link")</a>
<a id="CreateNewConf" class="blue pointer disabled" >$page.getLocalizedString("configuration.options.option2.link")</a>
<a id="launchConsoleLink2" class="blueSmall pointer">$page.getLocalizedString("launch.console.link")</a>
<iframe id="progressIframe" name="progressIframe" src="$context/assets/images/rel_interstitial_loading.gif" height=220 width=600 scrolling="no" frameborder="0">This browser cannot dipslay iframes.</iframe>
<a href="#" onClick="YAHOO.sun.identity.config.options.inProgress.hide(); return false;">$page.getLocalizedString("return.config.link")</a>
<a href="#" onclick="launchConsole(); return false">$page.getLocalizedString("go.to.login.screen")</a>