java - Thymeleaf th:block not working any more -
i have written block of code in thymeleaf
:
<th:block th:if="${i.mid} > ${yesterday.tableratemodel.rates[e.index].mid}"> <i class="glyphicon glyphicon-arrow-up"></i> </th:block> <th:block th:if="${i.mid} == ${yesterday.tableratemodel.rates[e.index].mid}"> <i class="glyphicon glyphicon-resize-small"></i> </th:block> <th:block th:if="${i.mid} < ${yesterday.tableratemodel.rates[e.index].mid}"> <i class="glyphicon glyphicon-arrow-down"></i> </th:block>
and in case error like: org.xml.sax.saxparseexception: value of attribute "th:if" associated element type "th:block" must not contain '<' character.
but when comment last th:block
works properly. wrong?
the problem <
use this:
< < > > ≤ <= ≥ >=
Comments
Post a Comment