|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.web.servlet.dsp.action.AbstractAction
org.zkoss.web.servlet.dsp.action.Choose
public class Choose
Provides the context for mutually exclusive conditional execution.
| Constructor Summary | |
|---|---|
Choose()
|
|
| Method Summary | |
|---|---|
boolean |
isTrim()
Returns whether to trim the result. |
void |
render(ActionContext ac,
boolean nested)
Processes the action and renders the output to ActionContext.getOut(). |
void |
setTrim(boolean trim)
Sets whether to trim the result. |
java.lang.String |
toString()
|
| Methods inherited from class org.zkoss.web.servlet.dsp.action.AbstractAction |
|---|
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScope |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Choose()
| Method Detail |
|---|
public boolean isTrim()
public void setTrim(boolean trim)
Default: true.
public void render(ActionContext ac,
boolean nested)
throws DspException,
java.io.IOException
ActionActionContext.getOut().
nested - whether there is any nested content.
DspException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||