noData.xts 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: AGS
  5. (C) Copyright IBM Corp. 2005, 2015
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <xts:morphlet version="1.0" xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/AGS.xml,messages/portal.xml,messages/portalRL.xml" requiredCapability="canUseEventStudio">
  9. <!--
  10. This morphlet (about.xts) consists of the following blocks:
  11. formlogic_init - update various /root/env level parameters based on new or changed /root/env parameters.
  12. format - render the product about page.
  13. -->
  14. <xts:block id="formlogic_init" type="exec" mode="interpret" processor="XSLT" path="logicsheets/formlogic_init.xslt"/>
  15. <xts:block id="format" dependency="formlogic_init" mode="output" processor="XSLT" type="exec" mimeType="text/html">
  16. <!-- get the debug logic sheet -->
  17. <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
  18. <xts:logicsheet path="logicsheets/portal.xsl"/>
  19. <xts:logicsheet path="logicsheets/presentation/dialog/framework.xsl"/>
  20. <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>
  21. <xts:logicsheet path="logicsheets/presentation/dialog/centralabout.xsl"/>
  22. <xts:logicsheet path="logicsheets/presentation/layout.xsl"/>
  23. <xts:logicsheet path="logicsheets/formlogic.xslt"/>
  24. <xts:logicsheet path="logicsheets/presentation/touch_up.xslt"/>
  25. <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: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" exclude-result-prefixes="xsl xts lyt pf dp df ca utml qsdlg xtsext">
  26. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
  27. <!-- add any theme variables -->
  28. <pf:variables/>
  29. <!-- get the version from the version file -->
  30. <xsl:variable name="title"><xts:string id="REPORT_VIEWER_WINDOW_TITLE"/></xsl:variable>
  31. <!-- start the output -->
  32. <xsl:template match="/root">
  33. <xsl:text disable-output-escaping='yes'>&lt;!DOCTYPE html></xsl:text><dp:page>
  34. <dp:meta>
  35. <meta name="Copyright" content="Copyright (C) 2015 Cognos Incorporated. All Rights Reserved."/>
  36. <meta name="Trademark" content="Cognos and the Cognos logo are trademarks of Cognos Incorporated."/>
  37. <title><xsl:value-of select="$title"/></title>
  38. </dp:meta>
  39. <dp:script>
  40. <script type="text/javascript" src="../ags/layout.js">//</script>
  41. <script type="text/javascript" src="../ags/help.js">//</script>
  42. <script type="text/javascript">
  43. function closePopup() {
  44. if (parent &amp;&amp; parent.doClosePopUp)
  45. parent.doClosePopUp();
  46. else
  47. window.close();
  48. }
  49. </script>
  50. </dp:script>
  51. <form style="margin:0px" name="f" method="POST" onsubmit="return false;">
  52. <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
  53. <tr>
  54. <td width="100%" height="0%">
  55. <!-- dialog header -->
  56. <dp:header help="false">
  57. <dp:close>
  58. <a>
  59. <xsl:attribute name="href">javascript:closePopup()</xsl:attribute>
  60. <dp:closeMarker/>
  61. </a>
  62. </dp:close>
  63. <!-- header titles -->
  64. <dp:title><xsl:value-of select="$title"/></dp:title>
  65. </dp:header>
  66. </td>
  67. </tr>
  68. <tr>
  69. <td width="100%" height="100%" valign="top">
  70. <lyt:layout style="1">
  71. <lyt:section>
  72. <dp:section>
  73. <dp:section1>
  74. <!--No data for preview-->
  75. <xts:string id="AGS_NODATA_TO_PREVIEW"/>
  76. </dp:section1>
  77. </dp:section>
  78. </lyt:section>
  79. </lyt:layout>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td width="100%" height="0%">
  84. <dp:footer>
  85. <!--input type="button" onClick="parent.window.close()" value="close Me" /-->
  86. <df:button df:id="CLOSE" df:style="href" df:href="javascript:closePopup();"/>
  87. </dp:footer>
  88. </td>
  89. </tr>
  90. </table>
  91. </form>
  92. </dp:page>
  93. </xsl:template>
  94. </xsl:stylesheet>
  95. </xts:block>
  96. <!-- Debug -->
  97. <xts:block id="debug" type="exec" dependency="format" mode="output" condition=".[ /root/session/param[@name='debug'] = '1' ]" processor="XSLT" mandatory="false" mimeType="text/html">
  98. <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
  99. <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="xsl dbg">
  100. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
  101. <dbg:templates/>
  102. <xsl:template match="/">
  103. <dbg:dumpxml select="/root"/>
  104. </xsl:template>
  105. </xsl:stylesheet>
  106. </xts:block>
  107. </xts:morphlet>