Pages

Monday, July 7, 2014

Accessing Resource Bundle

For generic application, resource bundle plays a major role.

All we  need is, just create a file named say as e.g.: 'dummy' extension should be in '.properties'

Step 1: Register your file in faces-config.xml
Application > Resource Bundle Section. 
Define a variable name to use over the application.

 



Step 2: Define your label




Step 3: Access your label from resource bundle.  


Step 4: Finally,


 Download Here

No comments:

Post a Comment