Hi!

Did anybody else discover the behaviour of h:messages described below? I
can't imagine that I've done sth. wrong, but please correct me if I'm wrong.
There's only one h:messages tag in my JSF page, and when one error occurs,
the same error message is printed multiple times (2 to x times). Is there a
way to prevent this?


Regards,

Matthias

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Matthias Kahlau
> Gesendet: Sonntag, 1. Januar 2006 22:09
> An: Users MyFaces
> Betreff: h:messages outputs one error message summary many times
>
>
> Hi all!
>
>
> I have a problem with the h:messages tag. When an error occurs, e. g. an
> validation error of f:validateLongRange, because the user entered
> an illegal
> value (a value not contained in the range defined), the error summary is
> printed many times in the h:messages tag. I use the tag the following way:
>
> <h:messages layout="table" globalOnly="false" showSummary="true"
>       showDetail="false" errorClass="error" fatalClass="error" />
>
>
> When I explicitely add an error message for a specific component to the
> FacesContext, I haven't observed that behaviour - the error message is
> printed only one time.
>
>
> Regards,
>
> Matthias
>

Reply via email to