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

Fom binding should be able to synchronize the middle object only in the command action

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 6.0.0
    • Databind 2
    • None

      Currently, the form binding synchronizes every input into the middle object (when textbox fires onChange), then when the save button is clicked, the validation phase is executed, and then (if validations passes) the command is executed.

      Would be nice to have a option to delay the synchronization of middle object to when the button save is clicked.
      Something like: ser inform all the data (several inputs) and no request is made to the server. Then user clicks the save button -> zk binder synchronizes every property to the middle object -> validation phases execute -> command execute.

      This is quite important for our project. One of the main screen is made by 50+ inputs (intboxes, textboxes, doubleboxes).
      The delay that 50+ requests generates affects our end user. (it's a timesheet app, where most of the information from all users come at the same hour of the day, so avoiding all this unnecessary requests is really important)

            Unassigned Unassigned
            madruga0315 madruga0315
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: