Overriding Messages in Standard Resource Bundles

Let's assume that you want to override some messages that are defined in the standard ApplicationResources.properties files in the Widget Framework Core distribution. You need to go through the following steps :

  • Go to the misc/demo directory of the Widget Framework Core distribution.

  • Create an ApplicationResources.properties file in src/main/resources/com/escenic/framework folder. Define your customized key-value pairs in this file.

  • Run mvn clean install command in misc/demo folder. The demo webapp war file will be available under misc/demo/target folder. The merged ApplicationResources.properties file will be in WEB-INF/classes/com/escenic/framework folder within the war. It will contain the custom key-value pairs that you defined earlier.