Add messagecode resolver format based on application property

This commit is contained in:
Marcel Overdijk
2014-04-28 21:00:07 +02:00
committed by Dave Syer
parent e26e06d5dd
commit 1cbef02236
3 changed files with 46 additions and 7 deletions

View File

@@ -68,6 +68,7 @@ content into your application; rather pick only the properties that you need.
http.mappers.json-pretty-print=false # pretty print JSON
http.mappers.json-sort-keys=false # sort keys
spring.mvc.locale= # set fixed locale, e.g. en_UK
spring.mvc.message-codes-resolver.format= # PREFIX_ERROR_CODE / POSTFIX_ERROR_CODE
spring.view.prefix= # MVC view prefix
spring.view.suffix= # ... and suffix
spring.resources.cache-period= # cache timeouts in headers sent to browser