org.zkoss.web.servlet.dsp.action
Class Choose
java.lang.Object
org.zkoss.web.servlet.dsp.action.AbstractAction
org.zkoss.web.servlet.dsp.action.Choose
- All Implemented Interfaces:
- Action
public class Choose
- extends AbstractAction
Provides the context for mutually exclusive conditional execution.
- Author:
- tomyeh
| Methods inherited from class org.zkoss.web.servlet.dsp.action.AbstractAction |
append, append, append, getIf, getUnless, isEffective, put, put, put, put, setIf, setUnless, toScope |
Choose
public Choose()
isTrim
public boolean isTrim()
- Returns whether to trim the result.
setTrim
public void setTrim(boolean trim)
- Sets whether to trim the result.
Default: true.
render
public void render(ActionContext ac,
boolean nested)
throws DspException,
IOException
- Description copied from interface:
Action
- Processes the action and renders the output to
ActionContext.getOut().
nested - whether there is any nested content.
- Throws:
DspException
IOException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.