ICEfaces
  1. ICEfaces
  2. ICE-8985

ace:tree - subnodes unresponsive as dropzone after update

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.2.0.GA
    • Fix Version/s: 3.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      *

      Description

      Subnodes are not reinitialized as a sortable region after an update occurs. This was supposed to be handled by a dragenter listener (which reinits just-in-time), however dragenter is never called. It is not clear if this ever worked, as the JQ drag/drop doesn't generate DOM drag events.

      Because the JQ implementation of drag/drop is not native (DOM Level 3) browser events and the dragged element is always immediately under the cursor, the cursor never generates any mouse events on the region under the item being dragged, thus normal mouse events can't be used as an appropriate hook to reinit.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33394 Tue Feb 12 15:26:45 MST 2013 nils.lundquist ICE-8985 - ace:tree subnodes render inner script tag to check & if needed, reinit sortability for siblings.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/tree/tree.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tree/TreeRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tree/TreeRendererContext.java
        Nils Lundquist created issue -
        Nils Lundquist made changes -
        Field Original Value New Value
        Affects Version/s EE-3.2.0.GA [ 10332 ]
        Hide
        Nils Lundquist added a comment -

        Revision #33394
        Committed by nils.lundquist
        Moments ago
        ICE-8985 - ace:tree subnodes render inner script tag to check & if needed, reinit sortability for siblings.

        Show
        Nils Lundquist added a comment - Revision #33394 Committed by nils.lundquist Moments ago ICE-8985 - ace:tree subnodes render inner script tag to check & if needed, reinit sortability for siblings.
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Nils Lundquist made changes -
        Assignee Nils Lundquist [ nils.lundquist ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33404 Wed Feb 13 12:45:40 MST 2013 nils.lundquist ICE-8985 - Optimize ace:tree refreshSorting JS call. Search from the update up rather than from the tree root down.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/tree/tree.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tree/TreeRenderer.java
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Nils Lundquist
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: