link.add(new SimpleAttributeModifier("class", "YOUR-CLASS-NAME"));


On Mon, 2006-07-24 at 11:20 -0700, Pierre-Yves wrote:
> hi,
> I am struggling with a new problem : I need to programmatically set the
> class attribute of a html link (  element). I tried to extends the Link
> element, but unfortunately, the onComponentTag method is final. (For some
> reasons, I cannot use another clickable element). Any idea ?
> Thanks,
> Pierre-Yves

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
Wicket-user mailing list

Reply via email to