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
- relates to
-
ZK-3972 java.lang.NoClassDefFoundError: org/zkoss/zk/ui/util/forEachStatus caused by import Handler
-
- Closed
-