Package org.zkoss.zk.fn
Class ZkFns
java.lang.Object
org.zkoss.zk.fn.ZkFns
Utilities for using XEL in ZUL.
For JSP pages, use JspFns instead.
For DSP pages, use DspFns instead.
- Author:
- tomyeh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetBuild()Returns the build identifier, such as 2007121316.static StringReturns the edition, such as EE, PE and CE.static StringReturns the ZK version, such as "1.1.0" and "2.0.0".static StringtoAbsoluteURI(String uri) Converts the specified URI to absolute if not included by another page.static StringtoAbsoluteURI(String uri, boolean skipInclude) Converts the specified URI to absolute if necessary.
-
Constructor Details
-
ZkFns
protected ZkFns()
-
-
Method Details
-
toAbsoluteURI
Converts the specified URI to absolute if necessary. Refer toExecution.toAbsoluteURI(java.lang.String, boolean).- Parameters:
skipInclude- whether not to convert to an absolute URI if the current page is included by another page. When use the include directive, skipInclude shall be true.
-
toAbsoluteURI
Converts the specified URI to absolute if not included by another page. It is a shortcut oftoAbsoluteURI(String, boolean)with skipInclude is true. -
getBuild
Returns the build identifier, such as 2007121316.Each time ZK is built, a different build identifier is assigned.
- Since:
- 6.0.3
-
getVersion
Returns the ZK version, such as "1.1.0" and "2.0.0".- Since:
- 6.0.3
-
getEdition
Returns the edition, such as EE, PE and CE. Notice that prior to 5.0.1, the return value is one of Enterprise, Professional and Standard.- Since:
- 6.0.3
-