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

Add a @SmartNotifyChange annotation that triggering the notification once the value of the property is changed

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 8.0.0
    • Fix Version/s: 8.0.0
    • Component/s: Databind 2
    • Labels:
      None

      Description

      Unlike the @NotifyChange annotation, the @SmartNotifyChange annotation will check the value of each property that declared in it.
      The value of both properties ('*' and '.') in @SmartNotifyChange will be treated as @NotifyChange, i.e. it won't check anything.
      If developer wants to gain some performance enhancement on this, they can use the API instead - http://books.zkoss.org/wiki/ZK_Developer's_Reference/MVVM/ViewModel/Notification#Notify_Programmatically

        Attachments

          Activity

            People

            • Assignee:
              jumperchen jumperchen
              Reporter:
              jumperchen jumperchen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: