[richfaces-issues] [JBoss JIRA] (RF-11839) Hot key doesn't work when focus in on editor

Lukáš Fryč (Commented) (JIRA) jira-events at lists.jboss.org
Fri Jan 6 06:19:10 EST 2012


    [ https://issues.jboss.org/browse/RF-11839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654251#comment-12654251 ] 

Lukáš Fryč commented on RF-11839:
---------------------------------

We would need to go step deeper and when {{hotKey}} is bound to editor, it would be necessary to register this event in {{iframe}} used by editor.

This is not as easy as it seems because {{selector}} can generically point to the browser that we are not able to detect at server-side and furthermore, jQuery would be necessary to load into that {{iframe}}.

{{Editor}} itself has support for hotkeys (using keystroke plugin), then integration could be managed using [{{Editor}}'s API|http://docs.cksource.com/ckeditor_api/symbols/src/plugins_keystrokes_plugin.js.html].


                
> Hot key doesn't work when focus in on editor
> --------------------------------------------
>
>                 Key: RF-11839
>                 URL: https://issues.jboss.org/browse/RF-11839
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input, component-misc
>    Affects Versions: 4.1.0.Final
>         Environment: RichFaces 4.1.1-SNAPSHOT
> Metamer 4.1.1-SNAPSHOT
> Mojarra 2.1.3
> JBoss AS 7.1.0.Beta1
> OpenJDK Runtime Environment 1.6.0_22-b22 @ Linux
> Chrome 16.0.912.63 @ Linux x86_64, Firefox 8.0 @ Linux x86_64
>            Reporter: Pavol Pitonak
>            Assignee: Lukáš Fryč
>             Fix For: 4.1.1.Final
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richHotKey/editor.xhtml
> # press Ctrl+X (to focus on editor)
> # press Alt+X (to blur from editor)
> result:
> * when Ctrl+X is pressed, focus is in editor
> * when Alt+X is pressed, nothing happens (editor should no longer be focused)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list