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