Skip to content

Parameterizable fragment signatures #50

@devowhippit

Description

@devowhippit

I've greatly appreciated this implementation and being able to get to know Thymeleaf. Thank you so much! Noting the following as either a question; am I doing something wrong? or is it possible to support?

I've succeeded with the library using the first argument format option described in parameterizable fragment signatures.

<th:block th:replace="~{path/to/fragment :: fragment(${value1}, ${value2})}">

However, the second parameter option is more desirable but I have not had success using it.

<th:block th:replace="~{path/to/fragment :: fragment(onevar=${value1}, twovar=${value2})}">

Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions