[
https://issues.apache.org/jira/browse/TRINIDAD-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574538#action_12574538
]
Renzo Tomaselli commented on TRINIDAD-967:
------------------------------------------
well, the proposed path raises some issues when the focus target disappears
from current PPR answer (or becomes hidden).
A better patch accounts for that:
window.setTimeout("var xxx = document.getElementById('" +
refocusId + "'); if (xxx) xxx.focus()", 100);
-- Renzo
> stop rendering on IE while processing PPR
> -----------------------------------------
>
> Key: TRINIDAD-967
> URL: https://issues.apache.org/jira/browse/TRINIDAD-967
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 1.0.6-core
> Environment: IE 6/7
> Reporter: Renzo Tomaselli
>
> Hi, when a PPR is triggered from inside a popupPanel by clicking on any
> enclosed link - then PPR stops on IE 6/7. This occurs in Page.js,
> method_handlePprResponseFragment(), while trying to reposition the focus on
> the originating link: the call on focus() never returns on IE.
> This call occurs in:
> if (refocusId) {
> activeNode = doc.getElementById(refocusId);
> if (activeNode && activeNode.focus) {
> activeNode.focus(); // !!!!!
> A simple fix is achieved by delaying the call such as in:
> if (_agent && _agent.isIE)
> window.setTimeout("document.getElementById('" + refocusId +
> "').focus()", 100);
> else
> activeNode.focus();
> -- Renzo
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.