Can we avoid a error message specific to a particular validation in a JSF page. I need other error messages to be displayed. only the validation that is happening in th epop up should not display the error message in the main JSF page.
A validation is a pass/fail check of data. If you discard the error message, the page update won't proceed, but the user won't be able to tell why.
You can select where on the page the message displays, using the "message for=" tag, but actually a popup has its downside, since once dismissed, there's no longer an indication of a problem on the displayed page.
An IDE is no substitute for an Intelligent Developer.
Joined: Sep 18, 2006
actually my requirement is, not to display the error message in the main page for a particular validation happening in the pop up window instead should display it in the pop up window itself. we are using some custom components in doing the validation part.
i am not sure of how to avoid a particular validation error message in a particular page
by usning the below tag i can stop for all the error messages, not sure of how to restrict it for a partidular error message.
<v:messages showSummary="false" showDetail="false" styleClass="ErrorMessage"/>