How do I do the conditional operator like this in thymeleaf?
Ex: condiction ? result1 : result2 <tr th:class="${row.even}? 'even' : 'odd'"> ... </tr> <tr th:class="${row.even}? (${row.first}? 'first' : 'even') : 'odd'"> ... </tr> <tr th:class="${row.even}? 'alt'"> ... </tr> th:class="${row.even ? 'even' : 'odd'}"