That is true, but getUrl is basically the only thing from Link which makes sense for ExternalLink (1 out of >10 methods). And I'm not even sure this is true because you'd need a (anonymous) subclass to overrider getUrl. ExternalUrl allows to provide the href with its constructor which is more user friendly.
I must admit I still don't understand where your confusion comes from: ExternalLink is realy a special purpose component only, creating HTML anchor tags pointing to /external/ destinations. What is your use case where you require a more flexible link to /external/ resources (like www.google.com; www.ebay.com, etc.) We could make the href and label parameters IModels to make it a little bit more flexible. Juergen On 1/19/06, Nathan Hamblen <[EMAIL PROTECTED]> wrote: > Juergen Donnerstag wrote: > > On 1/18/06, Nathan Hamblen <[EMAIL PROTECTED]> wrote: > >> I think the best thing would be to have an external link that's actually > >> in the Link hierarchy, but I haven't looked at the source closely enough > >> to see if that's feasible. > > > > That doesn't make much sense, IMO. Links are pointing to wicket > > resources (Pages, images) etc.. ExternalLink does not. > > That doesn't exclude them from having a common abstract class, with an > abstract getURL() method and some shared logic in onComponentTag. > > Nathan > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user