Externalizing Buttons

You can display the text on a button in a different language, if required. The text displayed on a button is picked up from thejsresources.propertiesresource bundle and can be displayed in multiple languages.

Procedure

  1. Add an input tag and Java Script as described in Input Tag and Java Script Tag.
  2. Add a DIV tag as described in Adding a DIV Tag.
  3. Create an entry in the jsresources.properties resource bundle as described in Creating an Entry in jsresources.properties.
    To display a button on the user interface, use the INPUT tag with the TYPE as button or submit in the HTML template. For more information, seeInput Tag and Java Script Tag.