I'm thinking that if you make a superclass of Link. Link AbstractLink extends Link.
Then BookmarkablePageLink could inherit from AbstractLink. Because BookmarkablePageLink is not using onClick() and it's in Link class. This is refactoring stuff, It's not because I would like to change all of how it's going on. Sorry I'm just coming with my view, and it's because I'm trying to understand Wicket and why something is made a certain way. On 3/31/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > Because ExternalLink does not point to a Wicket resource or listener. > It points to some wicket external address (e.g. google, ebay, amazon) > and hence doesn't need all the features/functionalities (and the > overhead) of Link and it derivatives. > > Juergen > > On 3/31/06, Jesper Preuss <[EMAIL PROTECTED]> wrote: > > I would like to know if there is a reason why the class > > wicket.markup.html.link.Link is not a parent to ExternalLink? > > > > Because Link is extends by all these AjaxFallbackLink, > > BookmarkablePageLink, DummyHomePage.TestLink, PageLink, > > PagingNavigationIncrementLink, PagingNavigationLink, PopupCloseLink, > > ResourceLink. > > > > Is there a specific reason, or is it something you not have thougt of. > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
