123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: ASV
- (C) Copyright IBM Corp. 2005, 2010
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--
- =================================================================================================================================
- Interface for email_options.xts
- The paremeters passed to the email_options.xts morphlet must have the following structure
- <root>
- ...
- <req-params:requestParams xmlns:req-params="http://developer.cognos.com/schemas/request/params">
- <req-params:param name="requestState">addEntries|markup</req-params:param>
- <req-params:param name="formName">pform</req-params:param>
- <req-params:param name="">...</req-params:param>
- </req-params:requestParams>
- </root>
- parameter name Description required
- ___________________________ ___________________________________________________________ ____________________________
- requestState the current state of the morphlet yes, will be added automatically by
- the dlgctrl:XTS2Request template
- addEntries - call the add entries morphlet
- finished - generate the resulting XML and return it
- canceled - user hit the cancel button, return </canceled>
- markup - produce the HTML markup for the email page
- genDefault - return a default options blob
-
- titlePrefix for display purposes yes
- titlePostfix for display purposes no, will get appened to titlePrefix
- approveText the text to display on the approve button yes
- rejectText the text to display on the reject button yes
- submitText the text to display on the submit button yes
- futureTasks An XML structure describing the following tasks which can be executed following this task yes,
- owner_action Are we doing an approval or an agent task yes
- isPopup is the dialog being displayed in the popUp frame no
- formName the form name to use in the javascript no, defaults to pform
- displayButtons should the footer get generated no, default is true
- headerStyle what style should be used to render the header no, default is the standard dialog header. Possible
- values are 'dialog' or 'page'
- **** All the target and URL params can have a 'target' attribute to specify what frame should be targeted. Default is _self
- defaultTarget target morphlet to be called when hitting any button yes, used for links on the email dialog
- on the page and any button that hasn't been explicitly specified
- okTarget target morphlet to be called when hitting the OK button no, defaultTarget will be used. Set value to disable
- if you want the ok button to be disabled.
- cancelTarget target morphlet to be called when hitting the Cancel button no, defaultTarget will be used. Set value to disable
- if you want the Cancel button to be disabled.
- backTarget target morphlet to be called when hitting the Back button no, defaultTarget will be used. Set value to disable
- if you want the Back button to be disabled.
- nextTarget target morphlet to be called when hitting the Next button no, defaultTarget will be used. Set value to disable
- if you want the Next button to be disabled.
- finishTarget target morphlet to be called when hitting the Finish button no, defaultTarget will be used. Set value to disable
- if you want the Finish button to be disabled.
- okURL URL to be used when the user hits the OK button no, okTarget will be used if specified or
- defaultTarget will be used. Set value to disable
- if you want the Finish button to be disabled.
- cancelURL URL to be used when the user hits the Cancel button no, cancelTarget will be used if specified or
- defaultTarget will be used. Set value to disable
- if you want the Finish button to be disabled.
- backURL URL to be used when the user hits the Back button no, backTarget will be used if specified or
- defaultTarget will be used. Set value to disable
- if you want the Finish button to be disabled.
- nextURL URL to be used when the user hits the Next button no, nextTarget will be used if specified or
- defaultTarget will be used. Set value to disable
- if you want the Finish button to be disabled.
- finishURL URL to be used when the user hits the Finish button no, finishTarget will be used if specified or
- defaultTarget will be used. Set value to disable
- if you want the Finish button to be disabled.
- taskType Defines whether the task is 'approval' or 'notification'
- taskImage Defines the HTS task image
- followingTaskList An XML structure describing the following tasks which can be executed following this task no,
- Email Options will return the following markup
- <markup>....</markup>
- or
- <options>...</options>
- or
- <canceled/>
- ====================================================================================================================================
- -->
- <API_params>
- <request_state/>
- <defaultTarget/>
- <titlePrefix/>
- <titlePostfix/>
- <approveText/>
- <rejectText/>
- <submitText/>
- <futureTasks/>
- <owner_action/>
- <isPopup default="true"/>
- <formName default="pform"/>
- <displayButtons default="true"/>
- <headerStyle default="dialog"/>
- <okTarget/>
- <cancelTarget/>
- <backTarget/>
- <nextTarget/>
- <finishTarget/>
- <okURL/>
- <cancelURL/>
- <backURL/>
- <nextURL/>
- <finishURL/>
- <taskType/>
- </API_params>
|