xml - Thymeleaf-How to pass variable -
<th:block th:with="reference=${op.jptext('$.u_reference')}"> <incident id="reference">enter code here <incident>
i have created 1 reference value , per requirement needed passed dynamically output incident id="abcd"
when running code getting output incident id="reference" seems system not able pass variable refernce value
to have thymeleaf evaluate something, must begin th:
. code should like
<incident th:id="${reference}">enter code here
Comments
Post a Comment