[richfaces-issues] [JBoss JIRA] (RF-12759) rich:hotkey doesn't handle Ctrl+A key binding

Alexander Fox (JIRA) jira-events at lists.jboss.org
Tue Nov 19 09:12:06 EST 2013


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

Alexander Fox commented on RF-12759:
------------------------------------

Here is a better workaround that doesn't need <rich:element> with hard coded element id. Hard coded element IDs are not usable.

            <rich:hotKey selector="#mySelector" key="return"
                onkeydown="jQuery(document.getElementById('#{rich:clientId('myComponentId')}')).click();" enabledInInput="true"/>

                
> rich:hotkey doesn't handle Ctrl+A key binding
> ---------------------------------------------
>
>                 Key: RF-12759
>                 URL: https://issues.jboss.org/browse/RF-12759
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-misc
>    Affects Versions: 4.2.3.Final
>         Environment: Linux Fedora 16 x64, NetBeans 7.2, GlassFish 3.1.1, CDI/Weld/CODI, JSF2, RichFaces4.2.3, Hibernate3.2.5, Firebird 2.5.1
>            Reporter: Edilmar Alves
>            Assignee: Lukáš Fryč
>              Labels: hotkey
>             Fix For: 5-Tracking
>
>         Attachments: test.java, test.xhtml
>
>
> When I try to use rich:hotkey with a4j:commandButton, it doesn't work. A detailed explanation about this is in the forum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list