[
http://jira.jboss.com/jira/browse/RF-3810?page=all ]
Vladimir Molotkov reassigned RF-3810:
-------------------------------------
Assignee: Vladimir Molotkov (was: Ilya Shaikovsky)
HotKey: global handler does not trigger in case any component with
local hotkey in focus.
-----------------------------------------------------------------------------------------
Key: RF-3810
URL:
http://jira.jboss.com/jira/browse/RF-3810
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Alexander Dubovsky
Assigned To: Vladimir Molotkov
Fix For: 3.2.2
# Create on one page 2 hotkeys: one for input and other global
# Set focus to input field
# Try both hotkeys
Result: local hotkey works but global does not work.
Code:
<h:inputText id="text"/>
<sb:hotKey id="jsHotKeyID1"
timing="onload"
key="alt+x"
selector="#text"
handler="alert('local works')" />
<br />
<sb:hotKey id="jsHotKeyID2"
timing="onload"
key="alt+c"
handler="alert('global works')" />
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira