• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validation error message

 
sumitha arjunan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

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.

Regards,
Sumitha
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sumitha arjunan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"/>
Regards,
Sumitha.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic