Hi all,

I want to highlight the validation error messages.I am using <h:messages> component, since i want to display more than one error messages for a particular component,which is not possible by <h:message>. component.

The conditions are:

1) All the error messages of a page should appear on top of the form.

2) Then, when i click on the text field of a component,color of the error messages corresponding to that field should be different from all other error messages.

How can i do this?????????

Thanks in advance..