swap.xts 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. <!-- apply the following logicsheets in order -->
  18. <xts:logicsheet path="logicsheets/portal.xsl"/>
  19. <xts:logicsheet path="qs/logicsheets/dialogIncludes.xsl"/>
  20. <xts:logicsheet path="logicsheets/presentation/dialog/framework.xsl"/>
  21. <xts:logicsheet path="logicsheets/presentation/layout.xsl"/>
  22. <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>
  23. <xts:logicsheet path="logicsheets/presentation/controls/framework.xsl"/>
  24. <xts:logicsheet path="logicsheets/presentation/controls/presentation.xsl"/>
  25. <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
  26. <!-- apply the form logic -->
  27. <xts:logicsheet path="logicsheets/formlogic.xslt"/>
  28. <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">
  29. <xsl:import href="qs/logicsheets/markupTemplates.xsl"/>
  30. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
  31. <!-- add any theme variables -->
  32. <df:variables/>
  33. <pf:variables/>
  34. <!-- start the output -->
  35. <xsl:template match="/root">
  36. <dp:page>
  37. <dp:script>
  38. <qsdialog:headerIncludes dlgSize="200" featureName="Swap"/>
  39. </dp:script>
  40. <form style="margin:0px" name="f" method="POST" onsubmit="return false;">
  41. <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
  42. <tr>
  43. <td width="100%" height="0%">
  44. <!-- dialog header -->
  45. <dp:header help="false">
  46. <!-- header titles -->
  47. <dp:title>
  48. <xts:string id="SWAP_TITLE"/>
  49. </dp:title>
  50. <!-- close link for the header -->
  51. <dp:close>
  52. <a href="javascript:goDialogManager.getWindowManager().hideDialogFrame()">
  53. <dp:closeMarker/>
  54. </a>
  55. </dp:close>
  56. <!-- description (hint text) -->
  57. <dp:description>
  58. <xts:string id="SWAP_DESCRIPTION"/>
  59. </dp:description>
  60. </dp:header>
  61. </td>
  62. </tr>
  63. <tr>
  64. <td width="100%" height="100%" valign="top">
  65. <lyt:layout style="2" border="no">
  66. <lyt:section>
  67. <dp:choice>
  68. <BR/>
  69. <dp:section1>
  70. <input type="checkbox" name="crosstab" checked="true"/>
  71. </dp:section1>
  72. <dp:section2>
  73. <xts:string id="SWAP_CROSSTAB"/>
  74. </dp:section2>
  75. <dp:section1>
  76. <input type="checkbox" name="chart" checked="true"/>
  77. </dp:section1>
  78. <dp:section2>
  79. <xts:string id="SWAP_CHART"/>
  80. </dp:section2>
  81. </dp:choice>
  82. </lyt:section>
  83. <lyt:section/>
  84. </lyt:layout>
  85. </td>
  86. </tr>
  87. <tr>
  88. <td width="100%" height="0%">
  89. <qsdialog:defaultButtons/>
  90. </td>
  91. </tr>
  92. <!-- <dbg:dumpxml select="/"/> -->
  93. </table>
  94. </form>
  95. </dp:page>
  96. </xsl:template>
  97. </xsl:stylesheet>
  98. </xts:block>
  99. </xts:morphlet>