This content has been marked as final.
Show 5 replies
-
1. Re: Hotkey problem Firefox
ilya_shaikovsky Dec 11, 2008 5:54 AM (in response to mkuiper)yes, please provide source code you using.
-
2. Re: Hotkey problem Firefox
mkuiper Dec 11, 2008 6:31 AM (in response to mkuiper)Alright, I'll wrap something up later today.
-
3. Re: Hotkey problem Firefox
mkuiper Dec 11, 2008 9:10 AM (in response to mkuiper)Ok, I thought I might need to provide an example, but I ripped it down to its basics and was left with this:
<a4j:outputPanel id="panel" styleClass="this-is-a-test" style="display: block; width: 300px; height: 200px; padding: 50px; background-color: red;"> <h:inputText id="text" /> <rich:hotKey id="hotkey" selector=".this-is-a-test" key="ctrl+q" handler="alert('ctrl+q pressed');" /> </a4j:outputPanel>
When you press ctrl+q in the red box you should see an alert, but in firefox it only appears when focus is in the input field. -
4. Re: Hotkey problem Firefox
ilya_shaikovsky Dec 11, 2008 9:23 AM (in response to mkuiper)ok.. but div element can't be itself focused. so just works as is.
-
5. Re: Hotkey problem Firefox
mkuiper Dec 11, 2008 9:34 AM (in response to mkuiper)Oh, you're right. Silly IE is making things easy for us again. :-p I guess I'll have to work around that then.
Thanks for your help.