readthefuckingmanual.net

[SOLVED] Fragment 'fragments/fragment(fragment) specifies synthetic (unnamed) parameters, but the resolved fragment does not match a fragment signature (th:fragment,data-th-fragment) which could apply names to the specified parameters.

Error added: 2022-04-16T12:17:17Z

1 people waiting for the answer...

2 answers found.

Answer 2800 (100.0% helpful)

<span th:fragment="fragment(paramname)">
   ....
</span>

<span th:insert="fragments/fragment :: fragment(paramname=${param})"></span>
Permalink

Answer 2716 (0.0% helpful)

<span th:fragment="dothething (paramname)">
   ....
</span>

<span th:include="fragments/fragment :: dothething (${param})"></span>
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: