message « validation « JSF Q&A

1. Multiple messages for single JSF Validator

I have run into a blocking scenario and need help. The problem is basically this: There is a field on the page which is attached to a validator. This validator ...

2. JSF Validation message

I am using JSF 1.2 and Richfaces 3.3.FINAL. I have an inputText which must be a number between 1 and 999999999999.

<h:inputText id="prodId" required="true" value="#{product.productId}" maxlength="12" >
    <f:validator validatorId="anotherValidatorValidator" ...

3. JSF: How to not show the element id in validation messages?

I have a simple JSF form with some validation on the input text. Something like:

<h:inputText id="firstName" value="#{userHandler.user.firstName} required="true" />
<h:message for="firstName" />
Works fine. Except that the error message looks like ...

4. JSF 2.0 Validation Summary Message

Using JSF 2.0 validation, is there a way to have a summary message on submit if there is an error (as well as keeping individual form element error messages)? I have a ...

5. How to display a JSF success message

I was wondering how you can add a "success" message on a JSF page when the submitted data in a h:form is valid. e.g. "record successfully inserted". I tried using FacesContext.addMessage(String ...

6. JSF h:message or p:message does not work

My application runs in glassfish. I do not see any h:message or h:messages (or, the primefaces messages)... Is there any configuration, I have to specify either in web.xml or faces-config.xml ? Currently ...

7. English error messages in JSF 2.0.3 (not validation)?

I had configured JSF 1.2 successfully to display English error messages that come from the server. Now I was making the transition to JSF 2.0, but the error messages seem to ...

8. JSF 2 messages in Validator

I had a doubt regarding Messages being set in the custom validator in JSF 2.0. here is the code

public void validate(FacesContext context, UIComponent component,

12. Customizing validations-h:message

13. No Validation Message is displayed !!

14. validation error message

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 ...

15. Validation error messages location

16. Question success validation message

17. Validation messages - FacesMessages

19. JSF Validation Messages in a Portlet