I have faced with the error:
Could not parse as expression: "${consultation.getStatus().toString()}!=SCHEDULED && consultation.getStatus().toString()}!=RECEIVED"
In the line :
<span th:if="${consultation.getStatus().toString()}!=SCHEDULED && consultation.getStatus().toString()}!=RECEIVED" th:text="${consultation.getStatus()}"></span>
i cannot figure out why Thymeleaf is complaining?
Update:
I am trying to check an attribute if it is equal to SCHEDULED
or RECEIVED