I know that there are a number of tutorials on how to customize or internationalize error (or other kind) messages. But if you have to really customize them then there is (AFAIK) no way of doing it. Or is there?
-new JSF 2.0 project
-currently using MyFaces but will change it to some other implementation if it solves this
-trying to make a template to all the pages
-the UI is predefined and I am not allowed to make any changes to it
And that is not all. I also have to display messages (error or success messages) originating from the receiving side of the code in the "error message" area or "success message" area. Is there a way to make error/success messages in code that the h:messages tag takes care of? If not, then I have to make that messaging system as a custom solution in addition to the normal validating procedure.
If all else fails I can make the whole procedure (validating input and messages coming from code) a custom solution that does not use the normal JSF validation at all. But since I am at the beginning of this project I need to know for sure that that is the only way to make this work. In the future I am making more projects using JSF (and this predefened UI I just described) and it would be so awesome to get a working solution now than to have to fight with this thing endless amount of days in the future.