[seam-issues] [JBoss JIRA] Created: (JBSEAM-4557) StatusMessages: global messages not displayed in the right order

Yannick Lazzari (JIRA) jira-events at lists.jboss.org
Fri Feb 26 16:56:10 EST 2010


StatusMessages: global messages not displayed in the right order
----------------------------------------------------------------

                 Key: JBSEAM-4557
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4557
             Project: Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.2.0.GA, 2.2.0.CR1, 2.1.2.GA, 2.1.2.CR2, 2.1.2.CR1, 2.1.1.GA
            Reporter: Yannick Lazzari
            Priority: Minor


The StatusMessages component uses a HashMap to store keyed messages, i.e. messages added through the different addToControl methods.  Because of that, when those messages are transferred to FacesMessages when rendering the response, they are added in a random order.  Please modify the behaviour so that messages are transferred to the FacesMessages in the order in which they were added to StatusMessages (changing the HashMap for a LinkedHashMap for instance).  I know that this shouldn't matter if you only display the error message next to the control, but if you also choose to display them with global messages, the order in which they are displayed is not the order in which they were added.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list