This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Bean Validation message color" Watch "Bean Validation message color" New topic
Author

Bean Validation message color

Marcos Vidolin
Greenhorn

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
Sheriff

Joined: Oct 01, 2001
Posts: 2835
    
  11

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Bean Validation message color
 
Similar Threads
Avoid duplicates in RichFaces messages tag
Progress bar component.
Best Books for learning ajax step by step for jsf
It seems the code JSF 2.0 controls aren't updating backing beans
ArrayIndexOutOfBoundsException on h:inputText validation