Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-129

AJAX hook for detecting DOM replacement

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.2-core
    • 1.0.3-core, 1.2.3-core
    • None
    • None

    Description

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

      Attachments

        Activity

          People

            adamwiner Adam Winer
            adamwiner Adam Winer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: