org.zkoss.zk.fn
Class ZkFns

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

public class ZkFns
extends java.lang.Object

Utilities for using XEL in ZUL.

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

Author:
tomyeh

Constructor Summary
protected ZkFns()
           
 
Method Summary
static java.lang.String toAbsoluteURI(java.lang.String uri)
          Converts the specified URI to absolute if not included by another page.
static java.lang.String toAbsoluteURI(java.lang.String uri, boolean skipInclude)
          Converts the specified URI to absolute if necessary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZkFns

protected ZkFns()
Method Detail

toAbsoluteURI

public static java.lang.String toAbsoluteURI(java.lang.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 java.lang.String toAbsoluteURI(java.lang.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.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo