123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: ASV
- (C) Copyright IBM Corp. 2005, 2015
- 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/subscribe.xml,messages/portal.xml, messages/portalRL.xml" resolverBase="prompting" requiredCapability="canUseConditionalSubscriptions">
- <!--
- ===============================================================================================
- formlogic_init - standard form logic initialization
- ===============================================================================================
- -->
- <xts:block id="formlogic_init" type="exec" mode="interpret" processor="XSLT" path="/logicsheets/formlogic_init.xslt" nodelist="env,credential,system,http"/>
- <!--
- ================================================================================
- If the CM roots (personal/public) have not been determined (i.e. exist in the session) then get them
- ===============================================================================================
- -->
- <xts:block id="getRootNames" path="portal/cmroots.xml" condition=".[not(/root/session/param[@name = 'e_proot'])]" processor="XSLT" type="exec" mandatory="false">
- <xts:logicsheet path="logicsheets/buslogic.xslt"/>
- </xts:block>
- <!--
- ================================================================================
- Load default root map for CM objects
- ===============================================================================================
- -->
- <xts:block id="getRootMap" type="exec" mode="input" processor="XML" path="/portal/uiExtensions.xml" mandatory="false">
- <xts:logicsheet path="/logicsheets/uiobjects/uiobjects_roots.xslt"/>
- </xts:block>
- <!--
- ================================================================================
- start us on the right path if we've started from RV
- ================================================================================
- -->
- <xts:block id="startingFromRV" processor="XSLT" type="exec" condition=".[/root/env/param[@name='rv.selectionSpecXML'] and /root/env/param[@name='rv.selectionSpecXML']!='' ]" mandatory="false">
- <xts:logicsheet path="logicsheets/portal.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: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:template match="/">
- <xts:sequence>
- <!-- need information about the report - the defaultName to be precise -->
- <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:search>
- <xsl:value-of select="/root/env/param[@name='rv.periodicalProducer']"/>
- </cm:search>
- <cm:properties>
- <cm:property name="ancestors"/>
- <cm:property name="defaultName"/>
- <cm:property name="searchPath"/>
- </cm:properties>
- </cm:query>
- </xts:transform>
- </send:request>
- </xts:transform>
- </xts:append>
- <xts:append>
- <periodicalProducerParent>
- <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:search>
- <xts:function name="xmlencode">
- <xts:param name="source">
- <xts:queryValue select="/root/*[local-name()='queryResponse']/*/*[local-name()='ancestors']/*[local-name()='ancestorInfo'][last()]/*[local-name()='searchPath']"/>
- </xts:param>
- </xts:function>
- </cm:search>
- <cm:properties>
- <cm:property name="searchPath"/>
- <cm:property name="permissions"/>
- </cm:properties>
- </cm:query>
- </xts:transform>
- </send:request>
- </xts:transform>
- </periodicalProducerParent>
- </xts:append>
- <!-- build all the variables that we need -->
- <xts:append select="/root/env">
- <!-- build everything from the selection spec we're given -->
- <xts:transform src="subscribe/transforms/disassembleSelectionSpec.xslt" processor="XSLT">
- <xts:param name="logicsheet">logicsheets/portal.xsl</xts:param>
- <xts:transform src="subscribe/transforms/assembleSelectionSpec.xslt" processor="XSLT">
- <root>
- <selection>
- <xts:transform src="subscribe/transforms/filterUsageSelectionSpec.xslt" processor="XSLT">
- <xts:transform name="XMLDecode">
- <xsl:value-of select="/root/env/param[@name='rv.selectionSpecXML']"/>
- </xts:transform>
- </xts:transform>
- </selection>
- </root>
- </xts:transform>
- </xts:transform>
- <!-- build variables for the periodical producer - pretend we got this from the schedule -->
- <xts:transform src="subscribe/transforms/disassembleAgentSchedule.xslt" processor="XSLT">
- <xts:param name="logicsheet">logicsheets/portal.xsl</xts:param>
- <xts:param name="logicsheet">logicsheets/presentation/controls/framework.xsl</xts:param>
- <xts:param name="logicsheet">logicsheets/presentation/controls/presentation.xsl</xts:param>
- <root>
- <schedule>
- <periodicalProducer>
- <xts:queryNode select="/root/*[local-name()='queryResponse']/*"/>
- </periodicalProducer>
- </schedule>
- <periodicalProducerParent>
- <xts:queryNode select="/root/*[local-name()='periodicalProducerParent']/*[local-name()='queryResponse']/*"/>
- </periodicalProducerParent>
- <xsl:copy-of select="/root/session"/>
- </root>
- </xts:transform>
- </xts:append>
- <!-- now that everything is as we'd like - remove the RV names -->
- <xts:delete select="/root/env/param[starts-with(@name, 'rv.')]"/>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- <!--
- ===============================================================================================
- Get all the information from CM
- ===============================================================================================
- -->
- <xts:block id="getSubscriptionContent" path="subscribe/blocks/getSubscriptionContentPortal.xslt" processor="XSLT" type="exec" condition=".[/root/env/param[@name='m_obj'] and /root/env/param[@name='m_obj']!='' and not(/root/env/param[@name='m_subData_report'])]" mandatory="false">
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
- <xts:logicsheet path="logicsheets/buslogic.xslt"/>
- </xts:block>
- <!--
- ===============================================================================================
- Query for the default destination container
- ===============================================================================================
- -->
- <xts:block id="getSubscriptionVariables" processor="XSLT" type="exec" dependency="getSubscriptionContent" condition=".[/root/env/param[@name='m_obj'] and /root/env/param[@name='m_obj']!='' and not(/root/env/param[@name='m_subData_report']) ]" mandatory="false">
- <xts:logicsheet path="logicsheets/portal.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: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:template match="/">
- <xts:sequence>
- <xts:append select="/root/env">
- <!-- get the name/description/screen tip for the subscription -->
- <param name="m_p_defaultDescription">
- <xts:queryValue select="/root/*[local-name()='queryResponse']/*[local-name()='queryReply']/*[local-name()='reportDataServiceAgentDefinition']/*[local-name()='defaultDescription']"/>
- </param>
- <param name="m_p_defaultName">
- <xts:queryValue select="/root/*[local-name()='queryResponse']/*[local-name()='queryReply']/*[local-name()='reportDataServiceAgentDefinition']/*[local-name()='defaultName']"/>
- </param>
- <param name="m_p_defaultScreenTip">
- <xts:queryValue select="/root/*[local-name()='queryResponse']/*[local-name()='queryReply']/*[local-name()='reportDataServiceAgentDefinition']/*[local-name()='defaultScreenTip']"/>
- </param>
- <!-- say where this agent is -->
- <param name="m_path">
- <xts:queryValue select="/root/*[local-name()='queryResponse']/*[local-name()='queryReply']/*[local-name()='reportDataServiceAgentDefinition']/*[local-name()='ancestors']/*[local-name()='ancestorInfo'][last()]/*[local-name()='searchPath']"/>
- </param>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- <!--
- ===============================================================================================
- processReponse - Process the response from the callMorphlet block and either displays
- the markup or processes the results
- ===============================================================================================
- -->
- <xts:block id="processResponse" path="/portal/emailOptions/logicsheets/process_email_options.xslt" processor="XSLT" dependency="getSubscriptionVariables" type="exec" condition=".[/root/env/param[@name='m_obj'] and /root/env/param[@name='m_obj']!='' and not(/root/env/param[@name='m_subData_report']) ]" mandatory="false">
- <xts:logicsheet path="logicsheets/presentation/dialog/controller-templates.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/templates.xsl"/>
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="logicsheets/buslogic.xslt"/>
- </xts:block>
- <!--
- ================================================================================
- create the user capabilities structure
- ===============================================================================================
- -->
- <xts:block id="addSample" path="subscribe/blocks/addSample.xslt" dependency="startingFromRV processResponse" processor="XSLT" type="exec" condition=".[not(/root/env/param[@name='m_subData_report']) and not(/root/env/param[@name='m_obj'])]" mandatory="false"/>
- <!--
- ===============================================================================================
- Query for the default destination container
- ===============================================================================================
- -->
- <xts:block id="getContent" processor="XSLT" type="exec" dependency="addSample getRootNames getRootMap">
- <xts:logicsheet path="logicsheets/portal.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: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:template match="/">
- <!-- most of these have to be redefined -->
- <xsl:variable name="class" select="'reportDataServiceAgentDefinition'"/>
- <xsl:variable name="CMRoot" select="/root/CMRootMap/class[@name=$class]"/>
- <xsl:variable name="usePath">
- <xsl:choose>
- <xsl:when test="string(/root/env/param[@name='so.searchPath'])!=''">
- <xsl:value-of select="/root/env/param[@name='so.searchPath']"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="/root/env/param[@name='m_path']"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="path">
- <xsl:choose>
- <xsl:when test="$usePath != '' and (not($CMRoot/@fixedRoot) or $CMRoot/@fixedRoot!='T')">
- <xsl:value-of select="$usePath"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$CMRoot/@root"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xts:sequence>
- <!-- get some new stuff -->
- <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>
- <cm:query xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/">
- <cm:search>
- <xsl:value-of select="$path"/>
- </cm:search>
- <cm:properties>
- <cm:property name="defaultName"/>
- <cm:property name="searchPath"/>
- <cm:property name="ancestors"/>
- <cm:property name="permissions"/>
- <cm:property name="storeID"/>
- </cm:properties>
- </cm:query>
- <xsl:if test="string($CMRoot/@root) = '/content' ">
- <cm:query xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/">
- <cm:search>
- <xsl:value-of select="/root/session/param[@name='e_hp']"/>/folder[permission("write") and permission("traverse")]</cm:search>
- <cm:properties>
- <cm:property name="defaultName"/>
- <cm:property name="permissions"/>
- <cm:property name="storeID"/>
- </cm:properties>
- </cm:query>
- </xsl:if>
- </cm:requests>
- </cm:query>
- </xts:transform>
- </send:request>
- </xts:transform>
- </xts:append>
- <xts:delete select="/root/env/param[contains(string(@name),'pagerfrom')]"/>
- <xts:delete select="/root/env/param[contains(string(@name),'pagerto')]"/>
- <xts:delete select="/root/env/param[@name='pageitem']"/>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- <!--
- ===============================================================================================
- format - render the page - for an invalid selection
- ===============================================================================================
- -->
- <xts:block id="formatInvalid" dependency="getContent" mode="output" processor="XSLT" type="exec" mimeType="text/html" condition=".[/root/env/param[@name='m_subData_dtype_domain']='invalid']" mandatory="false">
- <!-- get the debug logic sheet -->
- <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/framework.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/centralabout.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/layout.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/touch_up.xslt"/>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- 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:ca="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/centralabout/"
- xmlns:qsdlg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/qs/dialog/"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:bus="http://developer.cognos.com/schemas/bibus/3/"
- xmlns:ut="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/ui-templates/"
- exclude-result-prefixes="xsl xts lyt pf dp df ca qsdlg bus xtsext ut">
- <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
- <!-- add any theme variables -->
- <pf:variables/>
- <!-- get the title -->
- <xsl:variable name="wizardTitle">
- <xts:string id="IDS_CUSTSUB_TITLE"/>
- </xsl:variable>
- <xsl:variable name="new-general-title">
- <xts:string id="IDS_CUSTSUB_INVALID_TITLE">
- <xts:param name="wizardTitle">
- <xsl:value-of select="$wizardTitle"/>
- </xts:param>
- </xts:string>
- </xsl:variable>
- <!-- start the output -->
- <xsl:template match="/root">
- <xsl:text disable-output-escaping="yes"><!DOCTYPE html></xsl:text>
- <dp:page longTitle="$new-general-title">
- <dp:meta>
- <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
- <meta name="Copyright" content="Copyright (C) 2008 Cognos Incorporated. All Rights Reserved."/>
- <meta name="Trademark" content="Cognos and the Cognos logo are trademarks of Cognos Incorporated."/>
- <title>
- <xsl:value-of select="$new-general-title"/>
- </title>
- </dp:meta>
- <dp:script>
- <script type="text/javascript">
- function doCancel() {
- window.close();
- }
- </script>
- <!-- Help system -->
- <pf:help context="HID_MY_WATCH_ITEMS"/>
- </dp:script>
- <dp:header>
- <!-- header titles-->
- <dp:title>
- <xsl:value-of select="$new-general-title"/>
- </dp:title>
- <dp:close>
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='backURL']">
- <a href="{/root/env/param[@name = 'backURL']}">
- <dp:closeMarker/>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <a href="javascript:doCancel()">
- <dp:closeMarker/>
- </a>
- </xsl:otherwise>
- </xsl:choose>
- </dp:close>
- </dp:header>
- <lyt:layout style="1">
- <lyt:section>
- <dp:group>
- <dp:groupItem valign="top">
- <dp:text nospace="nospace" wrap="wrap">
- <xts:string id="IDS_CUSTSUB_INVALID"/>
- </dp:text>
- </dp:groupItem>
- </dp:group>
- </lyt:section>
- </lyt:layout>
- <!-- page footer -->
- <dp:footer>
- <df:button df:id="IDS_OK" df:style="href">
- <df:href>
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='backURL']">
- <xsl:value-of select="/root/env/param[@name='backURL']"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>javascript:doCancel();</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </df:href>
- </df:button>
- </dp:footer>
- </dp:page>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- <!--
- ===============================================================================================
- format - render the page - for a valid selection
- ===============================================================================================
- -->
- <xts:block id="format" dependency="formatInvalid" mode="output" processor="XSLT" type="exec" mimeType="text/html" condition=".[/root/env/param[@name='m_subData_dtype_domain']!='invalid']" mandatory="false">
- <!-- get the debug logic sheet -->
- <xts:logicsheet path="subscribe/logicsheets/rdsad.xsl"/>
- <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/controls/framework.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/controls/presentation.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/framework.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/centralabout.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/layout.xsl"/>
- <xts:logicsheet path="logicsheets/formlogic.xslt"/>
- <xts:logicsheet path="logicsheets/presentation/touch_up.xslt"/>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:lyt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/layout/"
- 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: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:ca="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/centralabout/"
- xmlns:utml="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/"
- xmlns:qsdlg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/qs/dialog/"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:bus="http://developer.cognos.com/schemas/bibus/3/"
- xmlns:rdsad="http://developer.cognos.com/schemas/xts/rdsad/"
- xmlns:ut="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/ui-templates/"
- exclude-result-prefixes="xsl xts lyt pf cp cf dp df ca utml qsdlg bus xtsext rdsad ut">
- <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
- <!-- add any theme variables -->
- <pf:variables/>
- <cp:flyoutControl/>
- <!-- get the title -->
- <xsl:variable name="wizardTitle">
- <xts:string id="IDS_CUSTSUB_TITLE"/>
- </xsl:variable>
- <xsl:variable name="new-general-title">
- <xts:string id="IDS_CUSTSUB_CONDITION_TITLE">
- <xts:param name="wizardTitle">
- <xsl:value-of select="$wizardTitle"/>
- </xts:param>
- </xts:string>
- </xsl:variable>
- <!-- start the output -->
- <xsl:template match="/root">
- <xsl:text disable-output-escaping="yes"><!DOCTYPE html></xsl:text>
- <dp:page longTitle="$new-general-title">
- <dp:meta>
- <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
- <meta name="Copyright" content="Copyright (C) 2008 Cognos Incorporated. All Rights Reserved."/>
- <meta name="Trademark" content="Cognos and the Cognos logo are trademarks of Cognos Incorporated."/>
- </dp:meta>
- <dp:script>
- <script type="text/javascript" src="{$webcontent}/{$app}/js/CCflyoutMenu.js"/>
- <script type="text/javascript">
- function doCancel() {
- window.close();
- }
-
- function validate()
- {
- return conditionValidate();
- }
-
- </script>
- <!-- Help system -->
- <pf:help context="HID_MY_WATCH_ITEMS"/>
- </dp:script>
- <utml:form name="pform" method="post" action="{$gateway}">
- <!-- we're taking control of all the all the pv_ params ourselves -->
- <utml:exclude-prefix>m_sub_</utml:exclude-prefix>
- <utml:input type="hidden" name="controller_state" value="" utml:update="false"/>
- <dp:header>
- <!-- header titles-->
- <dp:title>
- <xsl:value-of select="$new-general-title"/>
- </dp:title>
- <dp:description>
- <xts:string id="IDS_CUSTSUB_CONDITION_INTRO"/>
- </dp:description>
- <dp:close>
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='backURL']">
- <a href="{/root/env/param[@name = 'backURL']}">
- <dp:closeMarker/>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <a href="javascript:doCancel()">
- <dp:closeMarker/>
- </a>
- </xsl:otherwise>
- </xsl:choose>
- </dp:close>
- </dp:header>
- <lyt:layout style="1">
- <lyt:section>
- <!-- pull in the logicsheet for the condition display -->
- <rdsad:conditionDisplay/>
- </lyt:section>
- </lyt:layout>
- <!-- page footer -->
- <dp:footer>
- <xsl:variable name="next-target">
- <!-- we know where we're going -->
- <xsl:text>subscribe/conditional_subscribe2.xts</xsl:text>
- </xsl:variable>
- <df:button df:id="IDS_CANCEL" df:style="href">
- <df:href>
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='backURL']">
- <xsl:value-of select="/root/env/param[@name='backURL']"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>javascript:doCancel();</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </df:href>
- </df:button>
- <df:button df:id="IDS_BACK"/>
- <df:button df:id="IDS_NEXT" df:style="maintain" utml:validate="true">
- <df:target>
- <xsl:value-of select="$next-target"/>
- </df:target>
- </df:button>
- <df:button df:id="IDS_FINISH"/>
- </dp:footer>
- </utml:form>
- </dp:page>
- </xsl:template>
- <!-- pull in the additional templates used by the display -->
- <rdsad:conditionDisplayTemplates/>
- <rdsad:enumTemplates/>
- </xsl:stylesheet>
- </xts:block>
- <!-- Debug -->
- <!-- ============================================================================= -->
- <xts:block id="debug" dependency="format" condition=".[ /root/session/param[@name='debug'] = '1' ]" type="exec" mode="output" processor="XSLT" mandatory="false" mimeType="text/html">
- <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
- <!-- debug logic sheet -->
- <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>
|