[richfaces-issues] [JBoss JIRA] (RF-12368) rich:hotKey not working in 4.2.2

Ulf Liller (JIRA) jira-events at lists.jboss.org
Thu Jul 26 03:24:07 EDT 2012


     [ https://issues.jboss.org/browse/RF-12368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ulf Liller updated RF-12368:
----------------------------

    Attachment: FacesTest.zip

    
> rich:hotKey not working in 4.2.2
> --------------------------------
>
>                 Key: RF-12368
>                 URL: https://issues.jboss.org/browse/RF-12368
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.2.2.Final
>         Environment: JSF 2.1, RichFaces 4.2.2
>            Reporter: Ulf Liller
>         Attachments: FacesTest.zip
>
>
> I am trying to catch backspace key presses to prevent the browser from processing them and doing history.back() which screws up our site's navigation.
> The following works fine with JSF 1.2 and RichFaces 3.3.3:
> {code:xml}
> <rich:hotKey key="backspace" handler="return false;" disableInInput="true"/>
> {code}
> However we are trying to upgrade to RichFaces 4 and with that version it ceases to work.
> I will attach a sample (my)Eclipse project. I have tested it with JSF 1.2 (mojarra 1.2.15) and RichFaces 3.3.3 (which works) and JSF 2.1 (mojarra 2.1.11) and RichFaces 4.2.2 (which doesn't).
> As a workaround I found out that calling jQuery directly and disabling the hotkey there is fine in both versions.

--
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