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

@MatchMedia is not working in private methods after ZK-3911

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Later
    • None
    • 8.5.2.1
    • Databind 2, General

    Description

      Steps to Reproduce

      1. Run this example http://zkfiddle.org/sample/1a8f46j/1-ZK-3339-is-not-working-since-8-5-2-1
      2. Resize the width of browser window < 600 px

      Current Result

      No zk log
       

      Expected Result

      invoked m0 and invoked m1 appeared in zk log

      or private methods are not supported
       

      Debug Information

      A ZK-3911 side effect

      https://github.com/zkoss/zk/blob/v8.5.2/zkbind/src/org/zkoss/bind/impl/BinderImpl.java#L345
      getMethods() returns all public methods of this class including those declared by the parent classes.
      getDeclaredMethods() returns all declared methods in this class including private methods
       

      Workaround

      Declare the method in public

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rudyhuang rudyhuang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: