Skip to content

Conversation

@danielfernandez
Copy link
Contributor

Thymeleaf 3.0.10 added two new configuration parameters that could be configured in Spring Boot:

  • spring.thymeleaf.render-hidden-markers-before-checkboxes will determine whether the hidden elements rendered in forms to mark checkboxes should be rendered before or after (default) the checkbox elements themselves. This is for better integration with some CSS frameworks.
  • spring.thymeleaf.servlet.produce-partial-output-while-processing (only for Spring MVC environments) will determine whether partial output should be sent to the server's output buffers as soon as it becomes available (default) or instead the engine should wait until the whole template is processed, keeping results in memory until processing is finished, and then send everything to the output buffers in one call.

This PR adds support for configuring both new flags, and their corresponding test cases.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 16, 2018
@bclozel bclozel self-assigned this Oct 16, 2018
@bclozel bclozel added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 16, 2018
@bclozel bclozel added this to the 2.1.0.RC1 milestone Oct 16, 2018
@bclozel bclozel closed this in 96fc926 Oct 16, 2018
@bclozel
Copy link
Member

bclozel commented Oct 16, 2018

Right on time - thanks @danielfernandez !

@danielfernandez
Copy link
Contributor Author

Also note that if Thymeleaf 3.0.10 was adopted in 2.0.x too, this might also be useful for that version of Spring Boot.

snicoll added a commit that referenced this pull request Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants