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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -