Thanks for listening, It's not because I wanted you to change it now, or change it at all. But more to understand you and why you have made this decision in Wicket.
Will do, I will make an RFE for it. On 3/31/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > Would you please create an RFE for it. Though it'll most likely be 1.3 > (not 1.2) where it gets implements. 1.2 is now in beta (and close to > RC) and we try hard not to make (breaking) API change during this > phases.. > > Juergen > > On 3/31/06, Jesper Preuss <[EMAIL PROTECTED]> wrote: > > Ok I have attached some examples. Meaby you could tell me a better way > > of using the Link and ExternalLink. > > > > It's not because you can't live without the inheritance hierarchy, but > > I have thought of the following cons of all links extends Links. > > 1. It's easier for the IDE to auto suggest what kind of Link you wan't. > > when you write "Link link = new" the you can get the editor to suggest > > what kind of link you wan't > > 2. It easier to find in the Javadoc API. You can find all the "Direct > > Known Subclasses" in the API. > > 3. ExternalLink would have the methods from Link. Like > > link.setPopupSettings(), because it would be nice to have popup of > > external links with easy. > > 4. Like Generics in Java 5, it's more logical to understand. > > It's easier to understand that /all/ links all is a class "Link". > > 5. Faster for beginners to understand the language if it is easier to > > understand. > > I myself had trouble to understand how I could have an external link. > > And have also seen it with other beginners. We have either used the > > IDE auto suggest or looked in the APIs "Direct Known Subclasses" > > first. I know you would say that you should look in the > > wicket.markup.html.link package. But this still don't contain all the > > links. > > > > Ohh this turned out much bigger stand I imagined. > > > > > > On 3/31/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > > > Sorry, might questionwas referring to > > > >Because I'm makeing a dynamic menu, where you can put your own links. > > > >Here I have to do more because it's not all using extends Link. > > > > > > On 3/31/06, Jesper Preuss <[EMAIL PROTECTED]> wrote: > > > > On 3/31/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > > > > > Do you? What exactly are the differences. > > > > > > > > You talk about it being bloatware if ExternalLink extends from Link. > > > > And BookmarkablePageLinkis extinding the method onClick() but this > > > > method is /not used/ then this BookmarkablePageLink is also bloatware. > > > > Then I just say that if you make an AbstractLink where all the links > > > > have something similar. > > > > > > > > > > > > > > On 3/31/06, Jesper Preuss <[EMAIL PROTECTED]> wrote: > > > > > > I would just think it was easier to understand that all types of > > > > > > links > > > > > > did inherit or implement some class. > > > > > > > > > > > > Because I'm makeing a dynamic menu, where you can put your own > > > > > > links. > > > > > > Here I have to do more because it's not all using extends Link. > > > > > > > > > > > > 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 > > > > > > > > Wicket-user@lists.sourceforge.net > > > > > > > > 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 > > > > > > > Wicket-user@lists.sourceforge.net > > > > > > > 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 > > > > > > Wicket-user@lists.sourceforge.net > > > > > > 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 > > > > > Wicket-user@lists.sourceforge.net > > > > > 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 > > > > Wicket-user@lists.sourceforge.net > > > > 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 > > > Wicket-user@lists.sourceforge.net > > > 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 > Wicket-user@lists.sourceforge.net > 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user