Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A message-resolver is responsible for using creating the message-text based on the message-descriptor (key or inline-text) to creating the equivalent text for it, the current locale (and in some cases the message-payload).
(The supported format e.g. if it's required to escape a key, if inline-text is supported,... depends on the concrete implementation.)
In case of a message-key, the message-resolver has to transform it to the message-text by looking it up in a message source like a resource-bundle. The JSF module of MyFaces CODI will provide a default implementation which uses the configured application message bundle as message source. However, usually it's required to provide an implementation in every project (because the impl. is aware of the message-source).

...