In the Management Center, all text labels and
images are registered as resource bundles, and the strings of the
text labels are defined in a property file.
About this task
In this lesson, you create and register the text label for
the display name of your new simple search.
Procedure
- In the Enterprise Explorer view,
navigate to .
- Double-click CatalogLOB_en_US.properties to open it in
the default editor.
- Copy the following text into the file:
findAllCatalogEntriesByWarrantySearchDefinition_DisplayName = All Catalog Entries By Warranty
- Save and close the file.
- Navigate to .
- Double-click extCatalogManagementResourceBundle.lzx to
open it in the default editor.
- Add the following wcfResourceBundleKey definitions into
the
extCatalogResourceBundle
class:<wcfResourceBundleKey name = "findAllCatalogEntriesByWarrantySearchDefinition_DisplayName" />
- Save and close the file.
- Right-click the folder; then click Build OpenLaszlo Project.
The project builds.
- Restart the WebSphere Commerce Test Server.