home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / Office.en-us / OfficeLR.cab / REVIEWROUTING_REVIEW.XSN_1033 / manifest.xsf < prev    next >
Extensible Markup Language  |  2010-01-09  |  27KB  |  453 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. This file is automatically created and modified by Microsoft Office InfoPath.
  4. Changes made to the file outside of InfoPath might be lost if the form template is modified in InfoPath.
  5. -->
  6. <xsf:xDocumentClass solutionVersion="14.0.0.0" productVersion="14.0.0.0" solutionFormatVersion="2.0.0.0" name="urn:schemas-microsoft-com:office:infopath:workflow:ReviewRouting-Review:1033" xmlns:xsf="http://schemas.microsoft.com/office/infopath/2003/solutionDefinition" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:xdUtil="http://schemas.microsoft.com/office/infopath/2003/xslt/Util" xmlns:xdXDocument="http://schemas.microsoft.com/office/infopath/2003/xslt/xDocument" xmlns:xdMath="http://schemas.microsoft.com/office/infopath/2003/xslt/Math" xmlns:xdDate="http://schemas.microsoft.com/office/infopath/2003/xslt/Date" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:o12="http://schemas.microsoft.com/office/2004/7/core" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w12="http://schemas.microsoft.com/office/word/2004/6/wordml" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:z="#RowsetSchema" xmlns:xdEnvironment="http://schemas.microsoft.com/office/infopath/2006/xslt/environment" xmlns:xdExtension="http://schemas.microsoft.com/office/infopath/2003/xslt/extension" xmlns:xdUser="http://schemas.microsoft.com/office/infopath/2006/xslt/User">
  7.     <xsf:package>
  8.         <xsf:files>
  9.             <xsf:file name="myschema.xsd">
  10.                 <xsf:fileProperties>
  11.                     <xsf:property name="namespace" type="string" value="http://schemas.microsoft.com/office/infopath/2003/myXSD"></xsf:property>
  12.                     <xsf:property name="editability" type="string" value="full"></xsf:property>
  13.                     <xsf:property name="rootElement" type="string" value="myFields"></xsf:property>
  14.                     <xsf:property name="useOnDemandAlgorithm" type="string" value="yes"></xsf:property>
  15.                 </xsf:fileProperties>
  16.             </xsf:file>
  17.             <xsf:file name="template.xml"></xsf:file>
  18.             <xsf:file name="sampledata.xml">
  19.                 <xsf:fileProperties>
  20.                     <xsf:property name="fileType" type="string" value="sampleData"></xsf:property>
  21.                 </xsf:fileProperties>
  22.             </xsf:file>
  23.             <xsf:file name="view1.xsl">
  24.                 <xsf:fileProperties>
  25.                     <xsf:property name="lang" type="string" value="1033"></xsf:property>
  26.                     <xsf:property name="componentId" type="string" value="141"></xsf:property>
  27.                     <xsf:property name="xmlToEditName" type="string" value="52"></xsf:property>
  28.                     <xsf:property name="mode" type="string" value="20"></xsf:property>
  29.                     <xsf:property name="warning" type="string" value="no"></xsf:property>
  30.                     <xsf:property name="textSettings:plaintext" type="string" value="font-family:Tahoma;font-size:8.5pt"></xsf:property>
  31.                     <xsf:property name="textSettings:expressionbox" type="string" value="font-family:Tahoma;font-size:8.5pt;color:#000000;font-weight:normal;font-style:normal;text-decoration:none"></xsf:property>
  32.                     <xsf:property name="textSettings:richtext" type="string" value="font-family:Tahoma;font-size:8.5pt"></xsf:property>
  33.                     <xsf:property name="textSettings:dtpicker" type="string" value="font-family:Tahoma;font-size:8.5pt"></xsf:property>
  34.                     <xsf:property name="textSettings:combobox" type="string" value="font-family:Tahoma"></xsf:property>
  35.                     <xsf:property name="textSettings:numberedlist" type="string" value="font-family:Tahoma"></xsf:property>
  36.                     <xsf:property name="textSettings:dropdown" type="string" value="font-family:Tahoma"></xsf:property>
  37.                     <xsf:property name="textSettings:plainlist" type="string" value="font-family:Tahoma"></xsf:property>
  38.                     <xsf:property name="textSettings:listbox" type="string" value="font-family:Tahoma"></xsf:property>
  39.                     <xsf:property name="textSettings:bulletedlist" type="string" value="font-family:Tahoma"></xsf:property>
  40.                     <xsf:property name="textSettings:multiselectlistbox" type="string" value="font-family:Tahoma"></xsf:property>
  41.                 </xsf:fileProperties>
  42.             </xsf:file>
  43.             <xsf:file name="Delegate.xsl">
  44.                 <xsf:fileProperties>
  45.                     <xsf:property name="lang" type="string" value="1033"></xsf:property>
  46.                     <xsf:property name="componentId" type="string" value="32"></xsf:property>
  47.                     <xsf:property name="xmlToEditName" type="string" value="25"></xsf:property>
  48.                     <xsf:property name="warning" type="string" value="no"></xsf:property>
  49.                 </xsf:fileProperties>
  50.             </xsf:file>
  51.             <xsf:file name="Context.xsd">
  52.                 <xsf:fileProperties>
  53.                     <xsf:property name="dataObject" type="string" value="Context"></xsf:property>
  54.                     <xsf:property name="rootElement" type="string" value="Context"></xsf:property>
  55.                     <xsf:property name="useOnDemandAlgorithm" type="string" value="yes"></xsf:property>
  56.                 </xsf:fileProperties>
  57.             </xsf:file>
  58.             <xsf:file name="Context.xml">
  59.                 <xsf:fileProperties>
  60.                     <xsf:property name="fileType" type="string" value="resource"></xsf:property>
  61.                 </xsf:fileProperties>
  62.             </xsf:file>
  63.             <xsf:file name="ItemMetadata.xml">
  64.                 <xsf:fileProperties>
  65.                     <xsf:property name="fileType" type="string" value="resource"></xsf:property>
  66.                 </xsf:fileProperties>
  67.             </xsf:file>
  68.             <xsf:file name="RequestChange.xsl">
  69.                 <xsf:fileProperties>
  70.                     <xsf:property name="lang" type="string" value="1033"></xsf:property>
  71.                     <xsf:property name="xmlToEditName" type="string" value="22"></xsf:property>
  72.                     <xsf:property name="componentId" type="string" value="17"></xsf:property>
  73.                 </xsf:fileProperties>
  74.             </xsf:file>
  75.             <xsf:file name="Change.xsl">
  76.                 <xsf:fileProperties>
  77.                     <xsf:property name="lang" type="string" value="1033"></xsf:property>
  78.                     <xsf:property name="componentId" type="string" value="7"></xsf:property>
  79.                     <xsf:property name="xmlToEditName" type="string" value="2"></xsf:property>
  80.                     <xsf:property name="mode" type="string" value="3"></xsf:property>
  81.                 </xsf:fileProperties>
  82.             </xsf:file>
  83.             <xsf:file name="Review.xsl">
  84.                 <xsf:fileProperties>
  85.                     <xsf:property name="lang" type="string" value="1033"></xsf:property>
  86.                     <xsf:property name="componentId" type="string" value="3"></xsf:property>
  87.                     <xsf:property name="xmlToEditName" type="string" value="2"></xsf:property>
  88.                     <xsf:property name="mode" type="string" value="3"></xsf:property>
  89.                 </xsf:fileProperties>
  90.             </xsf:file>
  91.             <xsf:file name="ItemMetadata.xsd">
  92.                 <xsf:fileProperties>
  93.                     <xsf:property name="namespace" type="string" value="#RowsetSchema"></xsf:property>
  94.                     <xsf:property name="dataObject" type="string" value="ItemMetadata"></xsf:property>
  95.                     <xsf:property name="rootElement" type="string" value="row"></xsf:property>
  96.                     <xsf:property name="useOnDemandAlgorithm" type="string" value="yes"></xsf:property>
  97.                 </xsf:fileProperties>
  98.             </xsf:file>
  99.             <xsf:file name="ItemMetadata1.xsd">
  100.                 <xsf:fileProperties>
  101.                     <xsf:property name="dataObject" type="string" value="ItemMetadata"></xsf:property>
  102.                 </xsf:fileProperties>
  103.             </xsf:file>
  104.         </xsf:files>
  105.     </xsf:package>
  106.     <xsf:importParameters enabled="yes" useScriptHandler="no"></xsf:importParameters>
  107.     <xsf:views default="Approval">
  108.         <xsf:view name="Approval" caption="Approval">
  109.             <xsf:mainpane transform="view1.xsl"></xsf:mainpane>
  110.             <xsf:editing>
  111.                 <xsf:xmlToEdit name="Comments_52" item="/my:myFields/my:Comments">
  112.                     <xsf:editWith type="plainMultiline" component="xField"></xsf:editWith>
  113.                 </xsf:xmlToEdit>
  114.             </xsf:editing>
  115.             <xsf:unboundControls>
  116.                 <xsf:button name="Approval_btnApprove">
  117.                     <xsf:ruleSetAction ruleSet="ruleSet_54"></xsf:ruleSetAction>
  118.                 </xsf:button>
  119.                 <xsf:button name="Approval_btnReject">
  120.                     <xsf:ruleSetAction ruleSet="ruleSet_55"></xsf:ruleSetAction>
  121.                 </xsf:button>
  122.                 <xsf:button name="Approval_btnCancel">
  123.                     <xsf:ruleSetAction ruleSet="ruleSet_56"></xsf:ruleSetAction>
  124.                 </xsf:button>
  125.                 <xsf:button name="Approval_btnDelegate">
  126.                     <xsf:ruleSetAction ruleSet="ruleSet_59"></xsf:ruleSetAction>
  127.                 </xsf:button>
  128.                 <xsf:button name="Approval_btnRequestChange">
  129.                     <xsf:ruleSetAction ruleSet="ruleSet_60"></xsf:ruleSetAction>
  130.                 </xsf:button>
  131.             </xsf:unboundControls>
  132.         </xsf:view>
  133.         <xsf:view name="Delegate" caption="Delegate">
  134.             <xsf:mainpane transform="Delegate.xsl"></xsf:mainpane>
  135.             <xsf:editing>
  136.                 <xsf:xmlToEdit name="NewDescription_21" item="/my:myFields/my:NewDescription">
  137.                     <xsf:editWith type="plainMultiline" component="xField"></xsf:editWith>
  138.                 </xsf:xmlToEdit>
  139.                 <xsf:xmlToEdit name="NewDueDate_24" item="/my:myFields/my:NewDueDate">
  140.                     <xsf:editWith proofing="no" autoComplete="no" component="xField"></xsf:editWith>
  141.                 </xsf:xmlToEdit>
  142.             </xsf:editing>
  143.             <xsf:unboundControls>
  144.                 <xsf:button name="Delegate_btnSubmit">
  145.                     <xsf:ruleSetAction ruleSet="ruleSet_65"></xsf:ruleSetAction>
  146.                 </xsf:button>
  147.                 <xsf:button name="Delegate_btnCancel">
  148.                     <xsf:ruleSetAction ruleSet="ruleSet_66"></xsf:ruleSetAction>
  149.                 </xsf:button>
  150.             </xsf:unboundControls>
  151.         </xsf:view>
  152.         <xsf:view name="Request Change" caption="Request Change">
  153.             <xsf:mainpane transform="RequestChange.xsl"></xsf:mainpane>
  154.             <xsf:editing>
  155.                 <xsf:xmlToEdit name="NewDescription_19" item="/my:myFields/my:NewDescription">
  156.                     <xsf:editWith type="plainMultiline" component="xField"></xsf:editWith>
  157.                 </xsf:xmlToEdit>
  158.                 <xsf:xmlToEdit name="NewDueDate_22" item="/my:myFields/my:NewDueDate">
  159.                     <xsf:editWith proofing="no" autoComplete="no" component="xField"></xsf:editWith>
  160.                 </xsf:xmlToEdit>
  161.             </xsf:editing>
  162.             <xsf:unboundControls>
  163.                 <xsf:button name="RequestChange_btnSubmit">
  164.                     <xsf:ruleSetAction ruleSet="ruleSet_67"></xsf:ruleSetAction>
  165.                 </xsf:button>
  166.                 <xsf:button name="RequestChange_btnCancel">
  167.                     <xsf:ruleSetAction ruleSet="ruleSet_68"></xsf:ruleSetAction>
  168.                 </xsf:button>
  169.             </xsf:unboundControls>
  170.         </xsf:view>
  171.         <xsf:view name="Change" caption="Change">
  172.             <xsf:mainpane transform="Change.xsl"></xsf:mainpane>
  173.             <xsf:editing>
  174.                 <xsf:xmlToEdit name="Comments_2" item="/my:myFields/my:Comments">
  175.                     <xsf:editWith type="plainMultiline" component="xField"></xsf:editWith>
  176.                 </xsf:xmlToEdit>
  177.             </xsf:editing>
  178.             <xsf:unboundControls>
  179.                 <xsf:button name="Change_btnSubmit">
  180.                     <xsf:ruleSetAction ruleSet="ruleSet_61"></xsf:ruleSetAction>
  181.                 </xsf:button>
  182.                 <xsf:button name="Change_btnCancel">
  183.                     <xsf:ruleSetAction ruleSet="ruleSet_62"></xsf:ruleSetAction>
  184.                 </xsf:button>
  185.                 <xsf:button name="Change_btnDelegate">
  186.                     <xsf:ruleSetAction ruleSet="ruleSet_75"></xsf:ruleSetAction>
  187.                 </xsf:button>
  188.                 <xsf:button name="Change_btnRequestChange">
  189.                     <xsf:ruleSetAction ruleSet="ruleSet_74"></xsf:ruleSetAction>
  190.                 </xsf:button>
  191.             </xsf:unboundControls>
  192.         </xsf:view>
  193.         <xsf:view name="Review" caption="Review">
  194.             <xsf:mainpane transform="Review.xsl"></xsf:mainpane>
  195.             <xsf:editing>
  196.                 <xsf:xmlToEdit name="Comments_2" item="/my:myFields/my:Comments">
  197.                     <xsf:editWith type="plainMultiline" component="xField"></xsf:editWith>
  198.                 </xsf:xmlToEdit>
  199.             </xsf:editing>
  200.             <xsf:unboundControls>
  201.                 <xsf:button name="Review_btnSave">
  202.                     <xsf:ruleSetAction ruleSet="ruleSet_69"></xsf:ruleSetAction>
  203.                 </xsf:button>
  204.                 <xsf:button name="Review_btnSubmit">
  205.                     <xsf:ruleSetAction ruleSet="ruleSet_70"></xsf:ruleSetAction>
  206.                 </xsf:button>
  207.                 <xsf:button name="Review_btnCancel">
  208.                     <xsf:ruleSetAction ruleSet="ruleSet_71"></xsf:ruleSetAction>
  209.                 </xsf:button>
  210.                 <xsf:button name="Approval_btnDelegate">
  211.                     <xsf:ruleSetAction ruleSet="ruleSet_73"></xsf:ruleSetAction>
  212.                 </xsf:button>
  213.                 <xsf:button name="Approval_btnRequestChange">
  214.                     <xsf:ruleSetAction ruleSet="ruleSet_72"></xsf:ruleSetAction>
  215.                 </xsf:button>
  216.             </xsf:unboundControls>
  217.         </xsf:view>
  218.     </xsf:views>
  219.     <xsf:permissions>
  220.         <xsf:allowedControl clsid="{61e40d31-993d-4777-8fa0-19ca59b6d0bb}"></xsf:allowedControl>
  221.     </xsf:permissions>
  222.     <xsf:applicationParameters application="InfoPath Design Mode">
  223.         <xsf:solutionProperties fullyEditableNamespace="http://schemas.microsoft.com/office/infopath/2003/myXSD" lastOpenView="Delegate.xsl" lastVersionNeedingTransform="1.0.0.261" scriptLanguage="jscript"></xsf:solutionProperties>
  224.     </xsf:applicationParameters>
  225.     <xsf:extensions>
  226.         <xsf:extension name="SolutionDefinitionExtensions">
  227.             <xsf2:solutionDefinition runtimeCompatibility="client server" allowClientOnlyCode="no" xmlns:xsf2="http://schemas.microsoft.com/office/infopath/2006/solutionDefinition/extensions">
  228.                 <xsf2:server isPreSubmitPostBackEnabled="yes" formLocale="en-US">
  229.                     <xsf2:toolbar enabledTop="no" enabledBottom="no">
  230.                         <xsf2:commands></xsf2:commands>
  231.                     </xsf2:toolbar>
  232.                 </xsf2:server>
  233.             </xsf2:solutionDefinition>
  234.         </xsf:extension>
  235.     </xsf:extensions>
  236.     <xsf:documentSchemas>
  237.         <xsf:documentSchema rootSchema="yes" location="http://schemas.microsoft.com/office/infopath/2003/myXSD myschema.xsd"></xsf:documentSchema>
  238.     </xsf:documentSchemas>
  239.     <xsf:fileNew>
  240.         <xsf:initialXmlDocument caption="Review" href="template.xml">
  241.             <xsf:customCategory name="Workflow"></xsf:customCategory>
  242.         </xsf:initialXmlDocument>
  243.     </xsf:fileNew>
  244.     <xsf:dataObjects>
  245.         <xsf:dataObject name="Context" schema="Context.xsd" initOnLoad="no">
  246.             <xsf:query>
  247.                 <xsf:xmlFileAdapter fileUrl="Context.xml" name="Context"></xsf:xmlFileAdapter>
  248.             </xsf:query>
  249.         </xsf:dataObject>
  250.         <xsf:dataObject name="ItemMetadata" schema="ItemMetadata.xsd" initOnLoad="no">
  251.             <xsf:query>
  252.                 <xsf:xmlFileAdapter fileUrl="ItemMetadata.xml" name="ItemMetadata"></xsf:xmlFileAdapter>
  253.             </xsf:query>
  254.         </xsf:dataObject>
  255.     </xsf:dataObjects>
  256.     <xsf:dataAdapters>
  257.         <xsf:submitToHostAdapter name="Submit" submitAllowed="yes"></xsf:submitToHostAdapter>
  258.     </xsf:dataAdapters>
  259.     <xsf:domEventHandlers>
  260.         <xsf:domEventHandler match="/my:myFields/my:Decline">
  261.             <xsf:ruleSetAction ruleSet="ruleSet_76"></xsf:ruleSetAction>
  262.         </xsf:domEventHandler>
  263.         <xsf:domEventHandler match="/my:myFields/my:dcr">
  264.             <xsf:ruleSetAction ruleSet="ruleSet_77"></xsf:ruleSetAction>
  265.         </xsf:domEventHandler>
  266.     </xsf:domEventHandlers>
  267.     <xsf:customValidation>
  268.         <xsf:errorCondition match="/my:myFields/my:DelegateTo" expressionContext="." expression="../my:Decline != 1 and count(my:Person) > 1">
  269.             <xsf:errorMessage type="modeless" shortMessage="Please select only one recipient.">You can delegate this task to only one recipient.</xsf:errorMessage>
  270.         </xsf:errorCondition>
  271.         <xsf:errorCondition match="/my:myFields/my:DelegateTo" expression="../my:Decline != 1 and count(my:Person) = 1 and my:Person/my:AccountId = """>
  272.             <xsf:errorMessage type="modeless" shortMessage="The name you entered could not be resolved.">Resolved names will appear underlined. The names that could not be resolved will not appear underlined.</xsf:errorMessage>
  273.         </xsf:errorCondition>
  274.         <xsf:errorCondition match="/my:myFields/my:RequestTo" expressionContext="." expression="../my:dcr != 1 and count(my:Person) > 1">
  275.             <xsf:errorMessage type="modeless" shortMessage="Please select only one recipient.">You can delegate this task to only one recipient.</xsf:errorMessage>
  276.         </xsf:errorCondition>
  277.         <xsf:errorCondition match="/my:myFields/my:RequestTo" expression="../my:dcr != 1 and count(my:Person) = 1 and my:Person/my:AccountId = """>
  278.             <xsf:errorMessage type="modeless" shortMessage="The name you entered could not be resolved.">Resolved names will appear underlined. The names that could not be resolved will not appear underlined.</xsf:errorMessage>
  279.         </xsf:errorCondition>
  280.     </xsf:customValidation>
  281.     <xsf:ruleSets>
  282.         <xsf:ruleSet name="ruleSet_50">
  283.             <xsf:rule caption="Show Review" condition="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_TaskType = 0" isEnabled="yes">
  284.                 <xsf:switchViewAction view="Review"></xsf:switchViewAction>
  285.             </xsf:rule>
  286.             <xsf:rule caption="Show Approve" condition="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_TaskType = 1" isEnabled="yes">
  287.                 <xsf:switchViewAction view="Approval"></xsf:switchViewAction>
  288.             </xsf:rule>
  289.             <xsf:rule caption="Show Change" condition="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_TaskType = 2" isEnabled="yes">
  290.                 <xsf:switchViewAction view="Change"></xsf:switchViewAction>
  291.             </xsf:rule>
  292.         </xsf:ruleSet>
  293.         <xsf:ruleSet name="ruleSet_54">
  294.             <xsf:rule caption="Submit Change" isEnabled="yes">
  295.                 <xsf:assignmentAction targetField="my:TaskStatus" expression=""#""></xsf:assignmentAction>
  296.                 <xsf:submitAction adapter="Submit"></xsf:submitAction>
  297.                 <xsf:closeDocumentAction promptToSaveChanges="no"></xsf:closeDocumentAction>
  298.             </xsf:rule>
  299.         </xsf:ruleSet>
  300.         <xsf:ruleSet name="ruleSet_55">
  301.             <xsf:rule caption="Reject" isEnabled="yes">
  302.                 <xsf:assignmentAction targetField="my:TaskStatus" expression=""@""></xsf:assignmentAction>
  303.                 <xsf:submitAction adapter="Submit"></xsf:submitAction>
  304.                 <xsf:closeDocumentAction promptToSaveChanges="no"></xsf:closeDocumentAction>
  305.             </xsf:rule>
  306.         </xsf:ruleSet>
  307.         <xsf:ruleSet name="ruleSet_56">
  308.             <xsf:rule caption="Close" isEnabled="yes">
  309.                 <xsf:closeDocumentAction promptToSaveChanges="no"></xsf:closeDocumentAction>
  310.             </xsf:rule>
  311.         </xsf:ruleSet>
  312.         <xsf:ruleSet name="ruleSet_59">
  313.             <xsf:rule caption="Reassign" isEnabled="yes">
  314.                 <xsf:assignmentAction targetField="my:TaskStatus" expression=""""></xsf:assignmentAction>
  315.                 <xsf:assignmentAction targetField="my:Decline" expression=""1""></xsf:assignmentAction>
  316.                 <xsf:switchViewAction view="Delegate"></xsf:switchViewAction>
  317.             </xsf:rule>
  318.         </xsf:ruleSet>
  319.         <xsf:ruleSet name="ruleSet_60">
  320.             <xsf:rule caption="Request Change" isEnabled="yes">
  321.                 <xsf:assignmentAction targetField="my:TaskStatus" expression=""""></xsf:assignmentAction>
  322.                 <xsf:assignmentAction targetField="my:dcr" expression=""1""></xsf:assignmentAction>
  323.                 <xsf:switchViewAction view="Request Change"></xsf:switchViewAction>
  324.             </xsf:rule>
  325.         </xsf:ruleSet>
  326.         <xsf:ruleSet name="ruleSet_61">
  327.             <xsf:rule caption="Submit Change" isEnabled="yes">
  328.                 <xsf:assignmentAction targetField="my:TaskStatus" expression=""#""></xsf:assignmentAction>
  329.                 <xsf:submitAction adapter="Submit"></xsf:submitAction>
  330.                 <xsf:closeDocumentAction promptToSaveChanges="no"></xsf:closeDocumentAction>
  331.             </xsf:rule>
  332.         </xsf:ruleSet>
  333.         <xsf:ruleSet name="ruleSet_62">
  334.             <xsf:rule caption="Close" isEnabled="yes">
  335.                 <xsf:closeDocumentAction promptToSaveChanges="no"></xsf:closeDocumentAction>
  336.             </xsf:rule>
  337.         </xsf:ruleSet>
  338.         <xsf:ruleSet name="ruleSet_65">
  339.             <xsf:rule caption="Delegate" isEnabled="yes">
  340.                 <xsf:submitAction adapter="Submit"></xsf:submitAction>
  341.                 <xsf:closeDocumentAction promptToSaveChanges="no"></xsf:closeDocumentAction>
  342.             </xsf:rule>
  343.         </xsf:ruleSet>
  344.         <xsf:ruleSet name="ruleSet_66">
  345.             <xsf:rule caption="Clear Delegates" isEnabled="yes">
  346.                 <xsf:assignmentAction targetField="my:DelegateTo/my:Person/my:DisplayName" expression=""""></xsf:assignmentAction>
  347.                 <xsf:assignmentAction targetField="my:DelegateTo/my:Person/my:AccountId" expression=""""></xsf:assignmentAction>
  348.                 <xsf:assignmentAction targetField="my:Decline" expression=""0""></xsf:assignmentAction>
  349.             </xsf:rule>
  350.             <xsf:rule caption="Revert Review" condition="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_TaskType = 0" isEnabled="yes">
  351.                 <xsf:switchViewAction view="Review"></xsf:switchViewAction>
  352.             </xsf:rule>
  353.             <xsf:rule caption="Revert Approval" condition="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_TaskType = 1" isEnabled="yes">
  354.                 <xsf:switchViewAction view="Approval"></xsf:switchViewAction>
  355.             </xsf:rule>
  356.             <xsf:rule caption="Revert Change" condition="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_TaskType = 2" isEnabled="yes">
  357.                 <xsf:switchViewAction view="Change"></xsf:switchViewAction>
  358.             </xsf:rule>
  359.         </xsf:ruleSet>
  360.         <xsf:ruleSet name="ruleSet_67">
  361.             <xsf:rule caption="Request Change" isEnabled="yes">
  362.                 <xsf:submitAction adapter="Submit"></xsf:submitAction>
  363.                 <xsf:closeDocumentAction promptToSaveChanges="no"></xsf:closeDocumentAction>
  364.             </xsf:rule>
  365.         </xsf:ruleSet>
  366.         <xsf:ruleSet name="ruleSet_68">
  367.             <xsf:rule caption="Clear CR" isEnabled="yes">
  368.                 <xsf:assignmentAction targetField="my:RequestTo/my:Person/my:DisplayName" expression=""""></xsf:assignmentAction>
  369.                 <xsf:assignmentAction targetField="my:RequestTo/my:Person/my:AccountId" expression=""""></xsf:assignmentAction>
  370.                 <xsf:assignmentAction targetField="my:dcr" expression=""0""></xsf:assignmentAction>
  371.             </xsf:rule>
  372.             <xsf:rule caption="Revert Review" condition="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_TaskType = 0" isEnabled="yes">
  373.                 <xsf:switchViewAction view="Review"></xsf:switchViewAction>
  374.             </xsf:rule>
  375.             <xsf:rule caption="Revert Approval" condition="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_TaskType = 1" isEnabled="yes">
  376.                 <xsf:switchViewAction view="Approval"></xsf:switchViewAction>
  377.             </xsf:rule>
  378.             <xsf:rule caption="Revert Change" condition="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_TaskType = 2" isEnabled="yes">
  379.                 <xsf:switchViewAction view="Change"></xsf:switchViewAction>
  380.             </xsf:rule>
  381.         </xsf:ruleSet>
  382.         <xsf:ruleSet name="ruleSet_69">
  383.             <xsf:rule caption="Save" isEnabled="yes">
  384.                 <xsf:submitAction adapter="Submit"></xsf:submitAction>
  385.                 <xsf:closeDocumentAction promptToSaveChanges="no"></xsf:closeDocumentAction>
  386.             </xsf:rule>
  387.         </xsf:ruleSet>
  388.         <xsf:ruleSet name="ruleSet_70">
  389.             <xsf:rule caption="Set Status and Submit" isEnabled="yes">
  390.                 <xsf:assignmentAction targetField="my:TaskStatus" expression=""#""></xsf:assignmentAction>
  391.                 <xsf:submitAction adapter="Submit"></xsf:submitAction>
  392.                 <xsf:closeDocumentAction promptToSaveChanges="no"></xsf:closeDocumentAction>
  393.             </xsf:rule>
  394.         </xsf:ruleSet>
  395.         <xsf:ruleSet name="ruleSet_71">
  396.             <xsf:rule caption="Close" isEnabled="yes">
  397.                 <xsf:closeDocumentAction promptToSaveChanges="no"></xsf:closeDocumentAction>
  398.             </xsf:rule>
  399.         </xsf:ruleSet>
  400.         <xsf:ruleSet name="ruleSet_72">
  401.             <xsf:rule caption="Request Change" isEnabled="yes">
  402.                 <xsf:assignmentAction targetField="my:TaskStatus" expression=""""></xsf:assignmentAction>
  403.                 <xsf:assignmentAction targetField="my:dcr" expression=""1""></xsf:assignmentAction>
  404.                 <xsf:switchViewAction view="Request Change"></xsf:switchViewAction>
  405.             </xsf:rule>
  406.         </xsf:ruleSet>
  407.         <xsf:ruleSet name="ruleSet_73">
  408.             <xsf:rule caption="Reassign" isEnabled="yes">
  409.                 <xsf:assignmentAction targetField="my:TaskStatus" expression=""""></xsf:assignmentAction>
  410.                 <xsf:assignmentAction targetField="my:Decline" expression=""1""></xsf:assignmentAction>
  411.                 <xsf:switchViewAction view="Delegate"></xsf:switchViewAction>
  412.             </xsf:rule>
  413.         </xsf:ruleSet>
  414.         <xsf:ruleSet name="ruleSet_74">
  415.             <xsf:rule caption="Request Change" isEnabled="yes">
  416.                 <xsf:assignmentAction targetField="my:TaskStatus" expression=""""></xsf:assignmentAction>
  417.                 <xsf:assignmentAction targetField="my:dcr" expression=""1""></xsf:assignmentAction>
  418.                 <xsf:switchViewAction view="Request Change"></xsf:switchViewAction>
  419.             </xsf:rule>
  420.         </xsf:ruleSet>
  421.         <xsf:ruleSet name="ruleSet_75">
  422.             <xsf:rule caption="Reassign" isEnabled="yes">
  423.                 <xsf:assignmentAction targetField="my:TaskStatus" expression=""""></xsf:assignmentAction>
  424.                 <xsf:assignmentAction targetField="my:Decline" expression=""1""></xsf:assignmentAction>
  425.                 <xsf:switchViewAction view="Delegate"></xsf:switchViewAction>
  426.             </xsf:rule>
  427.         </xsf:ruleSet>
  428.         <xsf:ruleSet name="ruleSet_76">
  429.             <xsf:rule caption="ClearDelegate" condition=". = 1" isEnabled="yes">
  430.                 <xsf:assignmentAction targetField="../my:DelegateTo/my:Person/my:DisplayName" expression=""""></xsf:assignmentAction>
  431.                 <xsf:assignmentAction targetField="../my:DelegateTo/my:Person/my:AccountId" expression=""""></xsf:assignmentAction>
  432.                 <xsf:assignmentAction targetField="../my:DelegateTo/my:Person/my:AccountType" expression=""""></xsf:assignmentAction>
  433.             </xsf:rule>
  434.         </xsf:ruleSet>
  435.         <xsf:ruleSet name="ruleSet_77">
  436.             <xsf:rule caption="ClearRequest" condition=". = 1" isEnabled="yes">
  437.                 <xsf:assignmentAction targetField="../my:RequestTo/my:Person/my:DisplayName" expression=""""></xsf:assignmentAction>
  438.                 <xsf:assignmentAction targetField="../my:RequestTo/my:Person/my:AccountId" expression=""""></xsf:assignmentAction>
  439.                 <xsf:assignmentAction targetField="../my:RequestTo/my:Person/my:AccountType" expression=""""></xsf:assignmentAction>
  440.             </xsf:rule>
  441.         </xsf:ruleSet>
  442.     </xsf:ruleSets>
  443.     <xsf:calculations>
  444.         <xsf:calculatedField target="/my:myFields/my:Comments" expression="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_Comments" refresh="onChange"></xsf:calculatedField>
  445.         <xsf:calculatedField target="/my:myFields/my:NewDescription" expression="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_BodyText" refresh="onChange"></xsf:calculatedField>
  446.         <xsf:calculatedField target="/my:myFields/my:TaskStatus" expression="xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_TaskStatus" refresh="onChange"></xsf:calculatedField>
  447.         <xsf:calculatedField target="/my:myFields/my:NewDueDate" expression="substring-before(xdXDocument:GetDOM("ItemMetadata")/z:row/@ows_DueDate, " ")" refresh="onChange"></xsf:calculatedField>
  448.     </xsf:calculations>
  449.     <xsf:onLoad>
  450.         <xsf:ruleSetAction ruleSet="ruleSet_50"></xsf:ruleSetAction>
  451.     </xsf:onLoad>
  452. </xsf:xDocumentClass>
  453.