Closed gino8070 closed 8 years ago
Replace "articles" to "searches" from Thymeleaf-AddtionalExpression.
How to use from views.
<div th:each="newsArticles : ${#searches.articles(#searches.condition().tagNames('NEWS').categoryCodes(page.getCategories().first().getCode()).size(4))}">
<p th:text="${#posts.title(newsArticles)}">aaa</p>
</div>
Add "articles" to Thymeleaf-AddtionalExpression.
Impl method byCategoryAndTagName. How to use from views.