ICEfaces
  1. ICEfaces
  2. ICE-2160

TreeRenderer ignores toolTip property of IceUserObject

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7DR#3, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      win xp

      Description

      The IceUserObject has a toolTip property but the TreeRenderer doesn't do anything with it:

      suggested fix:
      Index: D:/Documents and Settings/pbreau/workspace/ICEfaces/component/src/com/icesoft/faces/component/tree/TreeRenderer.java
      ===================================================================
      --- D:/Documents and Settings/pbreau/workspace/ICEfaces/component/src/com/icesoft/faces/component/tree/TreeRenderer.java (revision 14872)
      +++ D:/Documents and Settings/pbreau/workspace/ICEfaces/component/src/com/icesoft/faces/component/tree/TreeRenderer.java (working copy)
      @@ -384,6 +384,9 @@
       
               // efficiency and simplicity
               IceUserObject userObject = (IceUserObject) currentNode.getUserObject();
      +
      + treeNodeDiv.setAttribute(HTML.TITLE_ATTR, userObject.getTooltip());
      +
               // a branch node is a node that is not a leaf
               boolean isBranchNode = !userObject.isLeaf();
               boolean isExpanded = userObject.isExpanded();

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: