Affects Version/s: 1.1_01
Fix Version/s: 1.0
Operating System: All
The getClientIdsWithMessage() and getMessages() iterators on
FacesContext should be implemented using order-preserving structures.
Currently, if you add multiple component messages to JSF, the order in
which they'll appear in an <h:messages/> is entirely random, based on
hash codes of clientIds. In both cases, we should be returning
messages (and client IDs) in the order which the messages were added,
which will generally correspond to displaying messages in the visual
order of the page.
(This should also be added to the spec, but could be implemented as
well without a spec change.)