2006/7/19, array <[EMAIL PROTECTED]>:

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
--
View this message in context: 
http://www.nabble.com/validation-method-problem-tf1966234.html#a5397021
Sent from the MyFaces - Users forum at Nabble.com.



1) About "perform some operations during the validation", what do you
mean exactly? It looks to me that you're trying, in your validator, to
do more than what should be done there. Maybe you could explain better
what you want to obtain.

2) Standard error messages, such as the one returned for missing
required fields, are already internationalizated in JSF. Maybe you are
referring to the "field name" that appears in the error message.. I
don't know how this can be done with standard JSF/MyFaces, I'm using
Trinidad components that allows a "label" attribute for input
components that can easily be internationalized.

Cosma

Reply via email to