Package org.zkoss.zk.ui.metainfo
Class ForwardInfo
- java.lang.Object
-
- org.zkoss.zk.ui.metainfo.ForwardInfo
-
public class ForwardInfo extends java.lang.Object
The forward directive in the ZUML page.It is not serializable.
- Since:
- 3.0.2
- Author:
- tomyeh
-
-
Constructor Summary
Constructors Constructor Description ForwardInfo(java.lang.String uri, ConditionImpl cond)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getURI()
Returns the URI to forward to.java.lang.String
resolveURI(PageDefinition pgdef, Page page)
Evaluates and returns the URI, or null if not to forward.
-
-
-
Constructor Detail
-
ForwardInfo
public ForwardInfo(java.lang.String uri, ConditionImpl cond)
-
-
Method Detail
-
getURI
public java.lang.String getURI()
Returns the URI to forward to.
-
resolveURI
public java.lang.String resolveURI(PageDefinition pgdef, Page page)
Evaluates and returns the URI, or null if not to forward.Note: if URI contains EL expressions and is evaluated to an empty string, this method returns null to indicate no need to forward.
-
-