123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: ps
- (C) Copyright IBM Corp. 2005, 2014
- 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">
-
- <!--
- ===============================================================================================
- formlogic_init
- ===============================================================================================
- -->
- <xts:block id="formlogic_init" type="exec" mode="interpret" processor="XSLT" path="/logicsheets/formlogic_init.xslt" nodelist="env,credential,system,http"/>
-
- <xts:block id="specialparams" mode="interpret" dependency="formlogic_init" condition=".[(/root/command/*/routingServerGroup and /root/command/*/routingServerGroup != '') or (/root/env/param[@name='encodedRptSvcParam'] and /root/env/param[@name='encodedRptSvcParam'] != '') or /root/command/*/callerAdminState or /root/command/*/addToPromptingEnv]" processor="XSLT" type="exec" nodelist="env,command" mandatory="false">
- <xts:logicsheet path="logicsheets/buslogic.xslt"/>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:bus="http://developer.cognos.com/schemas/bibus/3/"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- exclude-result-prefixes="bus xtsext xts">
- <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
- <xsl:template match="/">
- <xts:sequence>
- <xsl:if test="/root/command/*/routingServerGroup">
- <xts:delete select="/root/env/param[@name='ui.routingServerGroup']"/>
- <xts:append select="/root/env"><param name="ui.routingServerGroup"><xsl:value-of select="/root/command/*/routingServerGroup"/></param></xts:append>
- </xsl:if>
- <xsl:if test="/root/command/*/callerAdminState">
- <xts:delete select="/root/env/param[@name='adminState' or @name='m_tracking' or @name='web64conversation' or @name='ui.conversation' or @name='encodedParameters']"/>
- </xsl:if>
- <xsl:if test="string(/root/env/param[@name='encodedRptSvcParam'])!=''">
- <xts:append select="/root">
- <xts:function name="web64decode">
- <xts:param name="source">
- <xts:transform name="XMLDecode">
- <xsl:value-of select="xtsext:cafaction('sign_unwrap',string(/root/env/param[@name='encodedRptSvcParam']))"/>
- </xts:transform>
- </xts:param>
- </xts:function>
- </xts:append>
- <xts:delete select="/root/env/param[@name='encodedRptSvcParam']"/>
- </xsl:if>
-
- <xsl:if test="/root/command/*/addToPromptingEnv">
- <xts:delete>
- <xsl:attribute name="select">
- <xsl:text/>/root/env/param[<xsl:text/>
- <xsl:for-each select="/root/command/*/addToPromptingEnv/*">
- <xsl:text/>@name='<xsl:value-of select="@name"/>' or <xsl:text/>
- </xsl:for-each>
- <xsl:text/>@name='method' or @name='cleared_prompts']<xsl:text/>
- </xsl:attribute>
- </xts:delete>
- <xts:append select="/root/env">
- <xsl:for-each select="/root/command/*/addToPromptingEnv/*">
- <param name='{@name}'><xsl:value-of select="."/></param>
- </xsl:for-each>
- </xts:append>
- </xsl:if>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- <!--
- ===============================================================================================
- request - We depend on the caller passing in the form fields from their request header. As a result there are no input parameters
- to the collect request.
- ===============================================================================================
- -->
- <xts:block id="request" mode="interpret" dependency="formlogic_init specialparams" processor="XSLT" type="exec">
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="logicsheets/buslogic.xslt"/>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:bus="http://developer.cognos.com/schemas/bibus/3/"
- xmlns:rs="http://developer.cognos.com/schemas/reportService/1"
- xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:prompt="http://developer.cognos.com/schemas/xts/portal/iPrompting/1/"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
- xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
- exclude-result-prefixes="bus rs send xsi xsd xtsext pf SOAP-ENV SOAP-ENC xs prompt xts">
- <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
- <pf:variables/>
- <xsl:template match="/">
- <xts:sequence>
- <xts:append>
- <response>
- <send:request provider="warp" option="xml-multipart" outputHeader="true" responseEnvelope="true">
- <xsl:choose>
- <xsl:when test="/root/command/*/metaDataRequest and string(/root/command/*/metaDataRequest)!=''">
- <rs:runSpecification>
- <xsl:call-template name="objSpec"/>
- <xsl:call-template name="parmVals"/>
- <xsl:call-template name="opts"/>
- </rs:runSpecification>
- </xsl:when>
- <xsl:when test="/root/command/*/getParametersRequest and string(/root/command/*/getParametersRequest)!=''">
- <rs:getParameters>
- <xsl:call-template name="objPath"/>
- <xsl:call-template name="parmVals"/>
- <xsl:call-template name="opts"/>
- </rs:getParameters>
- </xsl:when>
- <xsl:when test="/root/command/*/reportSpec and string(/root/command/*/reportSpec)!=''">
- <rs:collectParameterValuesSpecification>
- <specification xsi:type="bus:reportServiceReportSpecification">
- <value xsi:type="bus:specification">
- <xsl:value-of select="string(/root/command/*/reportSpec)"/>
- </value>
- </specification>
- <xsl:call-template name="parmVals"/>
- <xsl:call-template name="opts"/>
- </rs:collectParameterValuesSpecification>
- </xsl:when>
- <xsl:when test="/root/command/*/getParametersSpecificationRequest and string(/root/command/*/getParametersSpecificationRequest)!=''">
- <rs:getParametersSpecification>
- <specification xsi:type="bus:reportServiceReportSpecification">
- <value xsi:type="bus:specification">
- <xsl:value-of select="string(/root/command/*/reportSpec)"/>
- </value>
- </specification>
- <xsl:call-template name="parmVals"/>
- <xsl:call-template name="opts"/>
- </rs:getParametersSpecification>
- </xsl:when>
- <xsl:otherwise>
- <rs:collectParameterValues>
- <xsl:call-template name="objPath"/>
- <xsl:call-template name="parmVals"/>
- <xsl:call-template name="opts"/>
- </rs:collectParameterValues>
- </xsl:otherwise>
- </xsl:choose>
- </send:request>
- </response>
- </xts:append>
- <!-- The callerAdminState is a encoded snapshot of the environment prior to calling this morphlet. -->
- <xts:append>
- <encodedAdminState>
- <xsl:choose>
- <xsl:when test="not(/root/command/*/callerAdminState)">
- <xts:function name="web64encode">
- <xts:param name="source">
- <xts:transform name="XMLEncode">
- <xsl:copy-of select="/root/env/param[@name != 'method' and @name != 'cleared_prompts' and @name != 'execMethod']"/>
- <param name="cleared_prompts">false</param>
- <xsl:if test="/root/command/*/addToPromptingEnv">
- <xsl:for-each select="/root/command/*/addToPromptingEnv/*">
- <param name="{@name}"><xsl:value-of select="."/></param>
- </xsl:for-each>
- </xsl:if>
- </xts:transform>
- </xts:param>
- <xts:param name="compress">true</xts:param>
- </xts:function>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="/root/command/*/callerAdminState"/>
- </xsl:otherwise>
- </xsl:choose>
- </encodedAdminState>
- <encodedTracking>
- <xts:function name="web64encode">
- <xts:param name="source">
- <xts:transform name="XMLEncode">
- <xts:queryNode select="/root/response/*[local-name()='Envelope']/*[local-name()='Header']/*[local-name()='biBusHeader']/*[local-name() = 'tracking']"/>
- </xts:transform>
- </xts:param>
- <xts:param name="compress">true</xts:param>
- </xts:function>
- </encodedTracking>
- <encodedUIConversation>
- <xts:function name="web64encode">
- <xts:param name="source">
- <xts:transform name="XMLEncode">
- <xts:queryNode select="/root/response/*[local-name()='Envelope']/*[local-name()='Body']/*[contains(local-name(), 'Response')]/*[local-name()='result']/*[local-name()='primaryRequest']"/>
- </xts:transform>
- </xts:param>
- <xts:param name="compress">true</xts:param>
- </xts:function>
- </encodedUIConversation>
- <encodedConversation>
- <xts:function name="web64encode">
- <xts:param name="source">
- <xts:transform name="XMLEncode">
- <xts:queryNode select="/root/response/*[local-name()='Envelope']/*[local-name()='Body']/*[contains(local-name(), 'Response')]/*[local-name()='result']/*[local-name()='primaryRequest']/*"/>
- </xts:transform>
- </xts:param>
- <xts:param name="compress">true</xts:param>
- </xts:function>
- </encodedConversation>
- <conversationStatus>
- <xts:queryNode select="/root/response/*[local-name()='Envelope']/*[local-name()='Body']/*[contains(local-name(), 'Response')]/*[local-name()='result']/*[local-name()='details']/*[local-name()='item']/*[local-name()='status']"/>
- </conversationStatus>
- <resultStatus>
- <xts:queryNode select="/root/response/*[local-name()='Envelope']/*[local-name()='Body']/*[contains(local-name(), 'Response')]/*[local-name()='result']/*[local-name()='status']"/>
- </resultStatus>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- <xsl:template name="objPath">
- <objectPath xsi:type="bus:searchPathSingleObject">
- <xsl:choose>
- <xsl:when test="/root/command/*/promptObject != ''">
- <xsl:value-of select="/root/command/*/promptObject"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="key('env-param', 'm_obj')"/>
- </xsl:otherwise>
- </xsl:choose>
- </objectPath>
- </xsl:template>
- <xsl:template name="objSpec">
- <xsl:choose>
- <xsl:when test="string(/root/env/param[@name='execMethod'])='metadata' and (/root/env/param[@name='startScopeAt'] or /root/env/param[@name='startBMItemAt'] or /root/env/param[starts-with(@name,'startDataItemAt_')])">
- <bus:specification xsi:type="bus:reportServiceMetadataSpecification" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <bus:value xsi:type="bus:specification"><metadataRequest connection="<xsl:value-of select="xtsext:xmlencode(string(/root/command/*/promptObject))"/>">
- <xsl:text/><Metadata authoringLocale="<xsl:value-of select="/root/session/param[@name='contentLocale']"/>" start_at="" <xsl:if test="/root/env/param[@name='startScopeAt']">start_atRef="<xsl:value-of select="xtsext:xmlencode(string(/root/env/param[@name='startScopeAt']))"/>" </xsl:if> Depth="2"><xsl:text/>
- <xsl:text/><Start_at><xsl:text/>
- <xsl:if test="/root/env/param[@name='startBMItemAt']">
- <xsl:text/><Path name="<xsl:value-of select="xtsext:xmlencode(string(/root/env/param[@name='startBMItemAt']))"/>"/><xsl:text/>
- </xsl:if>
- <xsl:for-each select="/root/env/param[starts-with(@name,'startDataItemAt_')]">
- <xsl:text/><Path name="<xsl:value-of select="xtsext:xmlencode(string(.))"/>"/><xsl:text/>
- </xsl:for-each>
- <xsl:text/></Start_at><xsl:text/>
- <xsl:text/><Properties><xsl:text/>
- <xsl:text/><Property name="*/@name"/><xsl:text/>
- <xsl:text/><Property name="*/@_path"/><xsl:text/>
- <xsl:text/><Property name="*/@_ref"/><xsl:text/>
- <xsl:text/><Property name="*/@_ancestors"/><xsl:text/>
- <xsl:text/><Property name="./folder"/><xsl:text/>
- <xsl:text/><Property name="./measureFolder"/><xsl:text/>
- <xsl:text/><Property name="./querySubject"/><xsl:text/>
- <xsl:text/><Property name="./queryItem"/><xsl:text/>
- <xsl:text/><Property name="./queryItemFolder"/><xsl:text/>
- <xsl:text/><Property name="./filter"/><xsl:text/>
- <xsl:text/><Property name="./calculation"/><xsl:text/>
- <xsl:text/><Property name="./dimension"/><xsl:text/>
- <xsl:text/><Property name="./hierarchy"/><xsl:text/>
- <xsl:text/><Property name="./level"/><xsl:text/>
- <xsl:text/><Property name="./measure"/><xsl:text/>
- <xsl:text/></Properties><xsl:text/>
- <xsl:text/></Metadata></metadataRequest></bus:value></bus:specification>
- </xsl:when>
- <xsl:otherwise>
- <bus:specification xsi:type="bus:reportServiceMetadataSpecification" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <bus:value xsi:type="bus:specification"><metadataRequest connection="<xsl:value-of select="xtsext:xmlencode(string(key('env-param','m_path')))"/>"><Metadata authoringLocale="<xsl:value-of select="/root/session/param[@name='contentLocale']"/>" xml:lang="<xsl:value-of select="/root/session/param[@name='productLocale']"/>" start_at="" Depth="2" no_collections="1"><Properties><Property name="*/@_path"/></Properties></Metadata></metadataRequest></bus:value>
- </bus:specification>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template name="parmVals">
- <xsl:choose>
- <xsl:when test="/root/command/*/parameterValues != ''">
- <xts:queryNode select="/root/command/*/parameterValues/*[local-name()='parameterValues']"/>
- </xsl:when>
- <xsl:when test="/root/command/*/*[local-name()='parameters'] != ''">
- <xts:transform src="transforms/portal/parameters/pre-WARP-process.xslt" processor="XSLT">
- <xts:queryNode select="/root/command/*/*[local-name()='parameters']"/>
- </xts:transform>
- </xsl:when>
- <xsl:when test="/root/rptSvcParam">
- <bus:parameterValues xsi:type="bus:parameterValueArray" SOAP-ENC:arrayType="bus:parameterValue[]">
- <item>
- <bus:name xsi:type="xsd:string"><xsl:value-of select="/root/rptSvcParam/@name"/></bus:name>
- <bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:parmValueItem[]">
- <item xsi:type="bus:simpleParmValueItem">
- <bus:inclusive xsi:type="xsd:boolean">true</bus:inclusive>
- <bus:display xsi:type="xsd:string"><xsl:value-of select="/root/rptSvcParam"/></bus:display>
- <bus:use xsi:type="xsd:string"><xsl:value-of select="/root/rptSvcParam"/></bus:use>
- </item>
- </bus:value>
- </item>
- </bus:parameterValues>
- </xsl:when>
- <xsl:otherwise>
- <bus:parameterValues xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:parameterValue[]" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template name="opts">
- <bus:options xsi:type="bus:optionArray" SOAP-ENC:arrayType="bus:option[]" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/">
- <item xsi:type="bus:runOptionBoolean">
- <bus:name xsi:type="bus:runOptionEnum">prompt</bus:name>
- <bus:value xsi:type="xsd:boolean">
- <xsl:choose>
- <xsl:when test="/root/command/*/forcePrompting='false'">false</xsl:when>
- <xsl:otherwise>true</xsl:otherwise>
- </xsl:choose>
- </bus:value>
- </item>
- <item xsi:type="bus:runOptionString">
- <bus:name xsi:type="bus:runOptionEnum">promptFormat</bus:name>
- <bus:value xsi:type="xsd:string">HTMLFragment</bus:value>
- </item>
- <item xsi:type="bus:runOptionOutputEncapsulation">
- <bus:name xsi:type="bus:runOptionEnum">outputEncapsulation</bus:name>
- <bus:value xsi:type="bus:outputEncapsulationEnum">none</bus:value>
- </item>
- <item xsi:type="bus:asynchOptionEncoding">
- <bus:name xsi:type="bus:asynchOptionEnum">attachmentEncoding</bus:name>
- <bus:value xsi:type="bus:encodingEnum">MIME</bus:value>
- </item>
- <item xsi:type="bus:runOptionAnyURI">
- <bus:name xsi:type="bus:runOptionEnum">xslURL</bus:name>
- <bus:value xsi:type="xsd:string">sa.xsl</bus:value>
- </item>
- <item xsi:type="bus:asynchOptionInt">
- <bus:name xsi:type="bus:asynchOptionEnum">primaryWaitThreshold</bus:name>
- <bus:value xsi:type="xsd:int">
- <xsl:choose>
- <xsl:when test="string(/root/command/*/runAsync)='true'">3</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
- </bus:value>
- </item>
- <item xsi:type="bus:asynchOptionBoolean">
- <bus:name xsi:type="bus:asynchOptionEnum">alwaysIncludePrimaryRequest</bus:name>
- <bus:value xsi:type="xsd:boolean">true</bus:value>
- </item>
- <item xsi:type="bus:runOptionLanguageArray">
- <bus:name xsi:type="bus:runOptionEnum">outputLocale</bus:name>
- <bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]">
- <xsl:choose>
- <!-- use locale from environment if only 1 exist -->
- <xsl:when test="count(key('env-param','m_ro_outputLocale'))=1">
- <item><xsl:value-of select="key('env-param','m_ro_outputLocale')"/></item>
- </xsl:when>
- <!-- otherwise use the content locale -->
- <xsl:otherwise>
- <item><xsl:value-of select="/root/session/param[@name='contentLocale']"/></item>
- </xsl:otherwise>
- </xsl:choose>
- </bus:value>
- </item>
- <item xsi:type="bus:genericOptionBoolean">
- <bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures</bus:name>
- <bus:value xsi:type="xsd:boolean">
- <xsl:choose>
- <xsl:when test="key('env-param','m_go_accessibilityFeatures')">
- <xsl:value-of select="key('env-param','m_go_accessibilityFeatures')"/>
- </xsl:when>
- <xsl:otherwise>false</xsl:otherwise>
- </xsl:choose>
- </bus:value>
- </item>
- </bus:options>
- </xsl:template>
- <!-- used to copy the bus header stuff - see "apply-templates" above. -->
- <xsl:template match="*">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </xsl:copy>
- </xsl:template>
- <pf:serialize-xml/>
- </xsl:stylesheet>
- </xts:block>
-
- <!--
- ===============================================================================================
- release conversation -
- ===============================================================================================
- -->
- <xts:block id="release-conversation" dependency="request" type="exec" mode="interpret" processor="XSLT" condition=".[(string(/root/resultStatus)='conversationComplete' or string(/root/resultStatus)='complete') and not(/root/response/*/*/*/*/*[local-name() = 'details']/*/*[local-name()='status'] = 'prompting') and /root/env/param[@name='web64conversation']]" mandatory="false">
- <xts:logicsheet path="logicsheets/buslogic.xslt"/>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:bus="http://developer.cognos.com/schemas/bibus/3/"
- xmlns:rs="http://developer.cognos.com/schemas/reportService/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:xtsext="xalan://com.cognos.xts.ext.XTSExt">
- <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>
- <releaseConversation>
- <send:request provider="warp" option="xml-multipart" outputHeader="true" responseEnvelope="true" affinity=".absolute">
- <xsl:element name="release" namespace="http://developer.cognos.com/schemas/reportService/1">
- <conversation xsi:type="bus:asynchRequest">
- <xts:transform name="XMLDecode">
- <xsl:value-of select="xtsext:web64decode(string(xtsext:cafaction('sign_unwrap', string(key('env-param','web64conversation')))), true())"/>
- </xts:transform>
- </conversation>
- </xsl:element>
- </send:request>
- </releaseConversation>
- </xts:append>
- </xts:sequence>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- <!--
- ===============================================================================================
- render-no-prompts -
- ===============================================================================================
- -->
- <xts:block id="render-no-prompts" type="exec" mode="output" processor="XSLT" dependency="request release-conversation"
- mimeType="text/html" contentId="noPromptsMessage" partId="1"
- path="/portal/iPrompting/page-parts/noPrompts.xslt"
- condition=".[(string(/root/resultStatus)='conversationComplete' or string(/root/resultStatus)='complete') and not(/root/response/*/*/*/*/*[local-name() = 'details']/*/*[local-name()='status'] = 'prompting')]"
- mandatory="false">
- <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/layout.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/touch_up.xslt"/>
- </xts:block>
- <!--
- ===============================================================================================
- waitPage - Renders the contents of the wait page.
- ===============================================================================================
- -->
- <xts:block id="waitPage" type="exec" mode="output" processor="XSLT" dependency="request release-conversation"
- mimeType="text/html" contentId="waitPage" partId="1"
- path="/portal/iPrompting/page-parts/wait.xslt"
- condition=".[/root/resultStatus='working']"
- mandatory="false">
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/touch_up.xslt"/>
- </xts:block>
- <!--
- ===============================================================================================
- head - This block generates the HTML <head> tag.
- ===============================================================================================
- -->
- <xts:block id="head" type="exec" mode="output" processor="XSLT" dependency="request release-conversation"
- mimeType="text/html" contentId="head" partId="1"
- path="/portal/iPrompting/page-parts/head.xslt">
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="portal/iPrompting/logicsheets/common.xslt"/>
- <xts:logicsheet path="logicsheets/presentation/main/presentation.xsl"/>
- </xts:block>
- <!--
- ===============================================================================================
- bottomRow - This block generates the bottom row of the main table.
- ===============================================================================================
- -->
- <xts:block id="bottomRow" type="exec" mode="output" processor="XSLT" dependency="request release-conversation"
- mimeType="text/html" contentId="bottomRow" partId="1"
- path="/portal/iPrompting/page-parts/tail.xslt">
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- </xts:block>
- <!--
- ===============================================================================================
- render-page - Main page rendering block. Combines the "content" blocks generated in the blocks
- above with the report itself which is returned in a multi-part message from report server.
- ===============================================================================================
- -->
- <xts:block id="render-page" type="exec" mode="interpret" processor="XSLT"
- dependency="head bottomRow waitPage render-no-prompts"
- path="/portal/iPrompting/page-parts/page.xslt">
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/main/framework.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/main/presentation.xsl"/>
- </xts:block>
- </xts:morphlet>
|