WebSphere Commerce EnterpriseWebSphere Commerce Professional

Modifying a composite definition

A composite is a control that contains other controls. This section explains how to modify a composite definition.

About this task

To modify an IBM Sales Center composite definition:

Procedure

  1. Declare a new composite definition using the com.ibm.commerce.telesales.widgets.compositeDefinitions extension point.
  2. Optional: If you are adding controls to the end of the composite definition, then use the referenceId attribute to specify the fully-qualified ID of the composite definition that you are replacing. The controls declared in the new definition will be appended to the end of the definition.
  3. Optional: If you need to reorganize the layout, then you should not use the referenceId attribute, but instead re-declare the entire definition. Note: For a grid layout composite definition, you can use the referenceId attribute on row elements to refer to rows that were defined in other grid layout composite definitions.
  4. Use the system configurator to indicate that the new definition should be used instead of the Sales Center definition. Any composite definitions that use the referenceId attribute to refer to the definition that is being modified will not be affected.