-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
th:replace by POST response view #988
Comments
Hello Kelvin, Thanks for your suggestion. Thymeleaf is a server-side template engine and, as such, its goal is to produce output by composing the server-side resources instead of doing AJAX calls to render the final content. Compositing pages using AJAX calls is already done by many Javascript frameworks that do their job very well. On the other hand, please note that using POST requests to get view content is not a good practice and against the HTTP specification at https://datatracker.ietf.org/doc/html/rfc2616 Thanks anyway for your suggestions. |
I would suggest to have th:replace support POST response view.
index.xml
menu.xml
MenuController.java
The text was updated successfully, but these errors were encountered: