PDA

View Full Version : Formatting spring:message result


olivier
Sep 30th, 2004, 08:22 AM
Hi,

Is it possible to format the result returned by a spring:message tag, for exemple, to lower case the message that will be displayed ?

Thanks

Olivier

katentim
Sep 30th, 2004, 08:38 AM
In short - no.

To do it at the presentation level (in JSP), you would have to write you own tag to wrap around the Spring tag and parse the body.

davison
Sep 30th, 2004, 11:03 AM
you can do this sort of thing in FreeMarker or Velocity out of the box, but it's essentially doing the same as a custom JSP tag would do in the background.