A common customization scenario involves
replacing the terminology
used by the application with terminology that is more appropriate
to the organization
where the application is deployed. You might also want to replace
application
images with your own images. To ensure that this is possible, the
IBM Sales
Center application is designed to allow you to replace text and images
that
appear on the user interface.
About this task
To add a new resource string:
Procedure
- Create a new resource bundle in a customization
plug-in. See the
Javadoc for java.util.ResourceBundle for an example of how a resource
bundle
will be structured.
- The resource bundle should
be created in an appropriate package
along with the Java source. It needs to be in the class path.
- Define an extension definition of the resource
bundle extension
point.
For example, here is the plugin.xml for a custom
plug-in
called extensions:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="com.ibm.commerce.telesales.resources.resources">
<resourceBundle baseName="extensions.resources"/>
</extension>
</plugin>