whizi
Jun 6th, 2008, 09:52 AM
Hi,
I'm using Spring MVC 2.5.4 and I have a working application that displays bind errors using spring:bind tags. My requirement is to categorize some of the errors as warnings or information messages and apply different CSS for each of these.
For example:
an error should be printed inside a red box
a warning should be printed inside a yellow box
an info message should be printed inside a blue box
How can I categorize spring bind errors so that I can say what severity of error it is.
I'm using the validator framework and ObjectError in the code.
-whizi
I'm using Spring MVC 2.5.4 and I have a working application that displays bind errors using spring:bind tags. My requirement is to categorize some of the errors as warnings or information messages and apply different CSS for each of these.
For example:
an error should be printed inside a red box
a warning should be printed inside a yellow box
an info message should be printed inside a blue box
How can I categorize spring bind errors so that I can say what severity of error it is.
I'm using the validator framework and ObjectError in the code.
-whizi