ICEfaces
  1. ICEfaces
  2. ICE-3807

When I collapse a tree-node, it's icon doesn't move.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.7.2, 1.8DR#1
    • Fix Version/s: 1.8
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows Vista, Firefox 3.0, Jboss 4.2.3

      Description

      When a tree with a node with sub-nodes is created, in the source you can see a end line between the two images. This end line create a litle space between the two pictuce as you can see in the capture 1 of the showcase. For example in the tree of the iceFaces showcase at the first generation of the code :
      <div ...> <img src="tree_line_blank.gif"/> <a ...><img src="tree_nav_middle_close.gif" alt=""/></a>
      <div ...><img src="tree_folder_open.gif" .../></div>
      <div ...><a ...><span ...>Western</span></a></div>

      But now if you collapse and expand this same node, the code became :
      <div ...> <img src="tree_line_blank.gif"/> <a ...><img src="tree_nav_middle_close.gif" alt=""/></a><div ...><img src="tree_folder_open.gif" .../></div><div ...><a ...><span ...>Western</span></a></div>

      With the absence of end line, the space disappear and the icon in the tree move a little as you can see in the capture 2 of the showcase.
      1. DOMUtils.java
        28 kB
        Stephan Anft
      2. TreeRenderer.java
        30 kB
        Krashan Brahmanjara
      1. bad_tree.JPG
        12 kB
      2. err.PNG
        3 kB
      3. Nodes with children aren't aligned horizontally.jpg
        6 kB
      4. ScreenHunter_01 Mar. 26 13.59.jpg
        146 kB
      5. screenshot-1.jpg
        3 kB
      6. screenshot-2.jpg
        2 kB
      7. tree_folder_closed.gif
        1.0 kB

        Activity

        Loïc Villanné created issue -
        Loïc Villanné made changes -
        Field Original Value New Value
        Attachment screenshot-1.jpg [ 11354 ]
        Loïc Villanné made changes -
        Attachment screenshot-2.jpg [ 11355 ]
        David Popa made changes -
        Attachment bad_tree.JPG [ 11435 ]
        David Popa made changes -
        Comment [ I confirm the Issue also on Windows XP, FF 3.0 and IE6, and Tomcat 5.5.2x.
        After a user opens a closes several nodes creates (he uses a little bit his application) the result is the one you see in bad_tree.jpg ]
        Stephan Anft made changes -
        Attachment DOMUtils.java [ 11514 ]
        Krashan Brahmanjara made changes -
        Attachment err.PNG [ 11602 ]
        Krashan Brahmanjara made changes -
        Attachment tree_folder_closed.gif [ 11609 ]
        Krashan Brahmanjara made changes -
        Attachment TreeRenderer.java [ 11610 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 1.8 [ 10161 ]
        Assignee Priority P3
        Assignee Yip Ng [ yip.ng ]
        Priority Major [ 3 ] Trivial [ 5 ]
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Christophe Taverne made changes -
        Attachment Problem with icons vertical align.jpg [ 11632 ]
        Christophe Taverne made changes -
        Attachment Problem with icons vertical align.jpg [ 11632 ]
        Christophe Taverne made changes -
        yip.ng made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        yip.ng made changes -
        Attachment ScreenHunter_01 Mar. 26 13.59.jpg [ 11635 ]
        yip.ng made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Assignee Priority P3
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Yip Ng [ yip.ng ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Loïc Villanné
          • Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: