[richfaces-issues] [JBoss JIRA] Created: (RF-3810) HotKey: global handler does not trigger in case any component with local hotkey in focus.

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Thu Jun 26 07:03:02 EDT 2008


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: Nick Belaevski


# 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

        



More information about the richfaces-issues mailing list