taskWizardPage0.xslt 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: HTS
  5. (C) Copyright IBM Corp. 2005, 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xts="http://developer.cognos.com/schemas/xts/">
  9. <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
  10. <xsl:template name="page0">
  11. <script language="javascript">
  12. var frmCmdForm = "frmTaskWizard";
  13. function _THIS_notificationTask(enable) {
  14. //TODO I want this function to just set the notification (or ad hoc task) boolean var
  15. if(enable) {
  16. taskRadio.enable = false;
  17. notificationRadio.enable = true;
  18. } else {
  19. taskRadio.enable = true;
  20. notificationRadio.enable = false;
  21. }
  22. }
  23. </script>
  24. <!-- use this to uniquely identify fragments-->
  25. <div id="_THIS_divPage">
  26. <table width="100%" cellspacing="0" cellpadding="0" border="0" class="cogstyle-usv-taskwizard-table">
  27. <tbody>
  28. <tr>
  29. <td align="left" class="dialogHeaderText"><xts:string id="IDS_FRAG__TASKWIZARD_HEADER_TEXT"/></td>
  30. </tr>
  31. </tbody>
  32. </table>
  33. <table width="100%" cellspacing="0" cellpadding="0" border="0">
  34. <tbody>
  35. <tr>
  36. <td width="100%" height="10">
  37. <img width="1" height="10" src="/cognos8/ps/images/space.gif"/>
  38. </td>
  39. </tr>
  40. </tbody>
  41. </table>
  42. <table width="100%" cellspacing="0" cellpadding="3" border="0">
  43. <tbody>
  44. <tr>
  45. <td width="1" height="1">
  46. <img width="1" height="1" src="/cognos8/ps/images/space.gif"/>
  47. </td>
  48. <td width="100%">
  49. <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
  50. <table cellspacing="0" cellpadding="1" border="0">
  51. <tbody>
  52. <tr>
  53. <td nowrap="" class="formLabel"><xts:string id="IDS_FRAG__TASKWIZARD_FORM_LABEL"/></td>
  54. </tr>
  55. </tbody>
  56. </table>
  57. <table cellspacing="0" cellpadding="1" border="0">
  58. <tbody>
  59. <tr>
  60. <td>
  61. <table cellspacing="0" cellpadding="1" border="0">
  62. <tbody>
  63. <tr>
  64. <td nowrap="" class="formText">
  65. <input type="radio" checked="" name="taskRadio" onclick="_THIS_notificationTask(true)" value="notification"/>
  66. </td>
  67. <td nowrap="" class="formText"><xts:string id="IDS_FRAG__TASKWIZARD_FORM_ONE_TEXT"/>
  68. </td>
  69. </tr>
  70. <tr>
  71. <td nowrap="">
  72. <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
  73. </td>
  74. <td nowrap="" class="formText"><xts:string id="IDS_FRAG__TASKWIZARD_FORM_TWO_TEXT"/>
  75. </td>
  76. </tr>
  77. <tr>
  78. <td nowrap="">
  79. <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
  80. </td>
  81. <td nowrap="">
  82. <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
  83. </td>
  84. </tr>
  85. <tr>
  86. <td nowrap="" class="formText">
  87. <input type="radio" name="taskRadio" onclick="_THIS_notificationTask(false)" value="adhoc"/>
  88. </td>
  89. <td nowrap="" class="formText"><xts:string id="IDS_FRAG__TASKWIZARD_FORM_THREE_TEXT"/>
  90. </td>
  91. </tr>
  92. <tr>
  93. <td nowrap="">
  94. <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
  95. </td>
  96. <td nowrap="" class="formText"><xts:string id="IDS_FRAG__TASKWIZARD_FORM_FOUR_TEXT"/>
  97. </td>
  98. </tr>
  99. </tbody>
  100. </table>
  101. </td>
  102. </tr>
  103. <tr>
  104. <td nowrap="">
  105. <img width="1" height="5" src="/cognos8/ps/images/space.gif"/>
  106. </td>
  107. </tr>
  108. </tbody>
  109. </table>
  110. </td>
  111. </tr>
  112. </tbody>
  113. </table>
  114. </div>
  115. </xsl:template>
  116. </xsl:stylesheet>