Static Fields and Methods

From Documentation
Revision as of 07:41, 27 May 2021 by Hawk (talk | contribs) (Created page with "{{ZUMLReferencePageHeader}} {{versionSince| 8.0.0}} With import directive, you can reference a static field or a sta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Static Fields and Methods


Since 8.0.0

With import directive, you can reference a static field or a static method of a class. So now you can call a tag library method without declaring it.

<?import org.zkoss.xel.fn.* ?>
...
${CommonFns.formatNumber(12345, '$ ###,###,###.00', null)}
...
${Math.sqrt(16)}

Version History

Last Update : 2021/05/27




Last Update : 2021/05/27

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.