基本常用的action-component / action-chain

eds_mwau_act_chain_clone_variable [action-chain]
chain-input: inVariable
chain-output: outVariable

for example, copy parameter 'eds_global_current_item_handle' value to parameter 'eds_global_background_item_handle':
<call-action-chain id="input_param_clone_action"
        action-chain="eds_mwau_act_chain_clone_variable">
    <chain-input id="inVariable" source="eds_global_current_item_handle" />
    <chain-output id="outVariable" destination="eds_global_background_item_handle" />
</call-action-chain>

ConfigParamToAttrConverter [action-component]
full Name: com.edsplm.tc.ent._wcc.mwau.actioncomponents.appflow.ConfigParamToAttrConverter

for example, copy string "BOMTab" to parameter 'eds_global_active_tab':
<action-component id="set_activetab"
        handler="com.edsplm.tc.ent._wcc.mwau.actioncomponents.appflow.ConfigParamToAttrConverter">
    <config-param name="inParam" value="BOMTab"/>
    <component-output id="outAttribute" destination="eds_global_active_tab"/>
    <option id="success" advance="true" />
    <option id="failure" page="failurepage" />
</action-component>

ConvertVariableToOption [action-component]
full Name: com.edsplm.tc.ent._wcc.mwau.actioncomponents.appflow.ConvertVariableToOption

for example, if parameter 'eds_global_active_tab' has two possible value 'SearchSelectionCriteria' and 'SearchLimits', we will route the response-chain base on the value:
<!-- Route to different chains based on the current tab name -->
<action-component id="route_for_current_tab"
        handler="com.edsplm.tc.ent._wcc.mwau.actioncomponents.appflow.ConvertVariableToOption">
    <component-input id="inArgumentName" source="eds_global_active_tab" />
    <option id="SearchSelectionCriteria" response-chain="eds_mwau_resp_chain_pop_link" />
    <option id="SearchLimits" response-chain="eds_search_resp_chain_tab_process_limits" />
</action-component>

你可能感兴趣的:(component)