Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-945

Need to make load/store work correctly for all containers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 2.0.4
    • 2.0.4, 2.1
    • wtk
    • None
    • All

    Description

      The Component.load and Component.store methods are used to implement data binding between components and their backing data objects. On Container, the load/store methods are coded to propagate the load or store down to the children. But, not all subclasses of Container actually have children. Viewport/ScrollPane (for instance) only have a "view" which is not in the child component list. TablePane and GridPane have rows and columns which are also not in the child component list. This limits the effectiveness of data binding, in that you basically can only use it within a Form, or other simple layout container (such as BoxPane), but not in the more complex ones. So, the idea would be to implement special versions of "load" and "store" on these other containers so that the operation propagates correctly down the actual component trees.

      Attachments

        Activity

          People

            rwhitcomb Roger Lee Whitcomb
            rwhitcomb Roger Lee Whitcomb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: