Class ZkFns

java.lang.Object
org.zkoss.zk.fn.ZkFns

public class ZkFns extends Object
Utilities for using XEL in ZUL.

For JSP pages, use JspFns instead.
For DSP pages, use DspFns instead.

Author:
tomyeh
  • Constructor Details

    • ZkFns

      protected ZkFns()
  • Method Details

    • toAbsoluteURI

      public static String toAbsoluteURI(String uri, boolean skipInclude)
      Converts the specified URI to absolute if necessary. Refer to Execution.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

      public static String toAbsoluteURI(String uri)
      Converts the specified URI to absolute if not included by another page. It is a shortcut of toAbsoluteURI(String, boolean) with skipInclude is true.
    • getBuild

      public static String getBuild()
      Returns the build identifier, such as 2007121316.

      Each time ZK is built, a different build identifier is assigned.

      Since:
      6.0.3
    • getVersion

      public static String getVersion()
      Returns the ZK version, such as "1.1.0" and "2.0.0".
      Since:
      6.0.3
    • getEdition

      public static String 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