You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Thomas Andraschko (JIRA)" <ji...@apache.org> on 2016/05/19 08:44:12 UTC

[jira] [Commented] (DELTASPIKE-1149) Allow the user to open a link in a new tab when holding down the ctrl-key in CLIENTWINDOW mode

    [ https://issues.apache.org/jira/browse/DELTASPIKE-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15290708#comment-15290708 ] 

Thomas Andraschko commented on DELTASPIKE-1149:
-----------------------------------------------

Would be great if you could provide a patch.

> Allow the user to open a link in a new tab when holding down the ctrl-key in CLIENTWINDOW mode
> ----------------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-1149
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1149
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: JSF-Module
>            Reporter: Bernhard Hablesreiter
>            Assignee: Thomas Andraschko
>
> When in CLIENTWINDOW-mode it would be nice if the user is holing down the ctrl-key and clicks a link (get-request link), the DeltaSpike onclick-handler is not being executed, as the user wants this link to be opened in a new tab and a new window-id will be assigned due to the window-name check anyway. Now we have to right-click the link and choose "Open in new tab" to get the desired behaviour, but lots of people are used to open new windows by holding the ctrl-key.
> This also applies to links with a target="_blank" as those should always open in a new tab and the DS onclick-handler could probably be ignored.
> This should of course not affect links with ajax-functionality, e.g. p:commandLink oder f:ajax(ified) links, as they cannot easily be opened in a new window.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)