Like the asker of the question here
Variable substitution JSF Resource Bundle property file
I’m slightly aghast at the inability to reference the value of other property keys in the message bundle.
Although I see how easy to write my own rubbish handler[0] that can do what I want in a custom component, that would leave expressions in templates calling the message bundle still using the default JSF implementation.
Is it possible to override the default JSF handling of the message bundle?
[0] Or better, to use code referenced in one of the answers to the above question
https://code.google.com/p/reflectiveresourcebundle/
You can provide the fully qualified name of a concrete
ResourceBundleimplementation as “base name” instead of alone the path and filename of the properties files.E.g.
which can be registered as follows
or declared on a per-view/template basis as follows
Here are several related questions/answers which contain some concrete code which you could use as a kickoff example: