Hi Michael,
I’ve just played a bit with Thymeleaf so I’m not aware of all the possibilities, but AFAIK you can include JSPs fragment in your Thymeleaf templates: by using Thymeleaf directives or Apache Tiles integration. It seems to me that it would be the easiest way to reuse the HST taglib from your Thymeleaf templates.
Other than that, this will require some servlet/HST configuration but you should be able to integrate Thymeleaf engine in your HST site webapp. You can have a look at the frameworks integrations documentation. This will give you an overview of how things works. But I believe your use case is simpler than what is described in this documentation: you just have to instruct HST not to process your Thymeleaf templates (and for instance let another servlet do it).
HTH,
Olivier.
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Hippo Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hippo-community/egUBJtpqpuU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
Hi Olivier, basically I have two part of my site: infosite and service.How can I use hst tags in Thymeleaf templates.
I want to run infosite under Hippo CMS, and integrate service with infosite. Service part uses Thymeleaf, so I think if I can use the same rendering in infosite. I have passed two sprints of Hippo Developer Trail,
all of GoGreen templates are using <@hst**> tags, so in general my question is:
As I understood, there are no hst taglibrary for Thymeleaf as for FreeMarker.
Hi Olivier, basically I have two part of my site: infosite and service.How can I use hst tags in Thymeleaf templates.
I want to run infosite under Hippo CMS, and integrate service with infosite. Service part uses Thymeleaf, so I think if I can use the same rendering in infosite. I have passed two sprints of Hippo Developer Trail,
all of GoGreen templates are using <@hst**> tags, so in general my question is:
As I understood, there are no hst taglibrary for Thymeleaf as for FreeMarker.
Your presentation was the first I'd read before start using thymeleaf=)
Unfortunately, I didn't prepare anything for thymeleaf yet.
Its an interesting idea to mix JSPs and Thymeleaf together, but I think it shoudn't be main way.
Thymeleaf is using dialects as its main approach.
For example, there is standart dialect, which includes all common thymeleaf tags, and SpringStandartDialect - for Spring mvc integration.
Spring security dialect realized same way.
So I think that new HST Dialect for thymeleaf will be the best approach.
As for me, after using Thymeleaf Freemarker really terrified me=)