validation - Replace keys of a resource bundle in MessageFactory class under JSF -
jsf uses messagefactory.getmessage(string messageid,...) value based on resource bundle. parameter messageid represents key looked up, , keys pre-defined jsf, such "javax.faces.converter.bigdecimalconverter.decimal". in our application want replace these keys our keys in resource bundle file, example
javax.faces.converter.bigdecimalconverter.decimal={2}: ''{0}'' must signed decimal number.
from default resource bundle file of jsf replaced in our resource bundle file wtih:
app_0001={2}: ''{0}'' must signed decimal number.
does know if jsf has registered way this? (through xml, etc) problem jsf handles automatically , doesn't give way supply our customized "messagefactory".
thanks,
Comments
Post a Comment