Changing existing Management Center messages and labels

You can change existing messages and labels within the Management Center tools. Rather than hardcoding UI text in the OpenLaszlo class files, include all message text in resource properties files, and associate the files with resource keys. This way, you maintain the UI code in one area (the OpenLaszlo file) and the messages in another (properties file). This method is useful if you have messages that change often or require translation.

Procedure

To change an existing Management Center message:
  1. Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
  2. In the Enterprise Explorer view, expand LOBTools > Java Resources > src > com.ibm.commerce.Management_Center_component.client.lobtools.properties, where Management_Center_component is the name of the tool you want to customize.
  3. Identify the properties file that contains the message that you want to change. Do not change the original properties file; for example, the CatalogLOB_en_US.properties file. Only view this file for reference.
    The original properties file contains a list of keys for all the messages within the Management Center for the tool you selected. Within the properties file, identify the key-message combination that you want to change. Copy this key.
    An example of a key-message combination:
    masterCatalogFilterTitle=Master Catalog 
    where masterCatalogFilterTitle is the key and Master Catalog is the string.
  4. In the Enterprise Explorer view, expand LOBTools > Java Resources > src > extension > Management_Center_component , where Management_Center_component is the name of the tool you want to customize, and create a properties file with the same name as the properties file you want to change (for example, CatalogLOB_en_US.properties). If the extension and Management_Center_component folders do not exist, create them.
  5. Double-click the extensions properties file and paste the key to this file, by using the new message text.

What to do next

After you complete your customization:
  1. Save your changes. WebSphere Commerce Developer saves the changes.
  2. Test your changes by viewing them in the Management Center, using this URL: https://hostname:8000/lobtools?developmentMode=true
  3. Deploy your changes to your production environment.