mustache-spring-view
mustache-spring-view copied to clipboard
java spring framework mvc view for Mustache.js templates
features: support spring framework 6 spring boot 3 remove guava in favor of plain java bump all version within pom. change readme to show how to use within spring boot...
This updates the library to explicitly include guava as a dependency (and updates the version of guava used in the library).
Hello, thanks for working on this. My issue is that with the following dependencies defined in Gradle: ``` compile 'com.samskivert:jmustache:1.13' compile 'com.github.sps.mustache:mustache-spring-view:1.4' compile 'com.github.spullara.mustache.java:compiler:0.9.5' ``` I'm getting the following runtime...
In my opinion, you just want to create a ViewResolver to create a MustacheView with MustachFactory if you just want to use mustache in spring. But if you want to...
I posted a similar question to SO about java-based configuration: http://stackoverflow.com/questions/25311299/spring-java-based-config-resourceloader Is this correct? I am getting a null pointer from a missing ResourceLoader. ``` @Configuration @ComponentScan(basePackageClasses = Application.class, includeFilters...
This pull request has been made to be able to chain the ViewResolvers (as previously intended by Spring). The pull request includes: - A overridden method _checkResource()_ returning false when...
Handling FileNotFoundException on MustacheViewResolver and returning a null view so you can chain view resolvers: http://docs.spring.io/spring/docs/3.0.0.M3/reference/html/ch16s05.html
I added how it works in the README.MD I'm using a different version in production but this should work. The partial alias support I added is particularly useful for layout.