Changing the validation error message sent back as a response
To change the validation message returned to the Management Center, add a new property in the primary resource bundle defined in the configuration file. The primary resource bundle contains the default error message override.
Before you begin
About this task
Procedure
- Identify the primary resource bundle declared for the Management Center client object.
- Open WebSphere Commerce Developer.
- Navigate to the LOBTools project.
- In the src/extension.com.ibm.commerce.tool.client.lobtools.properties directory, open the resource bundle for editing.
- Add a property with the name ClientObject.REASON CODE in the property file with the new validation message.
- Save the file.
- Restart the WebSphere Commerce server and test your changes.
- Deploy your changes to your production environment.