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

Add an annotation for client command

    Details

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

      Description

      For example,

      @ToClientCommand({"doEventClicked", "doDayClicked"})
      public class DemoViewModel {
      
          @Command
          public void doEventClicked() {}
      
          @Command
          public void doDayClicked() {}
      }
      

      The both commands will be sent to client side for client binder to use

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 1 minute
                  5h 1m