You probably want to use globalOnly on h:messages
Thanx for your reply, but I don't want to because some pages have more than 50 input fields and then for each I would have to create <h:message for"xy"/>
Do you have any other ideas?
But you are using s:decorate... or you want all your messages displayed together...
Anyway, the problem (I think) is that your ajax stuff is causing multiple messages to be enqueued, but renderered all at once. Try putting the messages component into an ajax-rerendered region. Or don't use a:support if you aren't using ajax validation.
Yes I want to display messages together.
I also thought that ajax might be a problem but right now I'm in the phase of project where I can not simply remove it.
What do you mean by: "Try putting the messages component into an ajax-rerendered region."? Put it into the <s:decorate>here? -> also not possible.
Do you have any more ideas?
Use <a:outputPanel />