FHIR Chat · Modifying Thymeleaf templates · implementers

Stream: implementers

Topic: Modifying Thymeleaf templates


view this post on Zulip Durant Schoon (Sep 01 2020 at 03:02):

Hello,

This is my first post and I hope I'm not asking in the wrong place (please send me in the right direction). I have some basic Thymeleaf template questions for a project based on https://github.com/hapifhir/hapi-fhir-jpaserver-starter.

If I wanted to change the value of ${base} in this section of code, where would. I do that (in Java?):

https://github.com/jamesagnew/hapi-fhir/blob/eddb98084dd8c7d2dd07b82038166101bd608c93/hapi-fhir-testpage-overlay/src/main/webapp/WEB-INF/templates/home.html#L48-L51

                                    <td>FHIR Base</td>
                                    <td>
                                        <a th:href="${base}" th:text="${base}"></a>
                                    </td>

And supposed I wanted to override home.html with my own file, how might I do that?

Thank you and hello!

view this post on Zulip Lloyd McKenzie (Sep 01 2020 at 03:41):

You might want to raise this on #hapi

view this post on Zulip Durant Schoon (Sep 01 2020 at 14:57):

Will do. Thanks, Lloyd!


Last updated: Apr 12 2022 at 19:14 UTC