[richfaces-issues] [JBoss JIRA] (RF-11837) Hot key: onkeypress attribute doesn't work with special keys

Lukáš Fryč (Commented) (JIRA) jira-events at lists.jboss.org
Fri Jan 6 06:08:09 EST 2012


    [ https://issues.jboss.org/browse/RF-11837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654248#comment-12654248 ] 

Lukáš Fryč commented on RF-11837:
---------------------------------

Problem is with {{jquery.hotkeys.js}} plugin which does not observe {{keypress}} event when special key is hold ([there is issue managed outside of upstream|https://github.com/tzuryby/jquery.hotkeys/issues/7]).

I'm not suggesting to go more deeply, since plugin itself is not addressing this issue.

We should either

* *document that special keys can't be used* with {{keypress}}
* or rather *remove this attribute at all*
** it can be replaced with {{keyup}}
                
> Hot key: onkeypress attribute doesn't work with special keys
> ------------------------------------------------------------
>
>                 Key: RF-11837
>                 URL: https://issues.jboss.org/browse/RF-11837
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-misc
>    Affects Versions: 4.1.0.Final
>         Environment: RichFaces 4.1.1-SNAPSHOT
> Metamer 4.1.1-SNAPSHOT
> Mojarra 2.1.3
> JBoss AS 7.1.0.Beta1
> OpenJDK Runtime Environment 1.6.0_22-b22 @ Linux
> Chrome 16.0.912.63 @ Linux i686
>            Reporter: Pavol Pitonak
>            Assignee: Lukáš Fryč
>             Fix For: 4.1.1.Final
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richHotKey/simple.xhtml
> # press Ctrl+X 
> # set attribute type=keypress
> # press Ctrl+X
> result:
> * first action is executed, second not

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list