123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- <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/dialogIncludes.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:qsdialog="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 qsdialog xtsext">
- <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
- <!-- Default variables (like skin) and prompt variables -->
- <qsdialog:variables/>
- <qsdialog:promptVariables/>
- <!-- add any theme variables -->
- <df:variables/>
- <pf:variables/>
- <!-- start the output -->
- <xsl:template match="/root">
- <!--Get HTML output for the HEAD section -->
- <dp:page>
- <script type="text/javascript">
- goDialogManager.getApplicationFrame().cfgSet("suppressionUncheckedError", "<xts:string id="SUPPRESSION_ALL_UNCHECKED" encode="javascript"/>");
- </script>
- <dp:script>
- <qsdialog:headerIncludes dlgSize="280" featureName="Suppress" setupParameters="env"/>
- </dp:script>
- <xsl:variable name="sCurrentView">
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='xxCurrentView']='DIALOG_LIST'"><xts:string id="DIALOG_LIST"/></xsl:when>
- <xsl:otherwise><xts:string id="DIALOG_CROSSTAB"/></xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <form style="margin:0px" name="f" method="POST" onsubmit="return false;">
- <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
- <tr>
- <td colspan="2" valign="top">
- <!-- dialog header -->
- <dp:header help="false">
- <!-- header titles -->
- <dp:title>
- <xts:string id="MENU_EDIT_COLUMN_SUPPRESS"/>
- </dp:title>
- <!-- close link for the header -->
- <dp:close>
- <a href="javascript:goDialogManager.cancelDialog()">
- <dp:closeMarker/>
- </a>
- </dp:close>
- </dp:header>
- </td>
- </tr>
- <tr>
- <td colspan="2" valign="top">
- <lyt:layout style="1" border="no" joinSection="true">
- <lyt:section>
- <dp:input>
- <dp:section1>
- <xts:string id="DIALOG_CURRENT_VIEW"/>
- </dp:section1>
- <dp:section2>
- <xsl:value-of select="$sCurrentView"/>
- </dp:section2>
- </dp:input>
- </lyt:section>
- </lyt:layout>
- </td>
- </tr>
- <tr>
- <td valign="top">
- <lyt:layout style="1" border="no" joinSection="true">
- <lyt:section>
- <span nocOnly="disabled">
- <dp:choice title="SUPPRESS_THE_FOLLOWING">
- <dp:section1>
- <input type="radio" name="suppressionType" value="SUPPRESS_OFF">
- <xsl:if test="/root/env/param[@name='xxSuppressionType']='SUPPRESS_OFF'">
- <xsl:attribute name="checked">true</xsl:attribute>
- </xsl:if>
- </input>
- </dp:section1>
- <dp:section2>
- <xts:string id="SUPPRESS_OFF"/>
- </dp:section2>
-
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='xxCurrentView']='DIALOG_LIST'">
- <!-- List -->
- <dp:section1>
- <input type="radio" name="suppressionType" value="SUPPRESS_ROWS">
- <xsl:if test="/root/env/param[@name='xxSuppressionType']='SUPPRESS_ROWS'">
- <xsl:attribute name="checked">true</xsl:attribute>
- </xsl:if>
- </input>
- </dp:section1>
- <dp:section2>
- <xts:string id="ROWS"/>
- </dp:section2>
- </xsl:when>
- <xsl:otherwise>
- <!-- Crosstab -->
- <!-- Don't show rows and columns if multi-edge support is off -->
- <xsl:if test="/root/env/param[@name='xxIsMultiEdgeNullSuppressionAllowed']='true'">
- <dp:section1>
- <input type="radio" name="suppressionType" value="SUPPRESS_ROWS_AND_COLUMNS">
- <xsl:if test="/root/env/param[@name='xxSuppressionType']='SUPPRESS_ROWS_AND_COLUMNS'">
- <xsl:attribute name="checked">true</xsl:attribute>
- </xsl:if>
- </input>
- </dp:section1>
- <dp:section2>
- <xts:string id="ROWS_AND_COLUMNS"/>
- </dp:section2>
- </xsl:if>
-
- <!-- Don't show rows if multi-edge support is off and columns is selected-->
- <xsl:if test="/root/env/param[@name='xxIsMultiEdgeNullSuppressionAllowed']='true' or /root/env/param[@name='xxSuppressionType'] != 'SUPPRESS_COLUMNS'">
- <dp:section1>
- <input type="radio" name="suppressionType" value="SUPPRESS_ROWS">
- <xsl:if test="/root/env/param[@name='xxSuppressionType']='SUPPRESS_ROWS'">
- <xsl:attribute name="checked">true</xsl:attribute>
- </xsl:if>
- </input>
- </dp:section1>
- <dp:section2>
- <xts:string id="ROWS_ONLY"/>
- </dp:section2>
- </xsl:if>
-
- <!-- Don't show columns if multi-edge support is off and rows is selected-->
- <xsl:if test="/root/env/param[@name='xxIsMultiEdgeNullSuppressionAllowed']='true' or /root/env/param[@name='xxSuppressionType'] != 'SUPPRESS_ROWS'">
- <dp:section1>
- <input type="radio" name="suppressionType" value="SUPPRESS_COLUMNS">
- <xsl:if test="/root/env/param[@name='xxSuppressionType']='SUPPRESS_COLUMNS'">
- <xsl:attribute name="checked">true</xsl:attribute>
- </xsl:if>
- </input>
- </dp:section1>
- <dp:section2>
- <xts:string id="COLUMNS_ONLY"/>
- </dp:section2>
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </dp:choice>
- </span>
- </lyt:section>
- </lyt:layout>
- </td>
- <xsl:if test="/root/env/param[@name='xxIsAccessToNullSuppressionOptionsAllowed']='true'">
- <td valign="top">
- <lyt:section>
- <dp:choice title="SUPPRESS_TYPE_OF_VALUES">
- <dp:section>
- <dp:section1>
- <input type="checkbox" name="suppressZeroValues" value="SUPPRESS_ZERO_VALUES">
- <xsl:if test="/root/env/param[@name='xxSuppressionValuesZero']='true'">
- <xsl:attribute name="checked">true</xsl:attribute>
- </xsl:if>
- </input>
- </dp:section1>
- <dp:section2>
- <xts:string id="SUPPRESS_ZERO_VALUES"/>
- </dp:section2>
- </dp:section>
- <dp:section>
- <dp:section1>
- <input type="checkbox" name="suppressDivideByZero" value="SUPPRESS_DIVIDE_BY_ZERO">
- <xsl:if test="/root/env/param[@name='xxSuppressionValuesDivideByZero']='true'">
- <xsl:attribute name="checked">true</xsl:attribute>
- </xsl:if>
- </input>
- </dp:section1>
- <dp:section2>
- <xts:string id="SUPPRESS_DIVIDE_BY_ZERO"/>
- </dp:section2>
- </dp:section>
- <dp:section>
- <dp:section1>
- <input type="checkbox" name="suppressMissingValues" value="SUPPRESS_MISSING_VALUES">
- <xsl:if test="/root/env/param[@name='xxSuppressionValuesMissing']='true'">
- <xsl:attribute name="checked">true</xsl:attribute>
- </xsl:if>
- </input>
- </dp:section1>
- <dp:section2>
- <xts:string id="SUPPRESS_MISSING_VALUES"/>
- </dp:section2>
- </dp:section>
- <dp:section>
- <dp:section1>
- <input type="checkbox" name="suppressOverflowValues" value="SUPPRESS_OVERFLOW_VALUES">
- <xsl:if test="/root/env/param[@name='xxSuppressionValuesOverflow']='true'">
- <xsl:attribute name="checked">true</xsl:attribute>
- </xsl:if>
- </input>
- </dp:section1>
- <dp:section2>
- <xts:string id="SUPPRESS_OVERFLOW_VALUES"/>
- </dp:section2>
- </dp:section>
- </dp:choice>
- </lyt:section>
- </td>
- </xsl:if>
- </tr>
- <tr>
- <td colspan="2">
- <!-- Use default buttons [ OK = execute() and CANCEL = hideDialogFrame() ] -->
- <qsdialog:defaultButtons/>
- </td>
- </tr>
- <!--dbg:dumpxml select="/"/-->
- </table>
- </form>
- </dp:page>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- </xts:morphlet>
|