You can use CssAttributeModifier to specify a different class.
*Bruno Borges* www.brunoborges.com.br +55 21 76727099 On Fri, Jul 22, 2011 at 4:56 AM, raju.ch <raju.challagun...@gmail.com>wrote: > Hi, I'm using wicket 1.4 and my site contains one Template which > header,footer,hor.menu and it is common to all the pages now, my req is > onclicking the hor menu item, i want to show the active link with some > background.. I tried with a:active but it is not working as it is a common > template to all the pages..Can any one help in doing this?..here is my Hor > menu > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/changing-the-background-color-of-link-on-performing-onclick-event-tp3686180p3686180.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 > >