у меня есть панель навигации, которую я использую в качестве шаблона ... см. Pi c
if i am on any of the tabs then i want home to show. But if i am on the home page i don't want Home tab to show its redundant. i cant seem to figure out how to write the thymleaf code..
i have something like this the first line is what i am interested in fixing... can you please help with the controller part also i am sure i can do a model.addAttribute line in each method call and set the isActive to true except the home method i can set the isActive to false ... thank you
li th:text="${isActive} ? 'Home : "
Home : " About Аукционы Текущие аукционы Зарегистрироваться Связаться Расположение