| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 | <xts:morphlet resolverBase="prompting" xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/QSRVUITextPL.xml,messages/portal.xml,messages/portalRL.xml" requiredCapability="canUseQueryStudio, canUseQueryStudioAdvancedMode">	<!--Licensed Materials - Property of IBMBI and PM: qs(C) Copyright IBM Corp. 2001, 2017US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.--><!--    Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.    Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).-->	<xts:block id="format" 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="qs/logicsheets/dialogs.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: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:qsdlg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/qs/dialog/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" exclude-result-prefixes="xsl xts lyt pf dp df cp cf dbg qsdlg xtsext">			<xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>			<!-- Default variables (like skin) and prompt variables -->			<qsdlg:variables/>			<qsdlg:promptVariables/>			<!-- Prompt Control XSL include -->			<xsl:include href="p_include.xsl"/>			<!-- add any theme variables -->			<df:variables/>			<pf:variables/>			<!-- start the output -->			<xsl:template match="/root">				<!--Get HTML output for the HEAD section -->				<dp:page>					<dp:script>						<xsl:call-template name="getPromptCommonIncludes"/>						<xsl:call-template name="getselectWithSearchIncludes">							<xsl:with-param name="promptLocale" select="$promptLocale"/>							<xsl:with-param name="promptContentLocale" select="$contentLocale"/>						</xsl:call-template>						<link rel="stylesheet" type="text/css" href="{$qsdlgskin}/qs/QSRVDialog.css" />						<script type="text/javascript">							<xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/layout.js</xsl:attribute>							<xsl:text/>//<xsl:text/>						</script>						<script type="text/javascript">							<xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/dialogs/filterDialog.js</xsl:attribute>							<xsl:text/>//<xsl:text/>						</script>						<script type="text/javascript">							<xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/classes/CDialogManager.js</xsl:attribute>							<xsl:text/>//<xsl:text/>						</script>						<script type="text/javascript">							<xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/classes/CWindowManager.js</xsl:attribute>							<xsl:text/>//<xsl:text/>						</script>						<script type="text/javascript"><!--var goDialogManager = new CDialogManager();var cf = getConfigFrame();var onlyPrompt = false;var promptsRetrieved = false;var complexFilterType = "selectWithSearch";function cancelDialog(){	getConfigFrame().hideCModal();}function execute(){	var fct = getConfigFrame().dlgGlobalGetParm("csCALLBACK");	var param = new Array();	for (i = 0; i < searchpSearch.m_oLstChoices.length; i++)	{		var value = searchpSearch.m_oLstChoices.options[i].value;		var text = searchpSearch.m_oLstChoices.options[i].text;		param[param.length] = new Array(value,text);	}	if (typeof fct == "function") {		fct(param,getNullOption());	}	getConfigFrame().hideCModal();}function invokePickDlg(sNullOption){	var cf = getConfigFrame();	cf.dlgSetParm("m", "/" + cf.qs_dir + "/condStylesPickList.xts");	<!--	// we disable the Null Option ui for conditional styles.	// it will interfere with Xtab's styling solution	cf.dlgGlobalSetParm('xxIsNullAllowed', true);	cf.dlgGlobalSetParm('xxNullOption', sNullOption);	-->	cf.showModal("<xts:string id="COND_STYLE_PICKLIST_TITLE" encode="javascript"/>", "<xts:string id="CLOSE" encode="javascript"/>", 300, 350);}function invokeTypeDlg(sNullOption){	var cf = getConfigFrame();	cf.dlgSetParm("m", "/" + cf.qs_dir + "/condStylesEditBox.xts");	<!--	// we disable the Null Option ui for conditional styles.	// it will interfere with Xtab's styling solution	cf.dlgGlobalSetParm('xxIsNullAllowed', true);	cf.dlgGlobalSetParm('xxNullOption', sNullOption);	-->	cf.showModal("<xts:string id="COND_STYLE_PICKER_TYPE_TITLE" encode="javascript"/>", "<xts:string id="CLOSE" encode="javascript"/>", 525, 325);}function init(){	document.body.className = 'body_dialog_modal';	initNullOptions();	if (searchpSearch.m_oLstChoices.options.length == 0)	{		var uv = null; // for use value		var dv = null; // for display value		if (cf.dlgGlobalGetParm("xxPickListIsLoaded") != true)		{			for (var j = 0; j < cf.dlgGlobalSize("xxPickList"); j++) {				uv = fd_getUseValue(cf.dlgGlobalGetParmAt("xxPickList", j));				dv = fd_getDisplayValue(cf.dlgGlobalGetParmAt("xxPickList", j));				searchpSearch.addNoUpdate(dv, uv);			}		}		searchpSearch.update();		cf.dlgGlobalSetParm("xxPickListIsLoaded", true);	}	document.f._sws_pSearch_searchValue.focus();	sendSearchRequest(true);}//--></script>					</dp:script>					<form class="body_dialog_modal" style="margin:0px" name="f" method="POST" onSubmit="execute();return false;">						<table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">							<tr>								<td width="100%" height="0%">									<table border="0" width="100%" cellspacing="0" cellpadding="0" style="padding-left:5px;">										<tr>											<td width="10" valign="middle">												<img width="10">													<xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/common/images/spacer.gif</xsl:attribute>												</img>											</td>											<td align="right" valign="top">												<table border="0" cellpadding="0" cellspacing="0"><tr>													<td valign="top" nowrap="nowrap" class="dialogHeaderLink" align="right">														<a href="javascript:invokePickDlg(getNullOption())">															<xts:string id="FILTER_PICK_VALUES"/>														</a>													</td>													<xsl:if test="not(contains(' level hierarchy ',concat(' ',/root/env/param[@name='xxDataType'],' ')))">														<td valign="top" nowrap="nowrap" class="dialogHeaderLink" align="right">															<a href="javascript:invokeTypeDlg(getNullOption())">																<xts:string id="FILTER_TYPE_IN_VALUES"/>															</a>														</td>													</xsl:if>												</tr></table>										</td></tr>									</table>								</td>							</tr>							<tr>								<td width="100%" height="100%" valign="top">									<lyt:layout style="1" border="no">										<lyt:section>											<dp:input>												<dp:section1>													<xsl:call-template name="getSelectWithSearch">														<xsl:with-param name="promptLocale" select="$promptLocale"/>														<xsl:with-param name="promptFormName" select="$promptFormName"/>														<xsl:with-param name="promptRequired" select="'false'"/>														<xsl:with-param name="promptMultiSelect" select="'true'"/>														<xsl:with-param name="promptHideAdornments" select="'false'"/>														<xsl:with-param name="promptSubmitType" select="'XML'"/>														<xsl:with-param name="promptParameter" select="'searchEngine'"/>														<xsl:with-param name="promptId" select="'pSearch'"/>														<xsl:with-param name="promptSearchFunction" select="'sendSearchRequest'"/>													</xsl:call-template>												</dp:section1>											</dp:input>										</lyt:section>									</lyt:layout>									<qsdlg:nullOptions/>								</td>							</tr>						</table>					</form>				</dp:page>			</xsl:template>		</xsl:stylesheet>	</xts:block></xts:morphlet>
 |