use a attributemodifier for that.

so something like: link.add(new AttributeModifier("class","yourclass"))

On 7/25/06, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote:
hi,

I am now struggling with a new problem : I need to programmatically set
the class attribute of a html link (<a> element). I tried to extend 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 SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to