Hi All,
On selecting multiple objects, when we click the finish button there is a jsp page which shows the progress bar and displays a message 'Applying your changes to all remaining files'. I need to customize this message.
I have a process instance list and have customized right click options on dm_workflow objects to include a new option Reassign. This action extends dm_workflow_actions.xml.
Following is the custom action xml.
<actionmenuitem dynamic="multiselect" action="reassigntoothers" nlsid="MSG_REASSIGN_TO_OTHERS" showifdisabled="false" showifinvalid="false" />
<action id="reassigntoothers">
<desc>Reassigns a workflow to others.</desc>
<params>
<param name="objectId" required="true" />
<param name="workflowRuntimeState" required="true" />
<param name="supervisor" required="false" />
</params>
<execution class="com.documentum.web.formext.action.LaunchComponent">
<component>reassigntoothers</component>
<container>combocontainer</container>
</execution>
</action>
Component xml
<config>
<scope type="dm_workflow">
<component id="reassigntoothers">
<params>
<param name="objectId" required="true"/>
<param name="supervisor" required="true"/>
<param name="workflowRuntimeState" required="true"/>
</params>
<pages>
<start>/custom/reassigntoothers.jsp</start>
</pages>
<class>com.sebi.wdk.basicworkflow.reassign.reassigntoothers.classes.ReassignToOthers</class>
</component>
</scope>
</config>
The message is placed in ContainerNlsProp properties file which is referred in the container_component.xml.The combocontainer which is called in the custom action class above does not directly call the ContainerNlsProp properties file. The hierarchy goes like this:
combocontainer extends wizardcontainer extends dialogcontainer extends container.
I have tried modifying the container_component and replacing the nlsbundle as follows:
<config>
<scope type="dm_workflow">
<component modifies="container:wdk/config/container_component.xml">
<replace path='nlsbundle'>
<nlsbundle>com.documentum.web.ContainerNlsProp</nlsbundle>
</replace>
</component>
</scope>
</config>
By doing this the jsp page(written in bold above) called in the component class is not getting invoked.
Please help.
Thanks in advance
Gautam