123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: HTS
- (C) Copyright IBM Corp. 2005, 2010
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <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/">
- <info>
- <frag:title resourceName="IDS_FRAG_TASKLIST_DEFAULT_TITLE">Task Pool</frag:title>
- </info>
- <meta>
- <frag:handledEvents>cognos.hts.unlock_list</frag:handledEvents>
- <frag:eventDescriptions name="cognos.hts.unlock_list" type="params">
- <frag:description>This event unlocks the task list after selection</frag:description>
- <frag:label>unlock task list</frag:label>
- <frag:hint>unlock_list</frag:hint>
- </frag:eventDescriptions>
- <frag:globalValidator version="1.0">
- <val:parameter skipJavaScript="true">
- <val:name>hts_status</val:name>
- <val:rule>
- <val:enumeration emptyValid="true">
- <val:list>release,stop,start,claim,setPriority</val:list>
- </val:enumeration>
- </val:rule>
- </val:parameter>
- </frag:globalValidator>
- <frag:customProperties name="folderName">
- <frag:datatype>xsd:string</frag:datatype>
- <frag:default>
- <frag:value/>
- </frag:default>
- <frag:control group="1" appearance="hidden"/>
- <frag:validate skipJavaScript="true">
- <val:name>mode</val:name>
- <val:rule>
- <val:type>
- <val:string minLength="0" maxLength="256"/>
- </val:type>
- </val:rule>
- </frag:validate>
- </frag:customProperties>
- <frag:transientProperties name="cognosTaskChanged">
- <frag:label>cognosTaskChanged</frag:label>
- <frag:datatype>string</frag:datatype>
- <frag:validate>
- <val:name>cognosTaskChanged</val:name>
- <val:rule>
- <val:pattern>
- <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>
- </val:pattern>
- </val:rule>
- <!--<val:ruleRef id="fragment-hts:utcdate"/>-->
- </frag:validate>
- </frag:transientProperties>
- <frag:transientProperties name="dateStyle">
- <frag:label>dateStyle</frag:label>
- <frag:datatype>string</frag:datatype>
- <frag:validate>
- <val:name>dateStyle</val:name>
- <val:rule>
- <val:pattern>
- <val:regex>^\{"name":(0|1),"value":"(Task.DueDate|Task.CreateDate)"\}$</val:regex>
- </val:pattern>
- </val:rule>
- <!--<val:ruleRef id="fragment-hts:dateStyle"/>-->
- </frag:validate>
- </frag:transientProperties>
- <frag:transientProperties name="Task.Priority">
- <frag:label>Priority filter</frag:label>
- <frag:datatype>string</frag:datatype>
- <frag:validate>
- <val:name>Task.Priority</val:name>
- <val:rule>
- <val:pattern>
- <val:regex>^\{"name":(0|1|2|3),"value":"(ALL|5|3|1)"\}$</val:regex>
- </val:pattern>
- </val:rule>
- <!--<val:ruleRef id="fragment-hts:Task.priority"/>-->
- </frag:validate>
- </frag:transientProperties>
- <frag:transientProperties name="Task.Status">
- <frag:label>Status filter</frag:label>
- <frag:datatype>string</frag:datatype>
- <frag:validate>
- <val:name>Task.Status</val:name>
- <val:rule>
- <val:pattern>
- <val:regex>^\{"name":(0|1|2|3|4|5|6),"value":"(ALL|READY|ON_HOLD|NOT_STARTED|IN_PROGRESS|COMPLETED|ERROR|OBSOLETE)"\}$</val:regex>
- </val:pattern>
- </val:rule>
- <!--<val:ruleRef id="fragment-hts:Task.status"/>-->
- </frag:validate>
- </frag:transientProperties>
- <frag:transientProperties name="MsgTaskId">
- <frag:label>Task Id</frag:label>
- <frag:datatype>string</frag:datatype>
- <frag:validate>
- <val:name>MsgTaskId</val:name>
- <val:rule>
- <val:pattern>
- <val:regex>[a-z0-9:\-]{0,50}</val:regex>
- </val:pattern>
- </val:rule>
- <!--<val:ruleRef id="fragment-hts:taskID"/>-->
- </frag:validate>
- </frag:transientProperties>
- <frag:transientProperties name="Task.CreateDate">
- <frag:label>Create date filter</frag:label>
- <frag:datatype>string</frag:datatype>
- <frag:validate>
- <val:name>Task.CreateDate</val:name>
- <val:rule>
- <val:pattern>
- <val:regex>^\{"name":(0|1|2|3|4),"value":("ALL"|[0-9]*)\}$</val:regex>
- </val:pattern>
- </val:rule>
- <!--<val:ruleRef id="fragment-hts:Task.createDate"/>-->
- </frag:validate>
- </frag:transientProperties>
- <frag:transientProperties name="Task.DueDate">
- <frag:label>Due date filter</frag:label>
- <frag:datatype>string</frag:datatype>
- <frag:validate>
- <val:name>Task.DueDate</val:name>
- <val:rule>
- <val:pattern>
- <val:regex>^\{"name":(0|1|2|3|4),"value":("ALL"|[0-9]*)\}$</val:regex>
- </val:pattern>
- </val:rule>
- <!--<val:ruleRef id="fragment-hts:Task.dueDate"/>-->
- </frag:validate>
- </frag:transientProperties>
- <frag:transientProperties name="Task.Type">
- <frag:label>Task type filter</frag:label>
- <frag:datatype>string</frag:datatype>
- <frag:validate>
- <val:name>Task.Type</val:name>
- <val:rule>
- <val:pattern>
- <val:regex>^\{"name":(0|1|2),"value":"(ALL|TASK|NOTIFICATION)"\}$</val:regex>
- </val:pattern>
- </val:rule>
- <!--<val:ruleRef id="fragment-hts:Task.type"/>-->
- </frag:validate>
- </frag:transientProperties>
- <frag:transientProperties name="Task.ActualOwner">
- <frag:label>Owner filter</frag:label>
- <frag:datatype>string</frag:datatype>
- <frag:validate>
- <val:name>Task.ActualOwner</val:name>
- <val:rule>
- <val:pattern>
- <val:regex>^\{"name":(0|1),"value":"(ALL_TASKS|MY_TASKS)"\}$</val:regex>
- </val:pattern>
- </val:rule>
- <!--<val:ruleRef id="fragment-hts:Task.actualOwner"/>-->
- </frag:validate>
- </frag:transientProperties>
- <frag:transientProperties name="Task.Application">
- <frag:label>Application name filter</frag:label>
- <frag:datatype>string</frag:datatype>
- <!-- frag:validate>
- <val:name>Task.Application</val:name>
- <val:rule>
- <val:pattern>
- <val:regex>^\{"name":(0|1),"value":("ALL"|[a-z0-9])\}$</val:regex>
- </val:pattern>
- </val:rule>
- </frag:validate-->
- </frag:transientProperties>
-
- </meta>
- <!--library type="text/javascript" href="$WEB$/dojotoolkit/dojo/dojo.js"/-->
- <css type="text/css" href="$WEB$/skins/$SKIN$/myinbox/myinbox.css"/>
- <message source="/messages/myinbox.xml"/>
- <stage processor="xslt" source="myinbox/menu/toolbar.xslt">
- <output name="toolbar"/>
- </stage>
- <stage processor="xslt" source="myinbox/menu/contextMenu.xslt">
- <output name="contextMenu"/>
- </stage>
- <interaction source="com.ibm.cognos.internal.hts.fragment.stage.TaskListInteractionStage" processor="java">
- <param name="requestCookies"/>
- <param name="interactions"/>
- <param name="busHeader"/>
- </interaction>
- <render>
- <param name="interactions"/>
- <param name="busHeader"/>
- <param name="preferences"/>
- <input name="toolbar"/>
- <input name="contextMenu"/>
- <mode name="view">
- <transforms>
- <transform source="myinbox/tasklist/view/render-pool.xslt"/>
- </transforms>
- </mode>
- </render>
- </implementation>
|