[richfaces-issues] [JBoss JIRA] Closed: (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
Mon Jul 7 06:24:58 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-3810?page=all ]

Alexander Dubovsky closed RF-3810.
----------------------------------

    Assignee: Alexander Dubovsky  (was: Vladimir Molotkov)

> 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: Alexander Dubovsky
>             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

        



More information about the richfaces-issues mailing list