Showing posts with label resource bundle. Show all posts
Showing posts with label resource bundle. Show all posts

Wednesday 11 June 2014

Properties File In ADF

Hello Fellas, today i'm sharing my learning of Using the Properties File in ADF.

First Create a Properties file lets say Demo.properties

  


Put Some Value in the File lets say 
cb.test=Approve 
as the properties file takes value in key-pair format.


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 :)

A Guide to Installing Oracle HR Schema on an Existing Docker Container

  Hi Reader, Today I want to share my learning on how to install Oracle HR schema on a existing docker container. Step 1: Download the verif...