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

@NotifyChange provide inherited attribute for a command method

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.0.1
    • Databind 2
    • None

      for a override method, a inherited feature could reduce the code and maintenance of the notify properties of super's method
      for example. in a base class. it notifies
      @Command @NotifyChange(

      {"message","items","selected"}

      )
      public void delete(){}

      the subclass how extends it and override delete :
      @Command @NotifyChange(

      {"message","items","selected","mynotify"}

      )
      public void delete()

      {super.delete();//}

      if it could assign inherited = ture, then the code become :
      @Command @NotifyChange({"mynotify"},inherited=true)
      public void delete(){super.delete();//}

            Unassigned Unassigned
            dennis dennis
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: