[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-818) To add createFacesMessageFromResourceBundle method to FacesMessages class
Fernando Montaño (JIRA)
jira-events at lists.jboss.org
Sun Feb 11 16:50:30 EST 2007
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
More information about the seam-issues
mailing list