actionErrorMessage.xts 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. <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: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 cp cf dbg qsdlg xtsext">
  28. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
  29. <!-- add any theme variables -->
  30. <df:variables/>
  31. <pf:variables/>
  32. <!-- start the output -->
  33. <xsl:template match="/root">
  34. <dp:page>
  35. <dp:script>
  36. <script type="text/javascript">
  37. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/layout.js</xsl:attribute>
  38. <xsl:text/>//<xsl:text/>
  39. </script>
  40. <script type="text/javascript">
  41. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/dialogs/executeButton.js</xsl:attribute>
  42. <xsl:text/>//<xsl:text/>
  43. </script>
  44. <script type="text/javascript">
  45. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/classes/CDialogManager.js</xsl:attribute>
  46. <xsl:text/>//<xsl:text/>
  47. </script>
  48. <script type="text/javascript">&lt;!--
  49. var cf = getConfigFrame();
  50. var goDialogManager = new CDialogManager();
  51. function init()
  52. {
  53. attachMouseEvents();
  54. cf.showDialogFrame(140);
  55. }
  56. function cancelDialog()
  57. {
  58. cf.hideDialogFrame();
  59. }
  60. //--&gt;</script>
  61. </dp:script>
  62. <form style="margin:0px" name="f" method="POST">
  63. <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
  64. <tr>
  65. <td width="100%" height="0%">
  66. <!-- dialog header -->
  67. <dp:header help="false">
  68. <!-- header titles -->
  69. <dp:title>
  70. <xts:string id="UNABLE_TO_PERFORM_ACTION"/>
  71. </dp:title>
  72. <!-- close link for the header -->
  73. <dp:close>
  74. <a href="javascript:getConfigFrame().hideDialogFrame()">
  75. <dp:closeMarker/>
  76. </a>
  77. </dp:close>
  78. </dp:header>
  79. </td>
  80. </tr>
  81. <tr>
  82. <td width="100%" height="100%" valign="top">
  83. <!-- layout -->
  84. <lyt:layout style="1" border="no">
  85. <lyt:section>
  86. <dp:list>
  87. <dp:section>
  88. <dp:text>
  89. <xsl:choose>
  90. <xsl:when test="/root/env/param[@name='xxMultiSelect']='true'">
  91. <xts:string id="UNABLE_TO_PERFORM_ACTION_TEXT_MULTI"/>
  92. </xsl:when>
  93. <xsl:otherwise>
  94. <xts:string id="UNABLE_TO_PERFORM_ACTION_TEXT_SINGLE"/>
  95. </xsl:otherwise>
  96. </xsl:choose>
  97. </dp:text>
  98. </dp:section>
  99. </dp:list>
  100. </lyt:section>
  101. </lyt:layout>
  102. </td>
  103. </tr>
  104. <tr>
  105. <td width="100%" height="0%">
  106. <qsdlg:defaultOKButton/>
  107. </td>
  108. </tr>
  109. <!-- <dbg:dumpxml select="/"/> -->
  110. </table>
  111. </form>
  112. </dp:page>
  113. </xsl:template>
  114. </xsl:stylesheet>
  115. </xts:block>
  116. </xts:morphlet>