Hello Fellas, today i'm sharing my learning of Using the Properties File in ADF.
First Create a Properties file lets say Demo.properties
First Create a Properties file lets say Demo.properties
Put Some Value in the File lets say
as the properties file takes value in key-pair format.cb.test=Approve
save it.
now make some changes in faces-config.xml from the WEB-INF folder in the ViewController.
now goto the Application tab under the overview tab see the Resource Bundle
make a new variable
give your properties file name in the Base Name and variable name anything you want like bnd
now use it.
goto the .jspx created
select your component on which you want to use suppose here I want to use on the command button and then to use the properties file we have to make use of EL Expression so for that we can use the property Inspector and edit text (or label depending upon the type of component)property by Expression Builder.
select
Faces Resources Bundle, you will find you " bnd " variable and associated components.
refresh the page and you will find your new Changes.
thank you :)