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

el3 enhancement for invoking customized static method

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 8.0.0
    • None
    • None
    • None

      After import, we can invoke the static method or field defined in imported class with el statement. For example,

      <?import com.foo.FooClass ?>
      <!-- or we can import com.foo.* -->
      <label value="${FooClass.staticMethod()}"></label>
      <label value="${FooClass.staticField}"></label>
      

      wiki:
      http://books.zkoss.org/wiki/ZUML_Reference/ZUML/Processing_Instructions/import#Import_Classes

            ChunfuChang ChunfuChang
            ChunfuChang ChunfuChang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h