File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Bean Validation message color Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Bean Validation message color" Watch "Bean Validation message color" New topic

Bean Validation message color

Marcos Vidolin

Joined: May 10, 2011
Posts: 28
Hello guys,
more one time I need your help.

I have a issue about the rich:message colors.
How can I print my errors rich:message with style like the example at "RichFaces Show Case"?
Must I do this manually with CSS style?

Thanks again...
Greg Charles

Joined: Oct 01, 2001
Posts: 2771

Ultimately it comes down to CSS, but the msg.css included with every skin I tried at that Show Case site has this rule in it:

That should mean the messages are red already.
I agree. Here's the link:
subject: Bean Validation message color
Similar Threads
ArrayIndexOutOfBoundsException on h:inputText validation
It seems the code JSF 2.0 controls aren't updating backing beans
Best Books for learning ajax step by step for jsf
Avoid duplicates in RichFaces messages tag
Progress bar component.