Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2178

Array-based constructors of TreeSelectionEvent used.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.11
    • 2.1.12
    • Blocks: Forms
    • None
    • Normal
    • Patch available
    • Blocks: Forms - 1.0.0-RC3-SNAPSHOT
    • Blocks: Forms - 1.1.0-SNAPSHOT

    Description

      I'm facing a serious problem using the cforms tree.

      We added a new functionality: when a user doubleclicks an item, all subitems are selected as well. The result is that for every selected subitem an event is thrown. The problem, as mentioned in the source code, is that the array based constructor of the TreeSelectionEvent is not used. (Besides some other minor changes).

      I have adapted the org.apache.cocoon.forms.formmodel.tree.Tree class and it works fine. But we'll face a problem after updating, so please tell me how i could contribute my code.

      Attachments

        1. Tree.diff
          2 kB
          Harald Entner

        Activity

          People

            joerg.heinicke@gmx.de Jörg Heinicke
            hentner Harald Entner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: