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

The resource bundle defines the Management Center client object property to Noun element mediation.

About this task

To change the validation error message:

Procedure

  1. Identify the primary resource bundle declared for the Management Center client object.
  2. Open WebSphere Commerce Developer.
  3. Navigate to the LOBTools project.
  4. In the src/extension.com.ibm.commerce.tool.client.lobtools.properties directory, open the resource bundle for editing.
  5. Add a property with the name ClientObject.REASON CODE in the property file with the new validation message.
  6. Save the file.
  7. Restart the WebSphere Commerce server and test your changes.
  8. Deploy your changes to your production environment.