<core:resource-loader bundle-names=”messages application”/>
Then in the Seam component where we want to retrieve the value for a given property (key), we inject the ResourceBundle as below.
@In
java.util.ResourceBundle resourceBundle;
java.util.ResourceBundle resourceBundle;
The retrieval is done as below
String imagesLocation = resourceBundle.getString(“IMAGESLOCATION”);