Hello I have a component at the top of the page for navigating to my "main" pages.. This works perfect, see the xhtml code below.. But the problem is that I want the clicked navigate link to get an class="active" attribute. How can I do this? The problem is the component is rerendered after I click a navigate link. And I don't want to store something in the session..
Any Ideas? Thanks! Peter <!-- Generated Navigation component xhtml--> <div id="header"> <ul id="navigation"> <li> <a t:type="pagelink" page="Index" class="active"> <span>${message:tab-index}</span> </a> </li> <li> <a t:type="pagelink" page="Profile"> <span>${message:tab-profile}</span> </a> </li> <li> <a t:type="pagelink" page="Chart"> <span>${message:tab-chart}</span> </a> </li> <li> <a t:type="pagelink" page="Search"> <span>${message:tab-search}</span> </a> </li> </ul> </div>