Develop > Presentation layer > Customize IBM Sales Center > Controls > Managed composites and widget managers
Replace a widget manager
In rare cases, it may be necessary to replace a Sales Center widget manager with the own widget manager. This means that the new widget manager will be responsible for providing behavior for all of the controls and table columns that were previously handled by the Sales Center widget manager.
To replace a Sales Center widget manager:
Procedure
- Create a plug-in to hold the extensions.
- Declare the new widget manager using the com.ibm.commerce.telesales.widgets.widgetManagers extension point.
- Use the system configurator to indicate that the new declaration should be used instead of the original declaration.
- Include the widget manager in the definition of the managed composite that includes the controls that the widget manager is going to be responsible for managing. Replace the managed composite with a new one that includes the new widget manager. Use referenceId to pull in the original managed composite definition and then add the new widget manager.
Results
The more common case for replacing a widget manager is to modify the control definition and change the manager type. This will cause the original widget manager to start ignoring the control. You can then write a new widget manager that will understand the new manager type and start managing the modified control.
Related concepts
Managed composites and widget managers
Related tasks