reportTemplateMissing.xts 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. BI and PM: qs
  5. (C) Copyright IBM Corp. 2001, 2017
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. -->
  12. <xts:morphlet version="1.0" xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/QSRVUITextPL.xml,messages/portal.xml,messages/portalRL.xml" requiredCapability="canUseQueryStudio">
  13. <xts:block id="page" type="exec" mode="output" processor="XSLT" mimeType="text/html">
  14. <!-- get the debug logic sheet -->
  15. <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
  16. <!-- get the new theme stuff -->
  17. <xts:logicsheet path="logicsheets/portal.xsl"/>
  18. <xts:logicsheet path="qs/logicsheets/dialogs.xsl"/>
  19. <xts:logicsheet path="logicsheets/presentation/dialog/framework.xsl"/>
  20. <xts:logicsheet path="logicsheets/presentation/layout.xsl"/>
  21. <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>
  22. <xts:logicsheet path="logicsheets/presentation/controls/framework.xsl"/>
  23. <xts:logicsheet path="logicsheets/presentation/controls/presentation.xsl"/>
  24. <!-- apply the form logic -->
  25. <xts:logicsheet path="logicsheets/formlogic.xslt"/>
  26. <xsl:stylesheet version="1.0"
  27. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  28. xmlns:xts="http://developer.cognos.com/schemas/xts/"
  29. xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/"
  30. xmlns:lyt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/layout/"
  31. xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
  32. xmlns:dp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/presentation/"
  33. xmlns:df="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/framework/"
  34. xmlns:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/"
  35. xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/"
  36. xmlns:dbg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/debug/"
  37. xmlns:qsdlg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/qs/dialog/"
  38. xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" exclude-result-prefixes="xsl xts lyt pf dp df cp cf dbg qsdlg xtsext">
  39. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
  40. <!-- add any theme variables -->
  41. <df:variables/>
  42. <pf:variables/>
  43. <!-- start the output -->
  44. <xsl:template match="/root">
  45. <dp:page>
  46. <dp:script>
  47. <script type="text/javascript">
  48. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/layout.js</xsl:attribute>
  49. <xsl:text/>//<xsl:text/>
  50. </script>
  51. <script type="text/javascript">
  52. function init()
  53. {
  54. attachMouseEvents();
  55. }
  56. </script>
  57. </dp:script>
  58. <!-- dialog header -->
  59. <dp:header help="false">
  60. <!-- header titles -->
  61. <dp:title>
  62. <xts:string id="REPORT_TEMPLATE_MISSING_TITLE"/>
  63. </dp:title>
  64. <!-- close link for the header -->
  65. <dp:close/>
  66. </dp:header>
  67. <form style="margin:0px" name="f" method="POST">
  68. <!-- body -->
  69. <lyt:layout style="1">
  70. <lyt:section>
  71. <dp:box valign="top">
  72. <dp:boxSection hgap="20">
  73. <img width="32" height="32" align="top" hspace="10">
  74. <xsl:attribute name="src"><xsl:value-of select="$webcontent"/>/<xsl:value-of select="$app"/>/images/msg_error.gif</xsl:attribute>
  75. </img>
  76. </dp:boxSection>
  77. <dp:boxSection>
  78. <xts:string id="REPORT_TEMPLATE_MISSING"/>
  79. <br/>
  80. <br/>
  81. <xts:string id="REPORT_TEMPLATE_MISSING_RESET"/>
  82. <xsl:if test="/root/env/param[@name='xxPath']">
  83. <cf:dynamicExpandingSection name="b_faultDetails" title="IDS_FAULT_DETAILS" expanding="yes" indent="false">
  84. <textarea name="dtls" rows="5" cols="72" readonly="readonly">
  85. <xsl:value-of select="/root/env/param[@name='xxPath']"/>
  86. </textarea>
  87. </cf:dynamicExpandingSection>
  88. </xsl:if>
  89. </dp:boxSection>
  90. </dp:box>
  91. </lyt:section>
  92. </lyt:layout>
  93. <dp:footer>
  94. <df:button df:id="IDS_OK" df:style="href" df:href="javascript:getConfigFrame().sendCmd('OL:','',true)" df:defaultKey="active"/>
  95. <df:button df:id="IDS_CANCEL" df:style="href" df:href="javascript:getConfigFrame().closeLink(true)"/>
  96. </dp:footer>
  97. <!--dbg:dumpxml select="/"/-->
  98. </form>
  99. </dp:page>
  100. </xsl:template>
  101. </xsl:stylesheet>
  102. </xts:block>
  103. </xts:morphlet>