AJAX hook for detecting DOM replacement
---------------------------------------
Key: TRINIDAD-129
URL: https://issues.apache.org/jira/browse/TRINIDAD-129
Project: MyFaces Trinidad
Issue Type: New Feature
Affects Versions: 1.0.2-core
Reporter: Adam Winer
Assignee: Adam Winer
Once we get 1.0.2 out (hopefully soon) let's look at providing
some hooks for DOM replacement during AJAX, something
where you get called with something like:
// Tellls you that oldDom is about to be replaced with newDom,
// and lets you manipulate the dom, or return "true" to block
// it or handle it all yourself
function domReplaceNotify(oldDom, newDom)
{
... see if oldDom contains the tree...
... if it does, copy scrollTop and scrollLeft into newDom
// And let the system handle the move for you
return false;
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.