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

Need to make load/store work correctly for all containers

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.4, 2.1
    • Component/s: wtk
    • Labels:
      None
    • Environment:
      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

            • Assignee:
              rwhitcomb Roger Lee Whitcomb
              Reporter:
              rwhitcomb Roger Lee Whitcomb

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment