load properties

How to set the label or output text value retrieve from the property file field value in JSF Page

1) Define the Property Bundle file in the ViewController Project. 2) In the Page, add the below given line to load the property bundle file <f:loadBundle basename=”com.test.bundle.TestPropeertyBundle” var=”TestBundle”/> 3) Define the output text on the Page <af:outputText value=”#{TestBundle.CUST_LOC_NAME}” id=”ot1″ />

Scroll to top
Copy Protected by Chetan's WP-Copyprotect.