Thomas Singer wrote: > I want to decorate any <a href="..."> link to an external website with a > small graphic and ensure it will open in a separate window. Where should I > start? I'm currently trying to add an IMarkupFilter implementation to insert > another openClose-ComponentTag before the </a>-ComponentTag, but Wicket > seems not to render it.
Extend AbstractMarkupFilter. See RelativePathPrefixHandler for details, although you don't need all the behaviour bits. Just check the src for starting with "http://" or "https://", add a class="extLink" attribute, and do your decoration with CSS. .extLink { padding-left: 20px; background: url(extLink.png) no-repeat left center; } Something like that, anyway. Regards, Al ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user