123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: ps
- (C) Copyright IBM Corp. 2005, 2011
- 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).
- -->
- <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:lyt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/layout/"
- xmlns:dt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/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:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/"
- xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/"
- xmlns:utml="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/"
- xmlns:out="dummy-uri"
- xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:srt="http://developer.cognos.com/schemas/xts/srt">
-
- <xsl:output method="xml" encoding="UTF-8" indent="no"/>
- <xsl:namespace-alias stylesheet-prefix="out" result-prefix="xsl"/>
-
- <xsl:template match="srt:triggerUI">
- <utml:input type="hidden" name="m_sp_type" value="trigger" utml:update="false"/>
- <utml:input type="hidden" name="m_triggerType" value="authoredReport" utml:update="false"/>
- <utml:input type="hidden" name="m_sp_triggerName" utml:update="false">
- <utml:value>
- <out:value-of select="$triggerName"/>
- </utml:value>
- </utml:input>
- <lyt:layout style="1">
- <lyt:section>
- <dp:choice>
- <dp:section1>
- <utml:input type="checkbox" name="m_sp_active" value="true" utml:default-condition="key('env-param','m_sp_active')" onclick="if(window.on_changed_schedule_changed)on_changed_schedule_changed();"/>
- </dp:section1>
- <dp:section2>
- <xts:string id="IDS_PROP_SCHED_INACTIVE"/>
- </dp:section2>
- </dp:choice>
- </lyt:section>
- </lyt:layout>
- <lyt:layout style="2">
- <lyt:section>
- <dp:input>
- <dp:section1><xts:string id="IDS_PROP_SCHED_RECURRENCE_LABEL"/></dp:section1>
- <dp:section2>
- <dp:text><xts:string id="IDS_PROP_SCHED_RECURRENCE_EVENT"/></dp:text>
- </dp:section2>
- </dp:input>
- <dp:input>
- <dp:section1><xts:string id="IDS_OTHERRUN_EVENT_NAME"/></dp:section1>
- <dp:section2>
- <dp:text><out:value-of select="$triggerName"/></dp:text>
- </dp:section2>
- </dp:input>
- </lyt:section>
- <out:if test="$the-object/cm:defaultTriggerDescription != '' or $the-object/cm:base/*/defaultTriggerDescription != ''">
- <lyt:section>
- <dp:input>
- <dp:section1> </dp:section1>
- <dp:section2> </dp:section2>
- </dp:input>
- <dp:choice title="IDS_OTHERRUN_EVENT_DESC">
- <dp:section1 wrap="true">
- <dp:text>
- <out:choose>
- <out:when test="$the-object/cm:defaultTriggerDescription != ''">
- <out:value-of select="$the-object/cm:defaultTriggerDescription "/>
- </out:when>
- <out:otherwise>
- <out:value-of select="$the-object/cm:base/*/cm:defaultTriggerDescription "/>
- </out:otherwise>
- </out:choose>
- </dp:text>
- </dp:section1>
- </dp:choice>
- </lyt:section>
- </out:if>
- </lyt:layout>
- </xsl:template>
-
- <xsl:template match="*">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </xsl:copy>
- </xsl:template>
-
- </xsl:stylesheet>
|