Я хочу отобразить список атрибутов модели. Но я получаю сообщение об ошибке, например
org.thymeleaf.exceptions.TemplateProcessingException: Не удалось проанализировать как выражение: "(${storeInfo.storeStatus} == 'InActive')? (color:red):(color:black)""
ниже приведен код, пожалуйста, помогите в этом
<select id="storeDropDown" th:field="*{storeId}" name="storeId" class="form-control input-md mb-md">
<option value="NA" th:name="stareStatus" th:text="#{reports.selectStore}">
</option>
<option th:each="storeInfo : ${storeInfoList}" th:value="${storeInfo.storeId}" th:style="(${storeInfo.storeStatus} == 'InActive'||'Active')? (color:red):(color:black)" th:text="${storeInfo.storeName}" th:name="${storeInfo.storeStatus}"></option>