I see that my issue is that every time I click on the link my Navigationbar
is created again.



Thus having the active private variable always being HomePage. That's why I
the active never changes.
If I created a way for MainMenu to get and set the active page in the top
level Repeater creation then it can probably know which one is active. Is
that a smart way to do this?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Adding-Class-Attribute-When-Link-Clicked-tp4659285p4659286.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

Reply via email to