Hi guys
I have a problem. I use ICEfaces with seam (hibernate) Validators in my beans, they work smoothly. They even get localized, everything ok.
BUT, I don't wanna display the name of the field in the validation message!!!! For example I get the following error message if a required input field is left empty:
sidebarPanel:decorateTinSingleDoc:selectTinInput : il valore è obbligatorio!
You can either edit your template to set a conerterMessage property on each component or you can override the message bundle resrouce that specifies the message format. Same techniques apply for validatorMessage
Hallo Judy
the first link doesn't work :D but thanks for your reply.
I don't wanna specify every single message in my bundle files, that's exactly what i don't wanna do because the messages are ok I don't wanna rewrite them all (I would also have to translate them in 3 languages!! they get translated automatically by the framework)
The required fields are not annotated on the bean, they are just marked on the gui (xhtml files) as Required