setLabels_interface.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: ASV
  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. <!--
  9. =================================================================================================================================
  10. Interface for email_options.xts
  11. The paremeters passed to the email_options.xts morphlet must have the following structure
  12. <root>
  13. ...
  14. <req-params:requestParams xmlns:req-params="http://developer.cognos.com/schemas/request/params">
  15. <req-params:param name="requestState">addEntries|markup</req-params:param>
  16. <req-params:param name="formName">pform</req-params:param>
  17. <req-params:param name="">...</req-params:param>
  18. </req-params:requestParams>
  19. </root>
  20. parameter name Description required
  21. ___________________________ ___________________________________________________________ ____________________________
  22. requestState the current state of the morphlet yes, will be added automatically by
  23. the dlgctrl:XTS2Request template
  24. addEntries - call the add entries morphlet
  25. finished - generate the resulting XML and return it
  26. canceled - user hit the cancel button, return </canceled>
  27. markup - produce the HTML markup for the email page
  28. genDefault - return a default options blob
  29. titlePrefix for display purposes yes
  30. titlePostfix for display purposes no, will get appened to titlePrefix
  31. approveText the text to display on the approve button yes
  32. rejectText the text to display on the reject button yes
  33. submitText the text to display on the submit button yes
  34. futureTasks An XML structure describing the following tasks which can be executed following this task yes,
  35. owner_action Are we doing an approval or an agent task yes
  36. isPopup is the dialog being displayed in the popUp frame no
  37. formName the form name to use in the javascript no, defaults to pform
  38. displayButtons should the footer get generated no, default is true
  39. headerStyle what style should be used to render the header no, default is the standard dialog header. Possible
  40. values are 'dialog' or 'page'
  41. **** All the target and URL params can have a 'target' attribute to specify what frame should be targeted. Default is _self
  42. defaultTarget target morphlet to be called when hitting any button yes, used for links on the email dialog
  43. on the page and any button that hasn't been explicitly specified
  44. okTarget target morphlet to be called when hitting the OK button no, defaultTarget will be used. Set value to disable
  45. if you want the ok button to be disabled.
  46. cancelTarget target morphlet to be called when hitting the Cancel button no, defaultTarget will be used. Set value to disable
  47. if you want the Cancel button to be disabled.
  48. backTarget target morphlet to be called when hitting the Back button no, defaultTarget will be used. Set value to disable
  49. if you want the Back button to be disabled.
  50. nextTarget target morphlet to be called when hitting the Next button no, defaultTarget will be used. Set value to disable
  51. if you want the Next button to be disabled.
  52. finishTarget target morphlet to be called when hitting the Finish button no, defaultTarget will be used. Set value to disable
  53. if you want the Finish button to be disabled.
  54. okURL URL to be used when the user hits the OK button no, okTarget will be used if specified or
  55. defaultTarget will be used. Set value to disable
  56. if you want the Finish button to be disabled.
  57. cancelURL URL to be used when the user hits the Cancel button no, cancelTarget will be used if specified or
  58. defaultTarget will be used. Set value to disable
  59. if you want the Finish button to be disabled.
  60. backURL URL to be used when the user hits the Back button no, backTarget will be used if specified or
  61. defaultTarget will be used. Set value to disable
  62. if you want the Finish button to be disabled.
  63. nextURL URL to be used when the user hits the Next button no, nextTarget will be used if specified or
  64. defaultTarget will be used. Set value to disable
  65. if you want the Finish button to be disabled.
  66. finishURL URL to be used when the user hits the Finish button no, finishTarget will be used if specified or
  67. defaultTarget will be used. Set value to disable
  68. if you want the Finish button to be disabled.
  69. taskType Defines whether the task is 'approval' or 'notification'
  70. taskImage Defines the HTS task image
  71. followingTaskList An XML structure describing the following tasks which can be executed following this task no,
  72. Email Options will return the following markup
  73. <markup>....</markup>
  74. or
  75. <options>...</options>
  76. or
  77. <canceled/>
  78. ====================================================================================================================================
  79. -->
  80. <API_params>
  81. <request_state/>
  82. <defaultTarget/>
  83. <titlePrefix/>
  84. <titlePostfix/>
  85. <approveText/>
  86. <rejectText/>
  87. <submitText/>
  88. <futureTasks/>
  89. <owner_action/>
  90. <isPopup default="true"/>
  91. <formName default="pform"/>
  92. <displayButtons default="true"/>
  93. <headerStyle default="dialog"/>
  94. <okTarget/>
  95. <cancelTarget/>
  96. <backTarget/>
  97. <nextTarget/>
  98. <finishTarget/>
  99. <okURL/>
  100. <cancelURL/>
  101. <backURL/>
  102. <nextURL/>
  103. <finishURL/>
  104. <taskType/>
  105. </API_params>