[jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-818) To add a createFacesMessageFromResourceBundle method to FacesMessages

Peter Muir (JIRA) jira-events at lists.jboss.org
Sun Feb 11 17:30:30 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-818?page=all ]

Peter Muir reassigned JBSEAM-818:
---------------------------------

    Assignee: Peter Muir

> To add a createFacesMessageFromResourceBundle method to FacesMessages
> ---------------------------------------------------------------------
>
>                 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
>         Assigned To: Peter Muir
>             Fix For: 1.1.7.GA
>
>
> 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