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

Add support for dynamic data binding

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: core-beans
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              gbrown Gregory K. Brown
              Reporter:
              gbrown Gregory K. Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: