This content has been marked as final.
Show 2 replies
-
1. Re: Prevent global messages from showing
jharting Feb 9, 2009 10:01 AM (in response to tomtom)try using
<h:message for="inputId"/>
-
2. Re: Prevent global messages from showing
tomtom Feb 9, 2009 10:56 AM (in response to tomtom)Thanks for the input!
I now implemented my
form-specific
message block with<h:message for="myFormSpecificMessage"/>
and a hidden input field
<h:inputHidden id="myFormSpecificMessage" />
to which the messages are added by my action via FacesMessages.addToControl(...).
But: this way, only one message can be displayed and the hidden input is just a workaround.
There must be another way to define a
named
message block displaying only specific messages!?!