Oracle ADF property file field value retrieval from the backing bean

Posted by

The blog provides the steps for retrieving the property field value from the backing bean class.

1) Select the path for the properties file created in the View Controller Project

2) Open faces-config.xml placed in the WEB-INF folder of your application
3) Select Overview tab
4) Select the Application option
5) Select the path for properties file created in the ViewController Project Message Bundle field.
6) Open the Backing Bean file where value to be retrieved from the properties file

String customerLocationName = JSFUtils.getStringFromBundle(“CUST_LOC_NAME”);