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

        Activity

        Hide
        jumperchen jumperchen added a comment -

        Ready since 1/7/2015

        Show
        jumperchen jumperchen added a comment - Ready since 1/7/2015

          People

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

            Dates

            • Created:
              Updated:
              Resolved: