ICEfaces
  1. ICEfaces
  2. ICE-3983

ice:tree renders navigation line when ice:treeNode render=false

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.8.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      N/A

      Description

      When rendered by ice:treeNode is false (if tree.isNodeVisible(node) == false) navigation lines to non-rendered nodes are visible.


      <ice:tree id="tree"
                        value="#{tree.model}"
                        var="node"
                        hideRootNode="true"
                        hideNavigation="false"
                        imageDir="#{styleBean.imageDirectory}" >

                  <ice:treeNode rendered="#{tree.isNodeVisible(node)}">
                      <f:facet name="icon">
                          <ice:panelGroup styleClass="treeNode">
                              <ice:graphicImage value="/xmlhttp/css/#{styleBean.currentStyle}/css-images/#{node.userObject.icon}" />
                          </ice:panelGroup>
                      </f:facet>
                      <f:facet name="content">
                          <ice:commandLink action="#{tree.setSelectedNode(node)}"
                                           styleClass="selectedNode#{node eq tree.selectedNode} treeText" >
                              <ice:outputText id="TreeNode"
                                              value="#{node.userObject.text}" />
                          </ice:commandLink>
                      </f:facet>

                  </ice:treeNode>
              </ice:tree>
      1. ICE-3983.patch
        1 kB
        Ken Fyten
      1. ScreenHunter_04.jpg
        155 kB
      2. tree.jpg
        5 kB

        Activity

        Hide
        Ken Fyten added a comment -

        Please review the contribution and commit if appropriate, etc.

        Show
        Ken Fyten added a comment - Please review the contribution and commit if appropriate, etc.
        Hide
        Ken Fyten added a comment -

        Contributed patch from Stefen Niederhausen @ Mimacom.

        Show
        Ken Fyten added a comment - Contributed patch from Stefen Niederhausen @ Mimacom.
        Hide
        yip.ng added a comment -

        Patch applied and tested. See attached ScreenHunter_04.jpg.

        Show
        yip.ng added a comment - Patch applied and tested. See attached ScreenHunter_04.jpg.
        Hide
        ?ukasz Pogorzelski added a comment -

        As you can see on attached picture the problem haven't been resolved yet. There is an unfinished navigation line under node "Garcia, Benjamin". I've tested this on version 1.8.2. So you can think about to reopen this issue.

        Show
        ?ukasz Pogorzelski added a comment - As you can see on attached picture the problem haven't been resolved yet. There is an unfinished navigation line under node "Garcia, Benjamin". I've tested this on version 1.8.2. So you can think about to reopen this issue.

          People

          • Assignee:
            yip.ng
            Reporter:
            Petra Filipova
          • Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: