Resource Files

The user interface labels and messages displayed by widgets are defined in various ApplicationResources.properties files included with the Widget Framework. During the publication build process they are merged together into a single ApplicationResources.properties file that is written to the publication's WEB-INF/classes/com/escenic/framework folder.

If you want to modify any of these labels or messages, all you have to do is:

  1. Find the ApplicationResources.properties file(s) containing the string definitions you want to change. For a Teaser widget string, for example, you would need to look in the Widget Framework distribution's misc/widgets/widget-core-teaser/src/main/resources/com/escenic/framework folder.

  2. Open the resource file(s) in an editor.

  3. Copy the string definition(s) you want to modify.

  4. Paste all the string definitions you want to modify into one new file.

  5. Make the changes you want to the copied string definitions.

  6. Save the file as src/main/resources/com/escenic/framework/ApplicationResources.properties in your publication webapp.

Now, when you build your publication, your ApplicationResources.properties will be merged with the standard ApplicationResources.properties and your string definitions will override the default definitions.