I'm trying to find out if a Nav Item is selected from a sitemap ADT. When I do so, it always outputs it as false. How can I go about finding out if a navitem is selected from the ADT?
<#list navItems as navItem>
<#if navItem.isSelected()>
<p>True</p>
<#else>
<p>False</p>
</#if>
</#list>