Witam,
chciałby zrobić następująco rzecz fragment pola (etykieta + input)
<div th:fragment="field" xmlns:th="http://www.thymeleaf.org" >
<label th:text="#{key}"></label>
<input th:value="${key}"/>
</div>
plus użycie
<div th:include="partials/field :: field" th:with="key='customer.firstName'"></div>
problem jest taki ze potrzebuje zrobic we fragmencie podwujne przetwarzanie
czyli we fragmencie ${key} ma wartość customer.firstName a dopiero ${customer.firstName} = ma wartość z beana czyli ${${key}} ale to nie działa zruca błędem ze takie wyrażenie jest niepoprawne