You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/07/11 01:40:49 UTC

[jira] Created: (PIVOT-568) Add support for dynamic data binding

Add support for dynamic data binding
------------------------------------

                 Key: PIVOT-568
                 URL: https://issues.apache.org/jira/browse/PIVOT-568
             Project: Pivot
          Issue Type: New Feature
          Components: core-beans
            Reporter: Greg Brown
            Assignee: Greg Brown
             Fix For: 2.0


Pivot currently supports data binding via a load/store model that maps well to client/server applications such as REST clients. However, the dynamic data binding supported by other platforms (where a property of a target element is automatically updated whenever a source value changes) is also useful in certain circumstances.

Given recent updates to BXMLSerializer, such dynamic binding would be relatively straightforward to implement. This syntax would be a cue to the serializer to register a change listener on the given variable and propagate any changes to the bound property:

<Label text="${myTextProperty}"/>

It should also be possible to create (and remove) such bindings programmatically in code.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PIVOT-568) Add support for dynamic data binding

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown resolved PIVOT-568.
------------------------------

    Resolution: Fixed

> Add support for dynamic data binding
> ------------------------------------
>
>                 Key: PIVOT-568
>                 URL: https://issues.apache.org/jira/browse/PIVOT-568
>             Project: Pivot
>          Issue Type: New Feature
>          Components: core-beans
>            Reporter: Greg Brown
>            Assignee: Greg Brown
>             Fix For: 2.0
>
>
> Pivot currently supports data binding via a load/store model that maps well to client/server applications such as REST clients. However, the dynamic data binding supported by other platforms (where a property of a target element is automatically updated whenever a source value changes) is also useful in certain circumstances.
> Given recent updates to BXMLSerializer, such dynamic binding would be relatively straightforward to implement. This syntax would be a cue to the serializer to register a change listener on the given variable and propagate any changes to the bound property:
> <Label text="${myTextProperty}"/>
> It should also be possible to create (and remove) such bindings programmatically in code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.