123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: AGS
- (C) Copyright IBM Corp. 2005, 2014
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <xts:morphlet xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/portal.xml,messages/portalRL.xml,messages/AGS.xml" resolverBase="prompting" includeConfig="true" requiredCapability="canUseEventStudio">
- <!--
- ================================================================================
- decode the agent items (which contain the agentOptions)
- ===============================================================================================
- -->
- <xts:block id="decodeAgentDefinition" processor="XSLT" type="exec" condition=".[/root/env/param[@name = 'agent_definition_blob']]" mandatory="false">
- <xts:logicsheet path="logicsheets/presentation/dialog/templates.xsl"/>
- <xts:logicsheet path="logicsheets/buslogic.xslt"/>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xts="http://developer.cognos.com/schemas/xts/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" exclude-result-prefixes="xsl xtsext xts">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <xsl:template match="/">
- <xts:sequence>
- <xsl:if test="/root/env/param[@name = 'agent_definition_blob']">
- <xts:append select="/root">
- <xsl:value-of select="xtsext:web64decode( xtsext:cafaction('sign_unwrap_settemplatename_decodeagentdefinition_settemplateid_addreport001', string( /root/env/param[@name = 'agent_definition_blob'])), true() )" disable-output-escaping="yes"/>
- </xts:append>
- </xsl:if>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
-
- <!--
- ===============================================================================================
- formlogic_init - standard form logic initialization
- ===============================================================================================
- -->
- <xts:block id="formlogic_init" type="exec" dependency="decodeAgentDefinition" mode="interpret" processor="XSLT" path="/logicsheets/formlogic_init.xslt"/>
-
- ===============================================================================================
- Main content request
- ===============================================================================================
- -->
- <xts:block id="getContent" processor="XSLT" type="exec" dependency="formlogic_init">
- <xts:logicsheet path="logicsheets/presentation/dialog/templates.xsl"/>
- <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
- <xts:logicsheet path="portal/runWithOptions/logicsheets/request.xslt"/>
- <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: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/" xmlns:rdr="http://developer.cognos.com/schemas/xts/rdr/" exclude-result-prefixes="xsl cml dt cm rdr">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <cml:variables/>
- <cml:object-predicates/>
- <xsl:template match="/">
- <xts:sequence>
- <!-- page definition -->
- <rdr:Requests>
- <rdr:Request type="pageDefinition"/>
- <!-- Use long hand query instead of the rdr:request way. This is because we do not want
- the executionPrompt property included. See bug 490342.0 for more information -->
- <!-- Report/Query/Job/ information -->
- <cm:query>
- <cm:search>
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='selected_path']">
- <xsl:value-of select="/root/env/param[@name='selected_path']"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="/root/env/param[@name='m_ro_selected_path']"/>
- </xsl:otherwise>
- </xsl:choose>
- </cm:search>
- <cm:properties>
- <cm:property name="defaultName"/>
- <cm:property name="searchPath"/>
- <cm:property name="permissions"/>
- <cm:property name="ancestors"/>
- <cm:property name="base"/>
- <cm:property name="canBurst"/>
- <cm:property name="parent"/>
- <cm:property name="parameters"/>
- <cm:property name="executionFormat"/>
- <cm:property name="executionLocale"/>
- <cm:property name="executionPageOrientation"/>
- <cm:property name="executionPageDefinition"/>
- <cm:property name="runAsOwner"/>
- <cm:property name="triggerName"/>
- <cm:property name="defaultTriggerDescription"/>
- </cm:properties>
- <cm:options>
- <cm:refProps>
- <cm:refProp refPropName="base">
- <cm:properties>
- <cm:property name="defaultName"/>
- <cm:property name="searchPath"/>
- <cm:property name="permissions"/>
- <cm:property name="canBurst"/>
- <cm:property name="triggerName"/>
- <cm:property name="defaultTriggerDescription"/>
- </cm:properties>
- </cm:refProp>
- <cm:refProp refPropName="parent">
- <cm:properties>
- <cm:property name="searchPath"/>
- <cm:property name="permissions"/>
- </cm:properties>
- </cm:refProp>
- </cm:refProps>
- </cm:options>
- </cm:query>
- <rdr:Request type="credential"/>
- <rdr:Request type="burstCapability"/>
- <rdr:Request type="accountOptions" mode="report"/>
- </rdr:Requests>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
-
- <!--
- ===============================================================================================
- createDeliveryOptionsQueries - generate queries for any delivery options that may have been defined. Queries generated
- will:
- 1. get the defaultName and userName for any selected recipient(s)
- 2. get the printer defaultName and printerAddress when print is set to true
- 3. get the report defaultName and ancestors when saving a report view
- ===============================================================================================
- -->
- <xts:block id="createDeliveryOptionsQueries" processor="XSLT" type="exec" dependency="getContent" condition=".[/root/agent_definition/agentOptions]" mandatory="false">
- <xts:logicsheet path="logicsheets/presentation/dialog/templates.xsl"/>
- <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
- <xts:logicsheet path="portal/runWithOptions/logicsheets/request.xslt"/>
- <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: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/" xmlns:rdr="http://developer.cognos.com/schemas/xts/rdr/" exclude-result-prefixes="xsl cml dt cm rdr">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <cml:variables/>
- <xsl:template match="/">
- <xts:sequence>
- <!-- get the delivery option CM queries-->
- <xts:append>
- <deliveryOptionsQueries>
- <xts:transform src="transforms/portal/options/generateCMQueriesForDeliveryInfo.xslt" processor="XSLT">
- <root>
- <!-- only query CM for delivery options when UIHelpers is empty-->
- <checkUIHelpers>false</checkUIHelpers>
- <queryReply><xsl:copy-of select="/root/agent_definition/*[local-name()='agentOptions']"/></queryReply>
- <xsl:copy-of select="/root/agent_definition/*[local-name()='agentOptions']/*[local-name()='UIHelpers']"/>
- </root>
- </xts:transform>
- </deliveryOptionsQueries>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
-
- <!--
- ===============================================================================================
- processDeliveryOptionsQueries:
- Query CM for the necessary information to build the delivery options summaries
- ===============================================================================================
- -->
- <xts:block id="processDeliveryOptionsQueries" dependency="createDeliveryOptionsQueries" type="exec" mode="interpret" processor="XSLT" condition=".[/root/deliveryOptionsQueries/*[local-name()='query']]" mandatory="false" nodelist="header,env,http,cookies,deliveryOptionsQueries">
- <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:xtsext="xalan://com.cognos.xts.ext.XTSExt">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <xsl:template match="/">
- <xts:sequence>
- <xts:append>
- <deliveryOptionsInfo>
- <xts:transform src="transforms/CM/post-process.xslt" processor="XSLT">
- <send:request provider="cm" requester="AGS:report_options_popup">
- <xts:transform src="transforms/CM/pre-process.xslt" processor="XSLT">
- <cm:query xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/">
- <cm:requests>
- <xsl:copy-of select="/root/deliveryOptionsQueries/*[local-name()='query']"/>
- </cm:requests>
- </cm:query>
- </xts:transform>
- </send:request>
- </xts:transform>
- </deliveryOptionsInfo>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
-
-
- <!--
- ===========================================================================================================
- createROParamsForAgentDefaults
- create the m_ro_* parameters for the agent defaults. Only create these when the agent defaults have been overridden and the report
- options have not
- ===========================================================================================================
- -->
- <xts:block id="createROParams" dependency="processDeliveryOptionsQueries" processor="XSLT" type="exec" condition=".[not(/root/env/param[@name='override_default_run_options']='true') and /root/agent_definition/agentOptions/form-vars/param[@name='override_default_options']='true']" mandatory="false">
- <xts:logicsheet path="logicsheets/presentation/dialog/templates.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/controls/framework.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/controls/presentation.xsl"/>
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:x="x" xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/" xmlns:dt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/templates/" xmlns:pf="http://developer.cognos.com/schemas/xts/pf" xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/" xmlns:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" exclude-result-prefixes="xts xtsext xsl x cm dt pf cf cp">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <pf:variables/>
- <xsl:variable name="reportIsBurstable" select="/root/*[local-name()='queryResponse']/*[local-name()='queryReply'][2]/*[local-name()='report']/*[local-name()='canBurst']='true'"/>
- <xsl:variable name="burstOptionSet" select="/root/agent_definition/agentOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item'][name='burst']/*[local-name()='value']='true'"/>
- <xsl:template match="/">
- <xts:sequence>
- <!-- when the agent defaults have been overridden and the report options have not then
- the m_ro_* options must be created. This ensures the UI summary string is rendered properly-->
- <xts:append select="/root/env">
- <xts:transform src="transforms/portal/options/generateParams.xslt" processor="XSLT">
- <xsl:element name="root">
- <!-- copy the run options that we have -->
- <xsl:copy-of select="/root/agent_definition/agentOptions/options"/>
- </xsl:element>
- </xts:transform>
- </xts:append>
-
- <!-- generate the summary strings for the email options-->
- <xsl:choose>
- <!-- the UI helper params are present so use them -->
- <xsl:when test="/root/agent_definition/agentOptions/*[local-name()='UIHelpers']">
- <xts:append select="/root/env">
- <param name="emailSummary"><xsl:value-of select="/root/agent_definition/agentOptions/*[local-name()='UIHelpers']/*[local-name()='emailSummary']"/></param>
- <param name="emailRecipientsCount"><xsl:value-of select="/root/agent_definition/agentOptions/*[local-name()='UIHelpers']/*[local-name()='emailRecipientsCount']"/></param>
- <param name="emailDescription"><xsl:value-of select="/root/agent_definition/agentOptions/*[local-name()='UIHelpers']/*[local-name()='emailRecipients']"/></param>
- <param name="printerSummary"><xsl:value-of select="/root/agent_definition/agentOptions/*[local-name()='UIHelpers']/*[local-name()='printerSummary']"/></param>
- <param name="hasRecipients"><xsl:value-of select="/root/agent_definition/agentOptions/*[local-name()='UIHelpers']/*[local-name()='hasRecipients']"/></param>
- </xts:append>
- </xsl:when>
- <!-- let's now generate the UI helper params-->
- <xsl:otherwise>
- <xsl:call-template name="dt:generateUIHelpersFromOptions">
- <xsl:with-param name="queryReplyPath" select="/root/agent_definition/*[local-name()='agentOptions']"/>
- <xsl:with-param name="deliveryInfo" select="/root/deliveryOptionsInfo/*[local-name()='queryResponse']"/>
- <xsl:with-param name="appendPath" select="'/root/env'"/>
- <xsl:with-param name="currentReply" select="'1'"/>
- <xsl:with-param name="genParams" select="true()"/>
- </xsl:call-template>
- </xsl:otherwise>
- </xsl:choose>
- </xts:sequence>
- </xsl:template>
- <dt:generateUIHelpersFromOptions/>
- </xsl:stylesheet>
- </xts:block>
-
- <!--
- ===============================================================================================
- createDeliveryOptionsBlob - the email options page expects a deliveryOptionsBlob so make sure we build it here
- ===============================================================================================
- -->
- <xts:block id="createDeliveryOptionsBlob" processor="XSLT" type="exec" dependency="createROParams" condition=".[(not(/root/env/param[@name='controller_state']) or /root/env/param[@name='controller_state']='') and not(/root/env/param[@name='deliveryOptions'])]" mandatory="false">
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/templates.xsl"/>
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:dt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/templates/"
- xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/" exclude-result-prefixes="xsl dt pf xtsext cm">
- <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
- <pf:variables/>
- <pf:serialize-xml/>
- <xsl:template match="/">
- <xts:sequence>
- <xsl:if test="/root/agent_definition/agentOptions/*[local-name()='options']">
- <xts:append>
- <extractedOptions>
- <xts:transform src="transforms/portal/options/extractEmailOptions.xslt" processor="XSLT">
- <xsl:copy-of select="/root/agent_definition/agentOptions/*[local-name()='options']"/>
- </xts:transform>
- </extractedOptions>
- </xts:append>
- </xsl:if>
- <!-- create the /root/env/param[@name="deliveryOptions"] blob to be used by email options dialog-->
- <xts:append select="/root/env">
- <xts:transform src="portal/controls/create_web64_param.xslt" processor="XSLT">
- <param name="deliveryOptions">
- <passport><xsl:value-of select="$passport"/></passport>
- <markup>
- <xts:transform name="XMLEncode">
- <xts:transform src="transforms/portal/options/buildOptions.xslt" processor="XSLT">
- <root>
- <xts:queryNode select="/root/extractedOptions/emailOptions/*"/>
- </root>
- </xts:transform>
- </xts:transform>
- </markup>
- </param>
- </xts:transform>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
-
- <!--
- ===============================================================================================
- HTML output
- ===============================================================================================
- -->
- <xts:block id="format" mode="output" processor="XSLT" type="exec" dependency="createDeliveryOptionsBlob" mimeType="text/html">
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
- <xts:logicsheet path="ags/logicsheets/dialogs.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/ui-templates.xsl"/>
- <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"/>
- <xts:logicsheet path="logicsheets/presentation/controls/framework.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/controls/presentation.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/confirm.xslt"/>
- <xts:logicsheet path="logicsheets/formlogic.xslt"/>
- <xts:logicsheet path="logicsheets/validation.xslt"/>
- <xts:logicsheet path="logicsheets/presentation/touch_up.xslt"/>
- <xts:logicsheet path="logicsheets/presentation/controls/framework.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/controls/presentation.xsl"/>
- <xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
- xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/"
- 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:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:lyt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/layout/"
- xmlns:ut="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/ui-templates/"
- 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:dc="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/confirm/1/"
- xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/"
- xmlns:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/"
- xmlns:utml="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/"
- xmlns:thm="http://developer.cognos.com/schemas/xts/logicsheets/xslt/theme/"
- xmlns:dt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/templates/"
- xmlns:agsdlg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/ags/dialog/"
- exclude-result-prefixes="xsl cf cp df dp dc lyt cm cml thm utml xtsext ut dt agsdlg">
- <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
- <!-- Global template variables -->
- <pf:variables/>
- <dp:variables/>
- <xsl:variable name="mname" select="'report_options_popup.xts'"/>
- <xsl:variable name="allowPDF"><xsl:if test="not(/root/session/param[@name='capabilities']/canGeneratePDFOutput)">false</xsl:if></xsl:variable>
- <xsl:variable name="allowXML"><xsl:if test="not(/root/session/param[@name='capabilities']/canGenerateXMLOutput)">false</xsl:if></xsl:variable>
- <xsl:variable name="allowCSV"><xsl:if test="not(/root/session/param[@name='capabilities']/canGenerateCSVOutput)">false</xsl:if></xsl:variable>
- <xsl:variable name="allowXLS"><xsl:if test="not(/root/session/param[@name='capabilities']/canGenerateXLSOutput)">false</xsl:if></xsl:variable>
- <xsl:variable name="restrictedUser" select="$allowPDF='false' or $allowXML='false' or $allowCSV='false' or $allowXLS='false'"/>
- <!-- start the output -->
- <xsl:template match="/root">
- <xsl:variable name="browserTitle">
- <xts:string id="DIALOG_SELECT_REPORT_OPTIONS_TITLE">
- <xts:param name="objectName">
- <xsl:value-of select="key('env-param', 'taskName')"/>
- </xts:param>
- </xts:string>
- </xsl:variable>
- <xsl:text disable-output-escaping="yes"><!DOCTYPE html></xsl:text>
- <dp:page longTitle="$browserTitle">
- <dp:meta>
- <pf:meta/>
- <!-- Standard meta tags -->
- </dp:meta>
- <!-- get the JavaScript needed for the prompt controls -->
- <dp:script>
- <pf:help context="ug_cr_as_ag_wrk_chng_rprt_optns" eventStudio="true"/>
- <script language="javascript">
- function onOverrideClicked()
- {
- toggledynamicDiv('disabledFooter');toggledynamicDiv('enabledFooter');
- document.pform.ps_nav_op.value = 'maintain';
- document.pform.m.value = '/ags/report_run_options.xts';
- document.pform.submit();
- }
- function init() {
- <xsl:if test="$restrictedUser">
- onOverrideClicked();
- </xsl:if>
- showDynamicDiv('defaultOptions');
- }
- </script>
- </dp:script>
- <utml:form name="pform" method="post" action="{$gateway}">
- <utml:read-only>false</utml:read-only>
- <utml:input type="hidden" name="hid" id="hid" utml:update="false" value="ug_cr_as_ag_wrk_chng_rprt_optns"/>
- <!-- header -->
- <dp:header>
- <dp:title>
- <xsl:value-of select="$browserTitle"/>
- </dp:title>
- <dp:description>
- <xts:string id="DIALOG_SELECT_REPORT_AGENT_INTRO"/>
- </dp:description>
- </dp:header>
- <!-- body -->
- <lyt:layout style="2">
- <lyt:section width="40%">
- <dp:choice width="100%">
- <dp:section1>
- <utml:input type="checkbox" name="override_default_run_options" id="override_default_run_options" value="true" utml:track="true" utml:default-condition="key('env-param', 'override_default_run_options')='true'" onclick="onOverrideClicked();"/>
- </dp:section1>
- <dp:section2>
- <xts:string id="IDS_STEP_RUN_OVERRIDE_DEFAULT_OPTIONS"/>
- </dp:section2>
- <dp:section3 width="100%">
- <agsdlg:defaultReportOptionsDiv/>
- </dp:section3>
- </dp:choice>
- </lyt:section>
- </lyt:layout>
- <!-- footer(s) -->
- <cf:dynamicDiv name="enabledFooter" visible="true" initialize="false">
- <dp:footer>
- <df:button df:id="IDS_OK" utml:validate="true" df:style="stack-down"/>
- <df:button df:id="IDS_CANCEL" df:style="stack-down"/>
- </dp:footer>
- </cf:dynamicDiv>
- <cf:dynamicDiv name="disabledFooter" visible="false" initialize="false">
- <dp:footer>
- <dp:button state="inactive">
- <dp:buttonText><xts:string id="IDS_OK"/></dp:buttonText>
- </dp:button>
- <df:button df:id="IDS_CANCEL" df:style="stack-down"/>
- </dp:footer>
- </cf:dynamicDiv>
- </utml:form>
- </dp:page>
- </xsl:template>
- </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"/>
- <xsl:template match="/">
- <dbg:dumpxml select="/root"/>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- </xts:morphlet>
|