[richfaces-issues] [JBoss JIRA] (RF-10758) Input fields in popupPanel loose focus
Marc-Christian Schroeer (Commented) (JIRA)
jira-events at lists.jboss.org
Mon Nov 14 08:56:41 EST 2011
[ https://issues.jboss.org/browse/RF-10758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642530#comment-12642530 ]
Marc-Christian Schroeer commented on RF-10758:
----------------------------------------------
I did some digging today and think I might have found the problem:
In popupPanel.js there is in processAllFocusElements a comparison between "root" and "this.div". While "root" is a simple DOM element, "this.div" is a jQuery collection of elements and thus a comparison between both always fails. I patched (or hacked) the popupPanel.js within Chrome so the line reads "if (root != this.div.get(0) ) {" and the modal popupPanel works like a charm with the tab key.
Maybe someone having deeper knowledge of the Javascript source can take a look at this line and fix this for real.
> Input fields in popupPanel loose focus
> --------------------------------------
>
> Key: RF-10758
> URL: https://issues.jboss.org/browse/RF-10758
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.0.0.CR1
> Environment: Tomcat 7.0.8, MyFaces 2.0.4, RichFaces 4.0.0-SNAPSHOT, Firefox 3.6.15, InternetExplorer 8
> Reporter: Marc-Christian Schroeer
> Fix For: 4.Future
>
>
> When opening a popupPanel with inputText-components, pressing the tab key to switch between input fields results in the address input field getting the focus. tabindex-attributes do not help this issue. This issue does not exist with Google Chrome browsers.
--
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