Roger Whitcomb created PIVOT-945:
------------------------------------

             Summary: Need to make load/store work correctly for all containers
                 Key: PIVOT-945
                 URL: https://issues.apache.org/jira/browse/PIVOT-945
             Project: Pivot
          Issue Type: Bug
          Components: wtk
    Affects Versions: 2.0.4
         Environment: All
            Reporter: Roger Whitcomb
            Assignee: Roger Whitcomb
            Priority: Minor
             Fix For: 2.1


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to