This is fixed in trunk. The fix is yet to be backported to 1.x (as well as the entire link hierarchy refactor).
If you need this behavior now, you can add an abstractBehavior that does the trick for you in it's onComponentTag. -Matej Marc-Andre Houle wrote: > I wanted to use setEnabled on an AjaxLink but it does not what I was > wanting. > If I set setEnable to false on a link, it will remove <a> tag and will > put a span instead. If using an ajaxLink, it will only disable the > onClick handler. > > Is there a way to because it is like this? It there a simple way to > make it look like a regular link without subclassing AjaxLink? For my > opinion, it would be a good thing that AjaxLink look like the regular > Link on this. > > Marc > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
