Closed smokku closed 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.
Unfortunately this implementation requires Mustache.Lambda interface support that is being submitted at https://github.com/samskivert/jmustache/pull/24
Hi Tomasz,
Given that this is gated on samskivert/jmustache#24, I will wait until that patch is accepted before I merge this in.
Thanks for this patch!
I added a setter for viewResolver and updated the patch.
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.
Unfortunately this implementation requires Mustache.Lambda interface support that is being submitted at https://github.com/samskivert/jmustache/pull/24