Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Styling spring error messages  RSS feed

 
Pavitra Sharma
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In our spring MVC application, we are displaying error message at the top of the form using



This (cssClass="error") css class has a background image (error symbol) which I was hoping it would apply before each error message, but is was not doing that the <form:errors>is getting converted into



Is it possible any way to apply the css at individual error message level, in that span.

I was using below css to had a background image against each error message in the span
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!