You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (JIRA)" <de...@myfaces.apache.org> on 2012/12/10 12:51:21 UTC
[jira] [Resolved] (TOMAHAWK-1607) focus cannot locate targets
inside UIData elements
[ https://issues.apache.org/jira/browse/TOMAHAWK-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Werner Punz resolved TOMAHAWK-1607.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.1.15-SNAPSHOT
Added the code, and again thanks for the fix
> focus cannot locate targets inside UIData elements
> --------------------------------------------------
>
> Key: TOMAHAWK-1607
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1607
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Focus
> Affects Versions: 1.1.6
> Reporter: Mike Kienenberger
> Assignee: Mike Kienenberger
> Fix For: 1.1.15-SNAPSHOT
>
> Attachments: ExtendedHtmlFocus.java
>
>
> focus cannot generate correct clientIds for targets inside UIData elements because UIComponent.findComponent() does not preserve row index information.
> I noticed this in my legacy 1.1.6 app, but I suspect after glancing at the latest Tomahawk 1.1.9 code that the problem still persists.
> However, I don't know how much focus is really used anymore -- it never made it out of the sandbox, and ajax makes doing much of this a lot easier now.
> I created a workaround for focus by reimplementing a local version of findComponent() in a custom focus subclass and this workaround will work, except in those cases where a parent component had customized findComponent() behavior which I will attach to this issue.
> A more modern solution would likely be to dump findComponent for invokeOnComponent which correctly sets the rowIndex.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira