You can easily replace the default message by adding the following file
to your webapp :
/javax/faces/Messages_XX.properties
then overload the message which to change :
# standard messages (Spec. 2.5.1.4)
javax.faces.component.UIInput.REQUIRED = validation Error
javax.faces.component.UIInput.REQUIRED_detail = MY MESSAGE !!!
array wrote:
thanks for quick answer!
I would like to perform some operations during the validation. Furthermore I
would like to render an internalized error message. However the built-in
?required? validator uses the field id in his error message. How can I
achieve these two requirements if I can?t invoke my logic without a value
filled in? You mean there is a way to plug-in a custom required logic? Could
you tell me how can I do this?
Igor