Saturday, 5 September 2015

How to declare the Message Bundle in JSF?

We can declare the message bundle in two ways: 
1. The simplest way is to include the following elements in faces-config.xml file:

com.developersBookJsf.messages
message
2. Alternatively, you can add the f:loadBundle element to each JSF page that needs access to the bundle:

No comments:

Post a Comment