sps / mustache-spring-view

java spring framework mvc view for Mustache.js templates
68 stars 31 forks source link

Implemented i18n.MustacheMessageInterceptor #10

Closed smokku closed 11 years ago

smokku commented 11 years ago

This interceptor injects Lambda object to View Model that allows easy access to default messageSource.

Based on Eric D. White's mustache.java-spring-webmvc implementation.

smokku commented 11 years ago

The new implementation is based on code, that got actually merged to jmustache in https://github.com/samskivert/jmustache/pull/24#issuecomment-13636795. So it works with current HEAD of jmustache.