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

XMLWordPrintable

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

      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

            jumperchen jumperchen
            jumperchen jumperchen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: