

Installing Web Generation › How to Install Web Generation › Set Up Message Resources › Rules for Editing Message Resource Files
Rules for Editing Message Resource Files
The following syntactic rules apply when editing the message resource files.
- All entries are set using the method ht.put("id", "message") where id is the numeric (or text) ID of the message, and, message is the actual localized message text.
- All substituted variables in the message are indicated by curly braces {n}, where n is the numerical index of the data in the parameter array passed to the message formatting utility.
- Use /* … */ for all comments.
- Use a UTF-8 Unicode capable editor, for example, Microsoft Software Development Editor. Do not use Notepad.
Note: When updating messages, it is necessary to rebuild the runtime or re-assemble the application to include the changes in the application environment.
A re-assembled application must be redeployed to the application server to make the changed message classes available.
When using a global runtime for all applications, the new runtime must be redeployed to the application server, and the application server must be reset to read the new runtime.
Copyright © 2013 CA.
All rights reserved.
 
|
|