aspose file tools*
The moose likes JSF and the fly likes validation error message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "validation error message" Watch "validation error message" New topic
Author

validation error message

sumitha arjunan
Greenhorn

Joined: Sep 18, 2006
Posts: 9
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

Joined: Jun 25, 2001
Posts: 16141
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
sumitha arjunan
Greenhorn

Joined: Sep 18, 2006
Posts: 9
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validation error message