[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1274) Not able to query FacesMessages to determine if any messages have been added.

Margarita Fazzio (JIRA) jira-events at lists.jboss.org
Tue May 20 14:22:14 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-1274?page=comments#action_12413405 ] 
            
Margarita Fazzio commented on JBSEAM-1274:
------------------------------------------

Hi. I am having the same problem.
The reason I want to know what are the messages in FacesMessages is because we want to replace some messages in english by the equivalent in spanish,  
e.g. Every time we create un record in database, a message "Successfully created" is added to FacesMessages, we want to replace  it  by the equivalent in spanish "Creado con exito". I have seen the source code and this messages seem to be hardcoded in org.jboss.seam.framework.Home, that is why we want to replace the messages enqueued in FacesMessages.
If this cannot be , may be the solution is  to replace the message generated at first place . Do you know if in future versions those messages will be replaced by someting in a properties file?
Regards






> Not able to query FacesMessages to determine if any messages have been added.
> -----------------------------------------------------------------------------
>
>                 Key: JBSEAM-1274
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1274
>             Project: Seam
>          Issue Type: Feature Request
>    Affects Versions: 1.2.1.GA
>            Reporter: Nathaniel Stoddard
>         Assigned To: Gavin King
>
> It would be helpful to determine if messages have been added to FacesMessages.  At this point, it is impossible to determine if messages are present in FacesMessages.

-- 
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