I have a template
person_report
and I need the values of this concatenation not to be shown as null
when a pdf is generated.
<td th:text="|${person.address} ${person.address_number} ${person.floor} ${person.department}|">Static content</td>
deal with:
{person.address?} ${person.address_number?} ...
and with:
<td th:text="|${person.address !=null} ? ${person.address_number !=null} ? ${person.floor !=null} ? ${person.department !=null} : '-'|"></td>