@NotifyChange provide inherited attribute for a command method

XMLWordPrintable

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Normal
    • None
    • Affects Version/s: 6.0.1
    • Component/s: Databind 2
    • None
    • 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();//}

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

              Created:
              Updated: