- 21 7月, 2015 2 次提交
-
-
由 Brian Clozel 提交于
-
由 Brian Clozel 提交于
-
- 13 7月, 2015 1 次提交
-
-
由 Stephane Nicoll 提交于
Add an extra hook point in `AbstractDispatcherServletInitializer` to customize the `DispatcherServlet`. Issue: SPR-13222
-
- 09 7月, 2015 1 次提交
-
-
由 Sebastien Deleuze 提交于
Issue: SPR-13120
-
- 08 7月, 2015 3 次提交
-
-
由 Sam Brannen 提交于
-
由 Rossen Stoyanchev 提交于
A note is added to suggest the use of @Primary with a LocalValidatorFactory bean next to the MVC Java config. Issue: SPR-12194
-
由 Rossen Stoyanchev 提交于
Conversion and validation documentation related to Spring MVC is now consolidated in the Spring MVC chapter with references to and from the Validation and Data Binding chapter. Examples have been updated to include MVC Java config as well.
-
- 29 6月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
This commit updates examples in the reference manual to use annotation attribute aliases.
-
- 26 6月, 2015 1 次提交
-
-
由 Brian Clozel 提交于
Issue: SPR-12323
-
- 19 5月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-13043
-
- 13 5月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-7773
-
- 07 5月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12617
-
- 22 4月, 2015 1 次提交
-
-
由 Sebastien Deleuze 提交于
This commit adds support for script based templating. Any templating library running on top of a JSR-223 ScriptEngine that implements Invocable like Nashorn or JRuby could be used. For example, in order to render Mustache templates thanks to the Nashorn Javascript engine provided with Java 8+, you should declare the following configuration: @Configuration @EnableWebMvc public class MustacheConfig extends WebMvcConfigurerAdapter { @Override public void configureViewResolvers(ViewResolverRegistry registry) { registry.scriptTemplate(); } @Bean public ScriptTemplateConfigurer configurer() { ScriptTemplateConfigurer configurer = new ScriptTemplateConfigurer(); configurer.setEngineName("nashorn"); configurer.setScripts("mustache.js"); configurer.setRenderObject("Mustache"); configurer.setRenderFunction("render"); return configurer; } } The XML counterpart is: <beans> <mvc:annotation-driven /> <mvc:view-resolvers> <mvc:script-template /> </mvc:view-resolvers> <mvc:script-template-configurer engine-name="nashorn" render-object="Mustache" render-function="render"> <mvc:script location="mustache.js" /> </mvc:script-template-configurer> </beans> Tested with: - Handlebars running on Nashorn - Mustache running on Nashorn - React running on Nashorn - EJS running on Nashorn - ERB running on JRuby - String templates running on Jython Issue: SPR-12266
-
- 14 4月, 2015 1 次提交
-
-
由 David Tombs 提交于
The use of RedirectAttributes was documented in four places in the reference documentation. This commit merges some of the places and links properly between them. Issue: SPR-12759
-
- 31 3月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
-
- 25 3月, 2015 2 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
Generally update chapter and add documentation for 4.2 including the return value types ResponseBodyEmitter, SseEmitter, and StreamingResponseBody. Issue: SPR-12672
-
- 24 3月, 2015 2 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12831
-
由 Brian Clozel 提交于
Issue: SPR-11792
-
- 07 3月, 2015 1 次提交
-
-
由 Stephane Nicoll 提交于
The upgrade to a more recent asciidoc format led to a bunch of of broken Admonition as the text block now requires four equal signs while previous versions tolerated only 3. Issue: SPR-12791
-
- 06 3月, 2015 2 次提交
-
-
由 Brian Clozel 提交于
Core and Web chapters are important chapters in the Spring Framework reference documentation, and splitting them in multiple files will help to evolve the documentation while not creating too many files. Issue: SPR-12309
-
由 Brian Clozel 提交于
The reference documentation is now organized in asciidoc bookparts. Bookparts sections can be also put in separate files, when their size and theme are important enough to justify that. Documentation Layout: ``` index |-- overview | |-- whats-new | |-- core | |-- core-beans | |-- core-aop |-- testing | |-- data-access | |-- web | |-- web-mvc | |-- web-view |-- integration | |-- appendix |-- appx-spring-tld |-- appx-spring-form-tld ``` Supersedes and closes #641 Issue: SPR-12309
-