To add createFacesMessageFromResourceBundle method to FacesMessages class
-------------------------------------------------------------------------
Key: JBSEAM-818
URL:
http://jira.jboss.com/jira/browse/JBSEAM-818
Project: JBoss Seam
Issue Type: Feature Request
Components: JSF
Reporter: Fernando Montaño
When developing JSF converters and validators you are noticed that both of them have a way
to add a FacesMessage when throwing the Exception (ConverterException and
ValidatorException respectively), the validator exception has this constructor:
ValidatorException(javax.faces.application.FacesMessage)
Currently there is FacesMessages.createFacesMessage(..) method which returns a
FacesMessage, but that method does not work if you wanna get a message from a resource
bundle key (when working with i18n apps).
So, please add a new method which allows us to get a FacesMessage using a resource bundle
key, something like:
public static FacesMessage createFacesMessageFromResourceBundle(Severity severity, String
key, Objec
t... params)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira