RichFaces
  1. RichFaces
  2. RF-10968

Tree: treeSelectionChangeListener and treeToggleListener attributes should be removed

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Final
    • Fix Version/s: 4.2.1.CR1
    • Security Level: Public (Everyone can see)
    • 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
    • Similar Issues:
      Show 10 results 

      Description

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

      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
          John Yeary
          added a comment -

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

          Show
          John Yeary
          added a comment - The issue is further documented in forum post http://community.jboss.org/thread/165744
          Hide
          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
          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
          John Yeary
          added a comment -

          Complete bean examples with TreeNode implementation.

          Show
          John Yeary
          added a comment - Complete bean examples with TreeNode implementation.
          Hide
          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
          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
          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
          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
          Pavol Pitonak
          added a comment -
          Show
          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
          Brian Leathem
          added a comment -

          Renamed the xml CDK attributes for the tree listeners

          Show
          Brian Leathem
          added a comment - Renamed the xml CDK attributes for the tree listeners
          Hide
          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
          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:
              Brian Leathem
              Reporter:
              Pavol Pitonak
            • Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: