Register Form Delegate with Step (Step 6)
To update the form delegate for the step:
1. Create a custom actions file based on ChangeManagement-actions.xml, and register this file at the end of the property “com.ptc.netmarkets.util.misc.defaultActions“ in wt.properties.
2. Copy the change objecttype and only the desired actions to be overridden to the custom actions.xml. For the example in this presentation use “changeTask” and action “affectedAndResultingItemsStep”.
3. Update the command class to point to the new form delegate created in Create a Form Delegate (Step 5).
4. Other attributes (like the step JSP) can be updated if needed.
<?xml version="1.0"?>
<!DOCTYPE listofactionsSYSTEM '../../actions.dtd'>
<listofactions>

<objecttypename="changeTask" class="wt.change2.WTChangeActivity2"
resourceBundle="com.ptc.windchill.enterprise.change2.changeManagementActionsRB">
<action name="affectedAndResultingItemsStep"
id="affectedAndResultingItems" preloadWizardPage="false" required="false">
<description>Affected and resulting objects wizard step</description>
<command class="com.ptc.windchill.enterprise.custom.delegates.
CustomAffectedAndResultingItemsFormDelegate

windowType="wizard_step"/>
</action>
</objecttype>
</listofactions>
Est-ce que cela a été utile ?