Created a fix if any one is interested. I noticed that every time I clicked on my Navbar, the base page would always reload there for the Panel would always reset and would never know which one is select.
In my Base Page I was about to do this.getClass() that gives me the current page loaded and so in the Panel I just passed in the active page and did a comparison to put the class attribute on the link. If I'm doing it incorrectly and someone has a better solution please let me know :) Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Adding-Class-Attribute-When-Link-Clicked-tp4659285p4659288.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org