The Page class provides a
property which is a
of localized messages for the page. These messages are made available in the
VelocityContext when the page is rendered under the key
messages. So for example if you had a page title message
you would access it in your page template as:
This messages map is loaded from the page class property bundle. For
example if you had a page class
you could have an associated property file containing the pages localized
You can also defined a application global page messages properties file:
Messages defined in this file will be available to all pages throughout your application. Note messages defined in your page class properties file will override any messages defined in the application global page properties file.
Page messages can also be used to override Control messages, see the Controls Message Properties topic for more details.