| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 | <?xml version="1.0" encoding="UTF-8"?><!--Licensed Materials - Property of IBMIBM Cognos Products: AGS(C) Copyright IBM Corp. 2005, 2008US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.--><xts:morphlet version="1.0" xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/AGS.xml,messages/portal.xml,messages/portalRL.xml" requiredCapability="canUseEventStudio">    <xts:block id="page" type="exec" mode="output" processor="XSLT" mimeType="text/html">        <!-- get the debug logic sheet -->        <xts:logicsheet path="logicsheets/debuglogic.xslt"/>        <!-- get the new theme stuff -->        <xts:logicsheet path="logicsheets/portal.xsl"/>        <xts:logicsheet path="logicsheets/presentation/dialog/framework.xsl"/>        <xts:logicsheet path="logicsheets/presentation/layout.xsl"/>        <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>        <xts:logicsheet path="logicsheets/presentation/controls/framework.xsl"/>        <xts:logicsheet path="logicsheets/presentation/controls/presentation.xsl"/>        <xts:logicsheet path="logicsheets/cm-logic.xsl"/>        <!-- apply the form logic -->        <xts:logicsheet path="logicsheets/formlogic.xslt"/>        <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xts="http://developer.cognos.com/schemas/xts/" xmlns:lyt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/layout/" xmlns:pf="http://developer.cognos.com/schemas/xts/pf" xmlns:dp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/presentation/" xmlns:df="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/framework/" xmlns:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/" xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/" xmlns:dbg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/debug/" xmlns:utml="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" exclude-result-prefixes="xsl xts lyt pf dp df cp cf dbg xtsext">            <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>            <!-- add any theme variables -->            <df:variables/>            <pf:variables/>            <!-- start the output -->            <xsl:template match="/root">                <xsl:text disable-output-escaping='yes'><!DOCTYPE html></xsl:text><dp:page>                    <link href="{$skin_root}/ags/ags.css" type="text/css" rel="stylesheet"/>                    <link href="{$skin_root}/ags/crn.css" type="text/css" rel="stylesheet"/>                    <dp:script>                        <meta name="Copyright" content="Copyright (C) 2008 Cognos Incorporated. All Rights Reserved."/>                        <meta name="Trademark" content="Cognos and the Cognos logo are trademarks of Cognos Incorporated."/>                        <script type="text/javascript" src="../ags/layout.js">//</script>                        <script type="text/javascript" src="../ags/util.js">//</script>                        <script type="text/javascript">                            function init()                            {                            	var cf = getConfigFrame ? getConfigFrame() : null;                            	if (cf && cf.doOpenPopUpToSize)                            	{                            		var errorSection = document.getElementById("errorSection");                            		var errHt = cf.cfgGet('errAreaHt');                            		var errorDiv = document.getElementById("errDiv");                            		if(null != errorDiv) {                                		errorDiv.style.height = errHt;                                    }                            		                            		if (cf.pageErrors.length > 0)                            		{                            			var errorTable = document.createElement("table");                            			var errorTbody = document.createElement("tbody");                            			for (var i = 0; i < cf.pageErrors.length; i++)                            			{                            				var errorTr = document.createElement("tr");                            				var errorTd = document.createElement("td");                            				var errMsg = decode(cf.pageErrors[i]) ;                            				                            				errorTd.appendChild( document.createTextNode(errMsg));                            				errorTd.className = "formText";                            				errorTr.appendChild(errorTd);                            				errorTbody.appendChild(errorTr);                            			}                            			errorTable.appendChild(errorTbody);                            			errorSection.appendChild(errorTable);                            		}                            		// make it light for the browser                            		cf.pageErrors = new Array();                            	}                            	cf.cfgSet("agentHasChanged", true);                            }                            </script>                    </dp:script>                    <utml:form name="pform" method="post" action="{$gateway}">                        <dp:header help="false">                            <!-- header titles -->                            <dp:title><xts:string id="AGS_ERR_WINDOW_TITLE"/></dp:title>                            <!-- close link for the header -->                            <dp:close>                                <a href="#" onclick="getConfigFrame().doClosePopUp()">                                    <dp:closeMarker/>                                </a>                            </dp:close>                            <!-- description (hint text) -->                            <dp:description/>                        </dp:header>                        <!-- layout -->                        <lyt:layout style="1" border="no">                            <lyt:section>                                <dp:box valign="top">                                    <dp:boxSection hgap="20">                                        <img width="32" height="32" align="top" hspace="10">                                            <xsl:attribute name="src">                                                <xsl:value-of select="$webcontent"/>/<xsl:value-of select="$app"/>/images/msg_error.gif</xsl:attribute>                                        </img>                                    </dp:boxSection>                                    <dp:boxSection>                                        <div id="errDiv" style="width:500px; height:180px; overflow:auto; border: 1px solid black;">                                            <table style="width:100%; height:100%;">                                                <tr>                                                    <td id="errorSection" style="width:100%; height:100%;" class="formText"/>                                                </tr>                                            </table>                                        </div>                                    </dp:boxSection>                                </dp:box>                            </lyt:section>                        </lyt:layout>                        <dp:footer>                                <df:button df:id="IDS_OK" df:style="href" df:href="#" onclick="getConfigFrame().doClosePopUp();"/>                        </dp:footer>                    </utml:form>                </dp:page>            </xsl:template>        </xsl:stylesheet>    </xts:block></xts:morphlet>
 |