[
https://issues.jboss.org/browse/RF-12759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754336#comment-12754336
]
Lukáš Fryč commented on RF-12759:
---------------------------------
The important part here is:
{code:xml}
<rich:hotKey key="ctrl+a" preventDefault="true" enabledInInput="true">
<rich:componentControl target="buttonPanel" operation="click"/>
</rich:hotKey>
{code}
Note that you are trying to attach hotkey to Ctrl+A which is widely accepted
shortcut for "Select All Text".
I would avoid doing so at first place. You can attach hotkey to another Ctrl
binding or use rather Alt+? bindings, which are less conflict-prone.
----
17.1.4.2. Event processing
http://docs.jboss.org/richfaces/latest_4_X/Component_Reference/en-US/html/chap-Component_Reference-Functionality_extension.html#sect-Component_Reference-Functionality_extension-richhotKey
> rich:hotkey doesn't work with a4j:commandButton
> -----------------------------------------------
>
> 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
> 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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues