I'm using MyFaces 1.2. On my form, to display the validation errors, I have this ...
I also have fields in my form similar to this one ...
However, if I do not fill in a value for the above field (for example), and click Submit, I am returned to the form with this field, but no message displays on my page. But I have that "h:messages" tag, so I was hoping someone could offer some suggestions for troubleshooting or tell me what I was doing wrong.
Thanks, - Dave
Kavita Tipnis
Ranch Hand
Joined: Sep 21, 2008
Posts: 177
posted
0
Dave Alvarado wrote:Hi,
I also have fields in my form similar to this one ...
Do you mean that you have fields with the same id? You cannot have components with the same id in a JSF view.
Otherwise, if your style sheet classes are not hiding the message , then what you have should work!