Closes gh-14849
pull/14859/head
Brian Clozel 6 years ago
parent 56c1247bbb
commit 96fc92609d

@ -102,12 +102,10 @@ public class ThymeleafProperties {
private boolean enableSpringElCompiler; private boolean enableSpringElCompiler;
/** /**
* Whether hidden form inputs acting as markers for checkboxes (which are omitted from * Whether hidden form inputs acting as markers for checkboxes should be rendered
* form submission when unchecked) should be rendered before or after the rendered * before the checkbox element itself.
* checkbox element itself for better integration with some CSS frameworks. Default is
* "false" (hiddens will be rendered after checkboxes).
*/ */
private boolean renderHiddenMarkersBeforeCheckboxes; private boolean renderHiddenMarkersBeforeCheckboxes = false;
/** /**
* Whether to enable Thymeleaf view resolution for Web frameworks. * Whether to enable Thymeleaf view resolution for Web frameworks.
@ -215,7 +213,7 @@ public class ThymeleafProperties {
} }
public boolean isRenderHiddenMarkersBeforeCheckboxes() { public boolean isRenderHiddenMarkersBeforeCheckboxes() {
return renderHiddenMarkersBeforeCheckboxes; return this.renderHiddenMarkersBeforeCheckboxes;
} }
public void setRenderHiddenMarkersBeforeCheckboxes( public void setRenderHiddenMarkersBeforeCheckboxes(
@ -239,10 +237,8 @@ public class ThymeleafProperties {
private MimeType contentType = MimeType.valueOf("text/html"); private MimeType contentType = MimeType.valueOf("text/html");
/** /**
* Whether Thymeleaf should start sending partial output to the server's output * Whether Thymeleaf should start writing partial output as soon as possible or
* buffers as soon as it becomes available (default), or instead wait until * buffer until template processing is finished.
* template processing is finished, keeping all rendered results in memory until
* that moment and sending them to the server's output buffers in a single call.
*/ */
private boolean producePartialOutputWhileProcessing = true; private boolean producePartialOutputWhileProcessing = true;
@ -255,7 +251,7 @@ public class ThymeleafProperties {
} }
public boolean isProducePartialOutputWhileProcessing() { public boolean isProducePartialOutputWhileProcessing() {
return producePartialOutputWhileProcessing; return this.producePartialOutputWhileProcessing;
} }
public void setProducePartialOutputWhileProcessing( public void setProducePartialOutputWhileProcessing(

@ -512,7 +512,9 @@ content into your application. Rather, pick only the properties that you need.
spring.thymeleaf.reactive.full-mode-view-names= # Comma-separated list of view names (patterns allowed) that should be executed in FULL mode even if a max chunk size is set. spring.thymeleaf.reactive.full-mode-view-names= # Comma-separated list of view names (patterns allowed) that should be executed in FULL mode even if a max chunk size is set.
spring.thymeleaf.reactive.max-chunk-size=0B # Maximum size of data buffers used for writing to the response. spring.thymeleaf.reactive.max-chunk-size=0B # Maximum size of data buffers used for writing to the response.
spring.thymeleaf.reactive.media-types= # Media types supported by the view technology. spring.thymeleaf.reactive.media-types= # Media types supported by the view technology.
spring.thymeleaf.render-hidden-markers-before-checkboxes= # Whether hidden form inputs acting as markers for checkboxes should be rendered before the checkbox element itself.
spring.thymeleaf.servlet.content-type=text/html # Content-Type value written to HTTP responses. spring.thymeleaf.servlet.content-type=text/html # Content-Type value written to HTTP responses.
spring.thymeleaf.servlet.produce-partial-output-while-processing # Whether Thymeleaf should start writing partial output as soon as possible or buffer until template processing is finished.
spring.thymeleaf.suffix=.html # Suffix that gets appended to view names when building a URL. spring.thymeleaf.suffix=.html # Suffix that gets appended to view names when building a URL.
spring.thymeleaf.template-resolver-order= # Order of the template resolver in the chain. spring.thymeleaf.template-resolver-order= # Order of the template resolver in the chain.
spring.thymeleaf.view-names= # Comma-separated list of view names (patterns allowed) that can be resolved. spring.thymeleaf.view-names= # Comma-separated list of view names (patterns allowed) that can be resolved.

Loading…
Cancel
Save