Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-10968

Tree: treeSelectionChangeListener and treeToggleListener attributes should be removed

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Final
    • Fix Version/s: 4.2.1.CR1
    • Labels:
      None
    • Environment:

      RichFaces 4.1.0-SNAPSHOT r.22458
      Metamer 4.1.0-SNAPSHOT r.22459
      Mojarra 2.0.3-
      JBoss AS 6.0.0.Final
      OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
      Chrome 11.0.696.57 @ Linux i686

      Description

      Attributes treeSelectionChangeListener and treeToggleListener in rich:tree do not work. However, attributes selectionChangeListener and toggleListener do work.

        Gliffy Diagrams

        1. NodesTreeSequenceKeyModelImpl.java
          2 kB
          John Yeary
        2. tree.xhtml
          1 kB
          John Yeary
        3. TreeBean.java
          4 kB
          John Yeary
        4. TreeNodeImpl.java
          3 kB
          John Yeary

          Issue Links

            Activity

            Hide
            jyeary John Yeary added a comment -

            The issue is further documented in forum post http://community.jboss.org/thread/165744

            Show
            jyeary John Yeary added a comment - The issue is further documented in forum post http://community.jboss.org/thread/165744
            Hide
            jyeary John Yeary added a comment -

            I verified that the issue exists on 4.0.0.Final and 4.1.0-SNAPSHOT. The fix proposed in the forum messages DO NOT work for me.

            Show
            jyeary John Yeary added a comment - I verified that the issue exists on 4.0.0.Final and 4.1.0-SNAPSHOT. The fix proposed in the forum messages DO NOT work for me.
            Hide
            jyeary John Yeary added a comment -

            Complete bean examples with TreeNode implementation.

            Show
            jyeary John Yeary added a comment - Complete bean examples with TreeNode implementation.
            Hide
            jyeary John Yeary added a comment -

            I added my code and TreeNodeImpl.java It is a combination of the work done by the JBoss team. If you want to use it go for it.

            Show
            jyeary John Yeary added a comment - I added my code and TreeNodeImpl.java It is a combination of the work done by the JBoss team. If you want to use it go for it.
            Hide
            bleathem Brian Leathem added a comment -

            Investigation required to determine if we can remove these two tree* attributes, as they don't work, and seem to be redundant with oterh attributes.

            Show
            bleathem Brian Leathem added a comment - Investigation required to determine if we can remove these two tree* attributes, as they don't work, and seem to be redundant with oterh attributes.
            Hide
            ppitonak Pavol Pitonak added a comment -
            Show
            ppitonak Pavol Pitonak added a comment - Component reference [1] documents the correct attributes. On the other hand, VDL doc [2] contains wrong attributes. [1] http://docs.jboss.org/richfaces/4.2.X/4.2.0.Final/Component_Reference/en-US/html_single/#sect-Component_Reference-richtree-Event_handling [2] http://docs.jboss.org/richfaces/4.2.X/4.2.0.Final/vdldoc/rich/tree.html
            Hide
            bleathem Brian Leathem added a comment -

            Renamed the xml CDK attributes for the tree listeners

            Show
            bleathem Brian Leathem added a comment - Renamed the xml CDK attributes for the tree listeners
            Hide
            bcn u j added a comment -

            I think the fix version is 4.2.1.Final, not 4.2.1.CR1,
            see last submitted change set.
            I tried 4.2.1.CR1 and it does not work: the attribute is not suggested in Eclipse and on execution it is ignored.

            Show
            bcn u j added a comment - I think the fix version is 4.2.1.Final, not 4.2.1.CR1, see last submitted change set. I tried 4.2.1.CR1 and it does not work: the attribute is not suggested in Eclipse and on execution it is ignored.

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                ppitonak Pavol Pitonak
              • Votes:
                5 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development