queryInformation.xts 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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/dialogIncludes.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. <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
  25. <!-- apply the form logic -->
  26. <xts:logicsheet path="logicsheets/formlogic.xslt"/>
  27. <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: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:dbg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/debug/" xmlns:qsdialog="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 cp cf dbg qsdialog xtsext">
  28. <xsl:import href="qs/logicsheets/markupTemplates.xsl"/>
  29. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
  30. <!-- add any theme variables -->
  31. <df:variables/>
  32. <pf:variables/>
  33. <!-- start the output -->
  34. <xsl:template match="/root">
  35. <dp:page>
  36. <dp:script>
  37. <qsdialog:headerIncludes dlgSize="320" featureName="QueryInformation" setupParameters="env"/>
  38. <script type="text/javascript">
  39. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/dialogs/queryInformation.js</xsl:attribute>
  40. <xsl:text/>//<xsl:text/>
  41. </script>
  42. </dp:script>
  43. <form style="margin:0px" name="f" method="POST" onsubmit="execute();return false;">
  44. <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
  45. <tr>
  46. <td width="100%" height="0%">
  47. <!-- dialog header -->
  48. <dp:header help="false">
  49. <!-- header titles -->
  50. <dp:title>
  51. <xts:string id="QUERY_INFORMATION_TITLE"/>
  52. </dp:title>
  53. <!-- close link for the header -->
  54. <dp:close>
  55. <a href="javascript:goDialogManager.getWindowManager().hideDialogFrame()">
  56. <dp:closeMarker/>
  57. </a>
  58. </dp:close>
  59. <!-- header links -->
  60. <dp:headerLinks>
  61. <dp:headerLink>
  62. <dp:hl_attribute name="href">javascript:goDialogManager.getApplicationFrame().reportDefinition()</dp:hl_attribute>
  63. <dp:hl_attribute name="label"><xts:string id="QUERY_INFORMATION_REPORT_DEFINITION"/></dp:hl_attribute>
  64. </dp:headerLink>
  65. </dp:headerLinks>
  66. <!-- description (hint text) -->
  67. <dp:description>
  68. <xts:string id="QUERY_INFORMATION_DESCRIPTION"/>
  69. </dp:description>
  70. </dp:header>
  71. </td>
  72. </tr>
  73. <tr>
  74. <td width="100%" height="100%" valign="top">
  75. <!-- layout -->
  76. <lyt:layout style="1" border="no">
  77. <lyt:section height="100%">
  78. <textarea name="queryInfo" style="border: black 1px solid; width: 100%; height: 195px;"/>
  79. </lyt:section>
  80. </lyt:layout>
  81. </td>
  82. </tr>
  83. <tr>
  84. <td width="100%" height="0%">
  85. <qsdialog:defaultOKButton/>
  86. </td>
  87. </tr>
  88. </table>
  89. </form>
  90. <!--dbg:dumpxml select="/"/-->
  91. </dp:page>
  92. </xsl:template>
  93. </xsl:stylesheet>
  94. </xts:block>
  95. </xts:morphlet>