When should I use resource-bundle and message-bundle tags for i18n in faces-config? The differences between those two are not very clear to me.
A:
The message-bundle
is to be used whenever you want to override JSF default warning/error messages which is been used by the JSF validation/conversion stuff. The resource-bundle
is to be used whenever you want to specify localized text which is to be loaded by f:loadBundle
tag.
You can find keys of the default warning/error messages in the JSF specification (chapter 2.5.2.4). You can find here an example.
BalusC
2010-04-19 15:21:27
Thanks, BalusC!
jsfQ
2010-04-19 15:32:08