[
https://issues.apache.org/jira/browse/WICKET-6520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sven Meier resolved WICKET-6520.
--------------------------------
Resolution: Won't Fix
Assignee: Sven Meier
As mention the developer has plenty of options and AFIICS Wicket doesn't write
"_blank"/"_top"/"_parent" anywhere yet, so we won't start now with this.
> ExternalLink should offer possibility to open a link in a new tab/window
> ------------------------------------------------------------------------
>
> Key: WICKET-6520
> URL: https://issues.apache.org/jira/browse/WICKET-6520
> Project: Wicket
> Issue Type: New Feature
> Components: wicket
> Affects Versions: 8.0.0-M8
> Reporter: Aleksandra
> Assignee: Sven Meier
> Priority: Minor
>
> ExternalLink by default opens a link in the same window however it is very
> common use case to open external links in a new tab/window.
> Of course It is possible to change this behavior by overriding onComponentTag
> method and do {color:#808080}tag.put("target", "_blank"){color}, but this
> generates unnecessary boilerplate code.
> I think that ExternalLink could have additional parameter in constructor
> defining whether this link should be opened in a new or the same tab (It
> could just put target="_blank" on a hrefs and formtarget="_blank" on buttons
> with _type="submit")._
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)