-
1. Re: Hibernate validator and more error messages
pmuir Oct 24, 2007 3:36 PM (in response to martin.krajci)You probably want to use globalOnly on h:messages
-
2. Re: Hibernate validator and more error messages
martin.krajci Oct 24, 2007 3:54 PM (in response to martin.krajci)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? -
3. Re: Hibernate validator and more error messages
pmuir Oct 24, 2007 3:59 PM (in response to martin.krajci)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. -
4. Re: Hibernate validator and more error messages
martin.krajci Oct 24, 2007 4:11 PM (in response to martin.krajci)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? -
5. Re: Hibernate validator and more error messages
pmuir Oct 24, 2007 5:30 PM (in response to martin.krajci)Use <a:outputPanel />