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:
- Open
WebSphere Commerce Developer and switch to the Enterprise Explorer
view.
- In the Enterprise Explorer view,
expand , where Management_Center_component is
the name of the tool you want to customize.
- 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.
- In the Enterprise Explorer view,
expand , 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.
- 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:
- Save your changes. WebSphere Commerce Developer
saves the changes.
- Test your changes by viewing them in the Management Center,
using this URL: https://hostname:8000/lobtools?developmentMode=true
- Deploy
your changes to your production environment.