pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (PIVOT-945) Need to make load/store work correctly for all containers
Date Thu, 17 Apr 2014 00:49:16 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Roger Whitcomb closed PIVOT-945.

       Resolution: Invalid
    Fix Version/s: 2.0.4

My bad!  After further investigation, all works as expected.  The specialized containers,
in addition to adding components to their layout lists, also add then to the container "components"
list, so the load and store work correctly.  No changes are required, and in fact everything
is fine as-is.

> 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.0.4, 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

View raw message