123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: ps
- (C) Copyright IBM Corp. 2005, 2021
- 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:morphlet xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/portal.xml, messages/portalRL.xml" includeConfig="true">
- <!--
- ===============================================================================================
- formlogic_init
- ===============================================================================================
- -->
- <xts:block id="formlogic_init" type="exec" mode="interpret" processor="XSLT" path="/logicsheets/formlogic_init.xslt" nodelist="env,credential,system,http"/>
- <!--
- ===============================================================================================
- getRoutingServerContent - Get the routing server information from CM
- ===============================================================================================
- -->
- <xts:block id="getRoutingServerContent"
- dependency="formlogic_init"
- processor="XSLT" type="exec" mandatory="false"
- condition=".[/root/env/param[@name='m_obj'] and /root/env/param[@name='method'] and /root/env/param[@name='method']!='']" nodelist="env, header">
- <xts:logicsheet path="logicsheets/buslogic.xslt"/>
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/"
- xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- exclude-result-prefixes="xsl send xts cm">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <xsl:key name="env-param" match="/root/env/param" use="@name"/>
-
- <xsl:template match="/">
- <xts:sequence>
- <xts:append>
- <routing>
- <xts:transform src="transforms/CM/post-process.xslt" processor="XSLT">
- <send:request provider="cm">
- <xts:transform src="transforms/CM/pre-process.xslt" processor="XSLT">
- <cm:query>
- <cm:search>
- <xsl:choose>
- <xsl:when test="key('env-param', 'm_class')='agentDefinitionView'">
- <xsl:value-of select="key('env-param', 'm_obj')"/>/reportView
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="key('env-param', 'm_obj')"/>/report
- </xsl:otherwise>
- </xsl:choose>
- </cm:search>
- <cm:properties>
- <cm:property name="searchPath"/>
- <cm:property name="routingServerGroup"/>
- </cm:properties>
- </cm:query>
- </xts:transform>
- </send:request>
- </xts:transform>
- </routing>
- </xts:append>
- <xts:append select="/root/env">
- <param name="routingServerGroup"><xts:queryValue select="/root/routing/*[local-name()='queryResponse']/*/*[local-name()='routingServerGroup']"/></param>
- </xts:append>
- <xts:delete select="/root/routing"/>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
-
- <!--
- ===============================================================================================
- execute-method -
- ===============================================================================================
- -->
- <xts:block id="execute-method" processor="XSLT" dependency="formlogic_init getRoutingServerContent" type="exec" condition=".[ /root/env/param[@name='method'] and /root/env/param[@name='method']!='']" mandatory="false">
- <xts:logicsheet path="logicsheets/buslogic.xslt"/>
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:prompt="http://developer.cognos.com/schemas/xts/portal/iPrompting/1/"
- xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:SOAP-ENV="http://www.w3.org/2001/09/soap-envelope"
- SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" >
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
-
- <xsl:key name="env-param" match="/root/env/param" use="@name"/>
- <xsl:template match="/">
- <xts:sequence>
- <xts:append>
- <promptRequest>
- <send:request provider="xts" option="xml-multipart">
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='method'] = 'edit'">
- <prompt:collect>
- <promptObject>
- <xsl:value-of select="concat(/root/env/param[@name='m_obj'],'/*[@objectClass="report" or @objectClass="reportView"]')"/>
- </promptObject>
- <redirect>
- <xsl:choose>
- <!-- don't come back to the summary page if the user said he didn't want to see the summary page -->
- <xsl:when test="/root/env/param[@name='showSummary']='n'">portal/submit.xts</xsl:when>
- <xsl:otherwise><xsl:value-of select="/root/env/param[@name='m']"/></xsl:otherwise>
- </xsl:choose>
- </redirect>
- <parameterValues>
- <xsl:value-of select="/root/env/param[@name='parameterValues']" disable-output-escaping="yes"/>
- </parameterValues>
- <returnMorphlet>portal/runWithOptions/agentDefinition.xts</returnMorphlet>
- <routingServerGroup><xsl:value-of select="/root/env/param[@name='routingServerGroup']"/></routingServerGroup>
- <runAsync>true</runAsync>
- <showNoPromptsWarning>false</showNoPromptsWarning>
- </prompt:collect>
- </xsl:when>
- <xsl:otherwise>
- <xsl:element name="{key('env-param', 'method')}" namespace="http://developer.cognos.com/schemas/xts/portal/iPrompting/1/">
- <returnMorphlet>portal/runWithOptions/agentDefinition.xts</returnMorphlet>
- <showNoPromptsWarning>false</showNoPromptsWarning>
- <callFinish>true</callFinish>
- </xsl:element>
- </xsl:otherwise>
- </xsl:choose>
- </send:request>
- </promptRequest>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- <!--
- ===============================================================================================
- check-state -
- ===============================================================================================
- -->
- <xts:block id="check-state" path="/portal/iPrompting/logicsheets/check-state.xslt" processor="XSLT" type="exec" dependency="execute-method getRoutingServerContent">
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/templates.xsl"/>
- </xts:block>
-
- <!-- Main content request ======================================================= -->
- <xts:block id="getContent" processor="XSLT" type="exec" dependency="check-state getRoutingServerContent" condition=".[/root/view='properties' and not(/root/env/param[@name='visited_schedule_properties']) and not(/root/env/param[@name='showSummary']='n')]" mandatory="false">
- <xts:logicsheet path="logicsheets/presentation/dialog/templates.xsl"/>
- <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
- <xts:logicsheet path="logicsheets/buslogic.xslt"/>
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:cml="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/cml/1/"
- xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/"
- xmlns:dt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/templates/"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
-
- <xsl:key name="env-param" match="/root/env/param" use="@name"/>
- <xsl:template match="/">
- <xts:sequence>
- <xsl:if test="key('env-param','m_rp_parameters')">
- <dt:splitParameters/>
- </xsl:if>
-
- <xts:append>
- <xts:transform src="transforms/CM/post-process.xslt" processor="XSLT">
- <send:request provider="cm">
- <xts:transform src="transforms/CM/pre-process.xslt" processor="XSLT">
- <cm:query xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/">
- <cm:requests>
- <!-- Report/Query/ information -->
- <cm:query>
- <cm:search>
- <xsl:value-of select="key('env-param','m_obj')"/>
- </cm:search>
- <cm:properties>
- <cm:property name="searchPath"/>
- <cm:property name="defaultName"/>
- <cm:property name="ancestors"/>
- <cm:property name="objectClass"/>
- </cm:properties>
- </cm:query>
- </cm:requests>
- </cm:query>
- </xts:transform>
- </send:request>
- </xts:transform>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
-
- <!--
- ===============================================================================================
- queryDataSources -
- ===============================================================================================
- -->
- <xts:block id="queryDataSources" processor="XSLT" type="exec" dependency="getContent" condition=".[/root/view='properties' and /root/credentialParameters and not(/root/env/param[@name='showSummary']='n')]" mandatory="false">
- <xts:logicsheet path="logicsheets/buslogic.xslt"/>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/"
- xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <xsl:variable name="parameters" select="/root/parameters"/>
- <xsl:template match="/">
- <xts:sequence>
- <xts:append>
- <dataSources>
- <xts:transform src="transforms/CM/post-process.xslt" processor="XSLT">
- <send:request provider="cm">
- <xts:transform src="transforms/CM/pre-process.xslt" processor="XSLT">
- <cm:query>
- <cm:requests>
- <xsl:for-each select="/root/credentialParameters/credential">
- <cm:query>
- <cm:search>
- <xsl:value-of select="dataSourceConnection"/>
- </cm:search>
- <cm:properties>
- <cm:property name="defaultName"/>
- <cm:property name="parent"/>
- </cm:properties>
- <cm:options>
- <cm:refProps>
- <cm:refProp refPropName="parent">
- <cm:properties>
- <cm:property name="defaultName"/>
- </cm:properties>
- </cm:refProp>
- </cm:refProps>
- </cm:options>
- </cm:query>
- <xsl:if test="dataSourceSignon != ''">
- <cm:query>
- <cm:search>
- <xsl:value-of select="dataSourceSignon"/>
- </cm:search>
- <cm:properties>
- <cm:property name="defaultName"/>
- </cm:properties>
- </cm:query>
- </xsl:if>
- </xsl:for-each>
- </cm:requests>
- </cm:query>
- </xts:transform>
- </send:request>
- </xts:transform>
- </dataSources>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
-
- <!-- HTML output ======================================================= -->
- <xts:block id="format" mode="output" processor="XSLT" type="exec" dependency="queryDataSources check-state formlogic_init getContent getRoutingServerContent" mimeType="text/html" condition=".[/root/view='properties']" mandatory="false">
- <!-- logicsheets -->
- <!-- portal specific information -->
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
- <xts:logicsheet path="portal/iPrompting/logicsheets/common.xslt"/>
- <!-- Generic logicsheets -->
- <xts:logicsheet path="logicsheets/presentation/controls/framework.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/controls/presentation.xsl"/>
- <!-- Dialog specific logicsheets -->
- <xts:logicsheet path="logicsheets/presentation/dialog/templates.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/framework.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/layout.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>
- <!-- apply the form logic -->
- <xts:logicsheet path="logicsheets/formlogic.xslt"/>
- <xts:logicsheet path="logicsheets/validation.xslt"/> .
- <xts:logicsheet path="logicsheets/presentation/touch_up.xslt"/>
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/"
- xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:lyt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/layout/"
- 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:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/"
- xmlns:cml="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/cml/1/"
- xmlns:utml="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/"
- xmlns:dt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/templates/"
- xmlns:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/"
- xmlns:prt="http://developer.cognos.com/schemas/xts/iPrompting/logicsheets/common"
- exclude-result-prefixes="xts xsl cm pf xtsext lyt dp df cf cp prt">
-
- <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no" omit-xml-declaration="yes"/>
-
- <!-- Global template variables -->
- <pf:variables/>
-
- <xsl:variable name="mname" select="'runWithOptions/report_confirm.xts'"/>
- <xsl:variable name="browserTitle"><xts:string id="IDS_COGNOS_REPORTS"/></xsl:variable>
-
- <!-- start the output -->
- <xsl:template match="/root">
- <xsl:text disable-output-escaping='yes'><!DOCTYPE html></xsl:text><dp:page longTitle="$browserTitle">
- <dp:meta>
- <pf:meta/> <!-- Standard meta tags -->
- </dp:meta>
-
- <dp:script>
- <pf:help context="HID_RUN_REPORT"/> <!-- Help system -->
- <script language="javascript">
- var okCounter = 0;
- function onClickOK()
- {
- okCounter++;
- if (okCounter > 1)
- {
- if (okCounter > 2)
- {
- return false;
- }
- var msg = "<xts:string id="IDS_OTHERRUN_REQUEST_SUBMITTED" encode="javascript"><xts:param name="objName"><xsl:choose><xsl:when test="key('env-param', 'ui.name')"><xsl:value-of select="xtsext:javascriptencode(string(key('env-param', 'ui.name')))"/></xsl:when><xsl:otherwise><xsl:value-of select="xtsext:javascriptencode(string(key('env-param', 'm_name')))"/></xsl:otherwise></xsl:choose></xts:param></xts:string>";
- alert(msg);
- return false;
- }
- return true;
- }
-
- function <xsl:text/>
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='visited_schedule_properties'] or /root/env/param[@name='showSummary']='n'">init()</xsl:when>
- <xsl:otherwise>runReport()</xsl:otherwise>
- </xsl:choose>
- {
- var frm = document.pform;
-
- <!-- if the user doesn't have a credential saved in CM then get CAM to generate one -->
- if (!frm.m_sp_credential && (frm.backgroundRun && frm.backgroundRun.value == 'later'))
- {
- frm.h_CAM_action.value = 'generateTC';
- }
-
- <!-- when running in the background make sure that we don't prompt the user -->
- if (document.pform.m_ro_prompt)
- document.pform.m_ro_prompt.value = 'false';
-
- document.pform.ps_nav_op.value = 'submit';
- document.pform.m.value = 'portal/submit.xts';
- document.pform.submit();
- }
- </script>
- </dp:script>
- <utml:form name="pform" method="post" action="{$gateway}">
- <utml:read-only>false</utml:read-only>
- <utml:input type="hidden" name="ifrmcmd" utml:update="false">
- <xsl:attribute name="value">
- <xsl:choose>
- <xsl:when test="not(key('env-param', 'visited_schedule_properties'))">execute</xsl:when>
- <xsl:otherwise>save</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- </utml:input>
- <utml:input type="hidden" name="ps_nav_op" value="" utml:update="false"/>
- <utml:input name="h_CAM_action" type="hidden" utml:update="false"/>
- <!-- if we didn't come from the schedule dialog the show the confirmation page -->
- <xsl:if test="not(key('env-param', 'visited_schedule_properties')) and (key('env-param', 'showSummary')='y')">
-
- <!-- header -->
- <dp:header>
- <dp:title>
- <xsl:value-of select="$browserTitle"/>
- </dp:title>
- </dp:header>
-
- <xsl:variable name="spacer">
- <img height="10" width="10">
- <xsl:attribute name="src"><xsl:value-of select="$webcontent"/>/images/space.gif</xsl:attribute>
- </img>
- </xsl:variable>
-
- <!-- body -->
- <lyt:layout style="1">
- <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="concat($webcontent, '/', $app, '/images/msg_information.gif')"/>
- </xsl:attribute>
- <xsl:attribute name="alt"><xts:string id="IDS_ICON_INFORMATION" encode="html"/></xsl:attribute>
- </img>
- </dp:boxSection>
- <dp:boxSection>
- <dp:choice>
- <dp:section1>
- <xts:string id="IDS_CONFIRMATION_TITLE">
- <xts:param name="objName">
- <xsl:choose>
- <xsl:when test="key('env-param', 'ui.name')">
- <xsl:value-of select="xtsext:enforceBTD(key('env-param', 'ui.name'), $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="xtsext:enforceBTD(key('env-param', 'm_name'), $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
- </xsl:otherwise>
- </xsl:choose>
- </xts:param>
- </xts:string>
- </dp:section1>
- <dp:section2/>
- <!-- time -->
- <dp:section1>
- <xsl:copy-of select="$spacer"/>
- <xsl:text><xts:string id="IDS_OTHERRUN_TIME"/></xsl:text>
- <xsl:value-of select="' '"/>
- <xsl:choose>
- <xsl:when test="not(key('env-param','backgroundRun')) or key('env-param','backgroundRun')='now'">
- <dp:text><xts:string id="IDS_CONFIRMATION_NOW"/></dp:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:variable name="date">
- <xsl:value-of select="concat(string(key('env-param', 'p_runDate')), 'T', substring-before(string(key('env-param', 'p_runTime')), '.'))"/>
- </xsl:variable>
- <!-- TODO: create and xtsext funtion to format the date -->
- <xsl:variable name="UTCDate">
- <xsl:value-of select="concat(substring(xtsext:formatDateToUTC( string( $date ), string( $timeZone ) ), 1, 16), ':00')"/>
- </xsl:variable>
- <xsl:value-of select="xtsext:enforceBTD(xtsext:formatDateFromUTC( string( $UTCDate ), number( '2' ), number( '3' ), string( $timeZone ), string( $contentLocale ) ), $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
- <xsl:variable name="formatDate">
- <xsl:value-of select="xtsext:formatDateFromUTC( string( $UTCDate ), number( '2' ), number( '3' ), string( $timeZone ), string( $contentLocale ) )"/>
- </xsl:variable>
- <xsl:value-of select="xtsext:enforceBTD($formatDate, 'auto', $productLocale, boolean($isBidiEnabled='true'))"/>
- </xsl:otherwise>
- </xsl:choose>
- </dp:section1>
- <dp:section2/>
-
- <xsl:variable name="parameters" select="./parameters"/>
- <xsl:variable name="credentials" select="./credentialParameters"/>
- <!-- Prompt information -->
- <xsl:if test="$parameters">
- <xsl:for-each select="$parameters/*[local-name()='parameterValue']">
- <dp:section1>
- <xsl:copy-of select="$spacer"/>
- <xsl:value-of select="*[local-name()='name']"/>
- <xsl:text><xts:string id="IDS_LIST_START"/></xsl:text>
- <xsl:apply-templates mode="render-values"/>
- </dp:section1>
- <dp:section2/>
- </xsl:for-each>
- </xsl:if>
- <xsl:if test="$credentials">
- <xsl:for-each select="$credentials/credential">
- <dp:section1>
- <xsl:copy-of select="$spacer"/>
- <xsl:call-template name="render-credential">
- <xsl:with-param name="credential" select="."/>
- <xsl:with-param name="pos" select="position()"/>
- </xsl:call-template>
- </dp:section1>
- <dp:section2/>
- </xsl:for-each>
- </xsl:if>
- </dp:choice>
- <br/>
- <br/>
- <xsl:if test="not(key('env-param','backgroundRun')) or key('env-param','backgroundRun') = 'now'">
- <dp:choice>
- <dp:section1>
- <utml:input type="checkbox" name="viewHistoryCheckBox" id="ctrl_viewHistoryCheckBox"/>
- </dp:section1>
- <dp:section2 for="ctrl_viewHistoryCheckBox">
- <xts:string id="IDS_CONFIRMATION_VIEW_HISTORY_AGENT_CHECK_BOX"/>
- </dp:section2>
- </dp:choice>
- <br/>
- </xsl:if>
- <xts:string id="IDS_CONFIRMATION_QUESTION_AGENT"/>
- </dp:boxSection>
- </dp:box>
- </lyt:section>
- </lyt:layout>
- <!-- show this dialog again? -->
- <!-- Don't show this option for Anonymous users -->
- <xsl:if test="$is-named = '1'">
- <lyt:layout style="1">
- <lyt:section>
- <dp:choice>
- <dp:section1>
- <utml:input type="checkbox" name="showSummaryPage" value="y" checked="true" utml:track="true" id="ctrl_showSummaryPage"/>
- </dp:section1>
- <dp:section2 for="ctrl_showSummaryPage">
- <xts:string id="IDS_CONFIRMATION_SHOW_AGAIN"/>
- </dp:section2>
- </dp:choice>
- </lyt:section>
- </lyt:layout>
- </xsl:if>
-
- <!-- footer -->
- <dp:footer>
- <df:button df:id="IDS_OK" df:style="href" df:href="javascript:runReport();" onclick="return onClickOK()"/>
- <df:button df:id="IDS_CANCEL" df:style="stack-down"/>
- </dp:footer>
- </xsl:if>
- </utml:form>
- </dp:page>
- </xsl:template>
-
- <prt:renderValuePrompts/>
- <prt:renderCredentialPrompts/>
- </xsl:stylesheet>
- </xts:block>
-
- <!--
- ===============================================================================================
- debug - display debug information
- ===============================================================================================
- -->
- <xts:block id="debug" dependency="format" condition=".[/root/session/param[@name='debug']='1']" type="exec" mode="output" processor="XSLT" mandatory="false" mimeType="text/html">
- <!-- get the debug logic sheet -->
- <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dbg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/debug/" exclude-result-prefixes="dbg">
- <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no" omit-xml-declaration="yes"/>
- <xsl:template match="/">
- <dbg:dumpxml select="/root"/>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- </xts:morphlet>
|