implementation.xml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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. <implementation version="1.0" xmlns="http://developer.cognos.com/fragments/implementation/1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:val="http://developer.cognos.com/schemas/validator/1/" xmlns:fragment="urn:cognos:fragments:validator" xsi:schemaLocation="http://developer.cognos.com/fragments/implementation/1/ ../../../schemas/implementation.xsd" xmlns:frag="http://developer.cognos.com/fragments/1/">
  9. <info>
  10. <frag:title resourceName="IDS_FRAG_TASKLIST_DEFAULT_TITLE">Task Pool</frag:title>
  11. </info>
  12. <meta>
  13. <frag:handledEvents>cognos.hts.unlock_list</frag:handledEvents>
  14. <frag:eventDescriptions name="cognos.hts.unlock_list" type="params">
  15. <frag:description>This event unlocks the task list after selection</frag:description>
  16. <frag:label>unlock task list</frag:label>
  17. <frag:hint>unlock_list</frag:hint>
  18. </frag:eventDescriptions>
  19. <frag:globalValidator version="1.0">
  20. <val:parameter skipJavaScript="true">
  21. <val:name>hts_status</val:name>
  22. <val:rule>
  23. <val:enumeration emptyValid="true">
  24. <val:list>release,stop,start,claim,setPriority</val:list>
  25. </val:enumeration>
  26. </val:rule>
  27. </val:parameter>
  28. </frag:globalValidator>
  29. <frag:customProperties name="folderName">
  30. <frag:datatype>xsd:string</frag:datatype>
  31. <frag:default>
  32. <frag:value/>
  33. </frag:default>
  34. <frag:control group="1" appearance="hidden"/>
  35. <frag:validate skipJavaScript="true">
  36. <val:name>mode</val:name>
  37. <val:rule>
  38. <val:type>
  39. <val:string minLength="0" maxLength="256"/>
  40. </val:type>
  41. </val:rule>
  42. </frag:validate>
  43. </frag:customProperties>
  44. <frag:transientProperties name="cognosTaskChanged">
  45. <frag:label>cognosTaskChanged</frag:label>
  46. <frag:datatype>string</frag:datatype>
  47. <frag:validate>
  48. <val:name>cognosTaskChanged</val:name>
  49. <val:rule>
  50. <val:pattern>
  51. <val:regex>^(?:\s*(Sun|Mon|Tue|Wed|Thu|Fri|Sat),\s*)?(0?[1-9]|[1-2][0-9]|3[01])\s+(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+(19[0-9]{2}|[2-9][0-9]{3}|[0-9]{2})\s+(2[0-3]|[0-1][0-9]):([0-5][0-9])(?::(60|[0-5][0-9]))?\s+([-\+][0-9]{2}[0-5][0-9]|(?:UT|GMT|(?:E|C|M|P)(?:ST|DT)|[A-IK-Z]))*\s*$</val:regex>
  52. </val:pattern>
  53. </val:rule>
  54. <!--<val:ruleRef id="fragment-hts:utcdate"/>-->
  55. </frag:validate>
  56. </frag:transientProperties>
  57. <frag:transientProperties name="dateStyle">
  58. <frag:label>dateStyle</frag:label>
  59. <frag:datatype>string</frag:datatype>
  60. <frag:validate>
  61. <val:name>dateStyle</val:name>
  62. <val:rule>
  63. <val:pattern>
  64. <val:regex>^\{"name":(0|1),"value":"(Task.DueDate|Task.CreateDate)"\}$</val:regex>
  65. </val:pattern>
  66. </val:rule>
  67. <!--<val:ruleRef id="fragment-hts:dateStyle"/>-->
  68. </frag:validate>
  69. </frag:transientProperties>
  70. <frag:transientProperties name="Task.Priority">
  71. <frag:label>Priority filter</frag:label>
  72. <frag:datatype>string</frag:datatype>
  73. <frag:validate>
  74. <val:name>Task.Priority</val:name>
  75. <val:rule>
  76. <val:pattern>
  77. <val:regex>^\{"name":(0|1|2|3),"value":"(ALL|5|3|1)"\}$</val:regex>
  78. </val:pattern>
  79. </val:rule>
  80. <!--<val:ruleRef id="fragment-hts:Task.priority"/>-->
  81. </frag:validate>
  82. </frag:transientProperties>
  83. <frag:transientProperties name="Task.Status">
  84. <frag:label>Status filter</frag:label>
  85. <frag:datatype>string</frag:datatype>
  86. <frag:validate>
  87. <val:name>Task.Status</val:name>
  88. <val:rule>
  89. <val:pattern>
  90. <val:regex>^\{"name":(0|1|2|3|4|5|6),"value":"(ALL|READY|ON_HOLD|NOT_STARTED|IN_PROGRESS|COMPLETED|ERROR|OBSOLETE)"\}$</val:regex>
  91. </val:pattern>
  92. </val:rule>
  93. <!--<val:ruleRef id="fragment-hts:Task.status"/>-->
  94. </frag:validate>
  95. </frag:transientProperties>
  96. <frag:transientProperties name="MsgTaskId">
  97. <frag:label>Task Id</frag:label>
  98. <frag:datatype>string</frag:datatype>
  99. <frag:validate>
  100. <val:name>MsgTaskId</val:name>
  101. <val:rule>
  102. <val:pattern>
  103. <val:regex>[a-z0-9:\-]{0,50}</val:regex>
  104. </val:pattern>
  105. </val:rule>
  106. <!--<val:ruleRef id="fragment-hts:taskID"/>-->
  107. </frag:validate>
  108. </frag:transientProperties>
  109. <frag:transientProperties name="Task.CreateDate">
  110. <frag:label>Create date filter</frag:label>
  111. <frag:datatype>string</frag:datatype>
  112. <frag:validate>
  113. <val:name>Task.CreateDate</val:name>
  114. <val:rule>
  115. <val:pattern>
  116. <val:regex>^\{"name":(0|1|2|3|4),"value":("ALL"|[0-9]*)\}$</val:regex>
  117. </val:pattern>
  118. </val:rule>
  119. <!--<val:ruleRef id="fragment-hts:Task.createDate"/>-->
  120. </frag:validate>
  121. </frag:transientProperties>
  122. <frag:transientProperties name="Task.DueDate">
  123. <frag:label>Due date filter</frag:label>
  124. <frag:datatype>string</frag:datatype>
  125. <frag:validate>
  126. <val:name>Task.DueDate</val:name>
  127. <val:rule>
  128. <val:pattern>
  129. <val:regex>^\{"name":(0|1|2|3|4),"value":("ALL"|[0-9]*)\}$</val:regex>
  130. </val:pattern>
  131. </val:rule>
  132. <!--<val:ruleRef id="fragment-hts:Task.dueDate"/>-->
  133. </frag:validate>
  134. </frag:transientProperties>
  135. <frag:transientProperties name="Task.Type">
  136. <frag:label>Task type filter</frag:label>
  137. <frag:datatype>string</frag:datatype>
  138. <frag:validate>
  139. <val:name>Task.Type</val:name>
  140. <val:rule>
  141. <val:pattern>
  142. <val:regex>^\{"name":(0|1|2),"value":"(ALL|TASK|NOTIFICATION)"\}$</val:regex>
  143. </val:pattern>
  144. </val:rule>
  145. <!--<val:ruleRef id="fragment-hts:Task.type"/>-->
  146. </frag:validate>
  147. </frag:transientProperties>
  148. <frag:transientProperties name="Task.ActualOwner">
  149. <frag:label>Owner filter</frag:label>
  150. <frag:datatype>string</frag:datatype>
  151. <frag:validate>
  152. <val:name>Task.ActualOwner</val:name>
  153. <val:rule>
  154. <val:pattern>
  155. <val:regex>^\{"name":(0|1),"value":"(ALL_TASKS|MY_TASKS)"\}$</val:regex>
  156. </val:pattern>
  157. </val:rule>
  158. <!--<val:ruleRef id="fragment-hts:Task.actualOwner"/>-->
  159. </frag:validate>
  160. </frag:transientProperties>
  161. <frag:transientProperties name="Task.Application">
  162. <frag:label>Application name filter</frag:label>
  163. <frag:datatype>string</frag:datatype>
  164. <!-- frag:validate>
  165. <val:name>Task.Application</val:name>
  166. <val:rule>
  167. <val:pattern>
  168. <val:regex>^\{"name":(0|1),"value":("ALL"|[a-z0-9])\}$</val:regex>
  169. </val:pattern>
  170. </val:rule>
  171. </frag:validate-->
  172. </frag:transientProperties>
  173. </meta>
  174. <!--library type="text/javascript" href="$WEB$/dojotoolkit/dojo/dojo.js"/-->
  175. <css type="text/css" href="$WEB$/skins/$SKIN$/myinbox/myinbox.css"/>
  176. <message source="/messages/myinbox.xml"/>
  177. <stage processor="xslt" source="myinbox/menu/toolbar.xslt">
  178. <output name="toolbar"/>
  179. </stage>
  180. <stage processor="xslt" source="myinbox/menu/contextMenu.xslt">
  181. <output name="contextMenu"/>
  182. </stage>
  183. <interaction source="com.ibm.cognos.internal.hts.fragment.stage.TaskListInteractionStage" processor="java">
  184. <param name="requestCookies"/>
  185. <param name="interactions"/>
  186. <param name="busHeader"/>
  187. </interaction>
  188. <render>
  189. <param name="interactions"/>
  190. <param name="busHeader"/>
  191. <param name="preferences"/>
  192. <input name="toolbar"/>
  193. <input name="contextMenu"/>
  194. <mode name="view">
  195. <transforms>
  196. <transform source="myinbox/tasklist/view/render-pool.xslt"/>
  197. </transforms>
  198. </mode>
  199. </render>
  200. </implementation>