org.zkoss.zk.ui.metainfo
Class ForwardInfo

java.lang.Object
  extended by 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
ForwardInfo(java.lang.String uri, ConditionImpl cond)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.



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