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

el3 enhancement for invoking customized static method

    XMLWordPrintable

    Details

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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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