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
Pass object with include #12
Comments
Yes, in a way. Using a shortened example from the readme:
The |
It is a wonderful feature which make the template perfect - so we can get rid of tiles or facelet any more! |
I'm glad you've found my Thymeleaf dialect useful :) It won't be part of an official release though as it doesn't feel like 'core' functionality - just like how SiteMesh wasn't a core part of JSP, and how Facelets isn't a core part of JSF, but people would use SiteMesh/Facelets anyway because they give you very powerful templating options. |
I can't process recursively my fragments. I've only one level processed. Any help? Here is my Java bean : I have 2 templates : /templates/recursive.html My result :
Expected :
I'm using latest versions of Thymeleaf + layout |
Hey @jgrtalk, that looks like a general Thymeleaf question, unreleated to this GitHub issue. Could you instead post your question to our forums, http://forum.thymeleaf.org/General-Usage-f2234430.html, where we can better answer it. |
[Enhancement]
The layout:include feature is pretty like JSF facelet way!
In real JSF, we can pass String or objects or even collection to the facelet,
can this layout:include pass object(s) to the included fragment e.g. modal div?
The text was updated successfully, but these errors were encountered: