123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189 |
- <xts:morphlet resolverBase="prompting" xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/QSRVUITextPL.xml,messages/portal.xml,messages/portalRL.xml" requiredCapability="canUseQueryStudio">
- <!--
- Licensed Materials - Property of IBM
- BI and PM: qs
- (C) Copyright IBM Corp. 2001, 2017
- US 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="browserDetection" path="qs/browserDetection.xslt" mode="interpret" type="exec" processor="XSLT" contentId="browserDetection" partId="1"/>
- <xts:block id="format" type="exec" mode="output" processor="XSLT" mimeType="text/html" dependency="browserDetection">
- <!-- 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/>
- <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="getselectWithTreeIncludes">
- <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">
- <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/prompting/prompting.js</xsl:attribute>
- <xsl:text/>//<xsl:text/>
- </script>
- <script type="text/javascript">
- <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/prompting/CTreeIE5NS6.js</xsl:attribute>
- <xsl:text/>//<xsl:text/>
- </script>
- <script type="text/javascript"><!--
- var goDialogManager = new CDialogManager();
- var cf = getConfigFrame();
- var onlyPrompt;
- var complexFilterType = "tree";
- var ttRoot = null;
- var tntMember = new CTreeNodeType(TREE_ITEM, true, "<xsl:value-of select="$webRoot"/>/prompting/reportskin/prompting/images/genericTreeNode.gif", "<xsl:value-of select="$webRoot"/>/prompting/reportskin/prompting/images/genericTreeNode.gif");
- tntMember.setRecursiveSelect(false);
- var advClosedSize = 400;
- var sXXPromptName = "<xsl:value-of select="xtsext:javascriptencode(string(/root/env/param[@name='xxPromptParam']))"/>";
- var sFILTER_SEARCH_FOR_VALUES = "<xts:string id="FILTER_SEARCH_FOR_VALUES" encode="javascript"/>";
- function execute() { filterTree_execute(); }
- function buildFilterExpression() { return filterTree_buildFilterExpression(); }
- function init() { filterTree_init(); }
- function sendRequestForList() { filterTree_sendRequestForList(); }
- function processResponse(response) { filterTree_processResponse(response); }
- //--></script>
- </dp:script>
- <form 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%">
- <!-- dialog header -->
- <dp:header help="false">
- <!-- header titles -->
- <dp:title>
- <xts:string id="FILTER_PICK_TITLE"/>
- </dp:title>
- <!-- close link for the header -->
- <dp:close>
- <a href="javascript:this.cancelDialog()">
- <dp:closeMarker/>
- </a>
- </dp:close>
- <!-- header links -->
- <dp:headerLinks>
- <dp:headerLink>
- <dp:hl_attribute name="id">link1</dp:hl_attribute>
- </dp:headerLink>
- </dp:headerLinks>
- <!-- description (hint text) -->
- <dp:description>
- <xts:string id="FILTER_DATETIME_DESCRIPTION"/>
- </dp:description>
- </dp:header>
- </td>
- </tr>
- <tr width="100%" height="1">
- <td width="100%" height="100%" valign="top">
- <!-- layout -->
- <lyt:layout style="2" border="no">
- <lyt:section>
- <dp:input>
- <dp:section1>
- <xts:string id="FILTER_ON"/>
- </dp:section1>
- <dp:section2>
- <xsl:attribute name="id">colName</xsl:attribute>
- </dp:section2>
- </dp:input>
- </lyt:section>
- <lyt:section>
- <qsdlg:promptBox/>
- </lyt:section>
- </lyt:layout>
- <lyt:layout style="1" border="no" joinSection="true">
- <lyt:section>
- <qsdlg:conditionBox/>
- <xsl:variable name="style">
- <xsl:choose>
- <xsl:when test="/root/browserInfo/isNS6='true'">height:165px;max-width:200px;</xsl:when>
- <xsl:otherwise>height:165px;</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:call-template name="getSelectWithTree">
- <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="promptSelectUI" select="'checkboxGroup'"/>
- <xsl:with-param name="promptAutoSubmit" select="'false'"/>
- <!-- Setting promptParameter causes it to call the getpromptValues from promptTree.xts
- Then throws errors as the conversation and tracking variables are not passed.
- we do not need it here.
- -->
- <!--xsl:with-param name="promptParameter" select="'tree'"/-->
- <xsl:with-param name="promptId" select="'pList'"/>
- <xsl:with-param name="promptStyle" select="$style"/>
- </xsl:call-template>
- <qsdlg:nullOptions/>
- <qsdlg:filterBasedOnDSBox/>
- </lyt:section>
- </lyt:layout>
- </td>
- </tr>
- <tr>
- <td width="100%" height="0%">
- <!-- Use default buttons [ OK = execute() and CANCEL = hideDialogFrame() ] -->
- <qsdlg:defaultButtons/>
- </td>
- </tr>
- <!--dbg:dumpxml select="/"/-->
- </table>
- </form>
- </dp:page>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- </xts:morphlet>
|