Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1559

ZKBind ability to define methods for binding values instead of pure properties

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Databind 2
    • Labels:

      Description

      ZKBind is currently only able to use real properties to bind to component fields. I would like to have the ability to use a generic method, for example:

      set( String name, String value) and use bind something like @bind(vm.set, 'firstname') where the second item ('firstname') will be the first parameter for the method.

      This makes it possible to more dynamically define entities after compile time.

      I would like to contribute code for this but I can not find where to make the modifications. I see a Binder but also Expression code. If I could get directions on where to look, I would be really happy to start coding.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mminke mminke
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: