The ability to customize the required message was provided for JSF 1.2.
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=81 There's no easy way to do it in JSF 1.1. It can be done if you want to spend processing time on it. The last section of this page will show you how. http://wiki.apache.org/myfaces/OptionalValidationFramework You'll want to write your own required-validator (or modify the existing one). On 7/20/06, array <[EMAIL PROTECTED]> wrote:
hi, What I would like to do during the validation is to add a div where the error message has to be rendered. I have several divs on the page under each input field which at first are not visible. The corresponding ?rendered? attributes should to be set to true only if the validation fails. I don?t understand only one thing: why is the custom validator not invoked if the ?required? validator reports an error. I could in my validator check on null and do what I want!!! Trinidad components that allows a "label" attribute for input components that can easily be internationalized is a nice thing! Igor -- View this message in context: http://www.nabble.com/validation-method-problem-tf1966234.html#a5415753 Sent from the MyFaces - Users forum at Nabble.com.

