If your links are Wicket components, call setMarkupID on them. Jeremy Thomerson -- sent from my smartphone - please excuse formatting and spelling errors
On Jun 24, 2010 5:43 PM, "Chris Colman" <chr...@stepaheadsoftware.com> wrote: I am using a CSS stylesheet that requires each <a> tag link in a menu to specify a differently numbered id value: Eg., The output needs to be something like this where each <a> tag has a sequentially numbered id: menu1, menu2, menu3 etc., <div id="menu"> <ul> <li><a id="menu1" href="#" title="Home">Home</a></li> <li><a id="menu2" href="#" title="Info">Info</a></li> <li><a id="menu3" href="#" title="About">About</a></li> </ul> </div> Is it possible to get wicket to inject an id tag into the links markup? If so, how ? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org