Tuesday, April 1, 2014

How to use resource bundle in adf application in simple steps?

Steps1:

Create a properties file or bundle file as shown below in the application resources









Step2


Add the following code to your jspx/jsff at the top after the namespaces declaration. Make sure to point to the absolute path as shown below

    <c:set var="appUIBundle" value="#{adfBundle['com.test.bundle.app']}"/>



Step3

Use the properties from the bundle as shown below

"#{appUIBundle.PROPERTIES_KEY}"


No comments:

Post a Comment