public class When extends AbstractAction
Choose action.| Constructor and Description |
|---|
When() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getTest()
Returns the test result.
|
void |
render(ActionContext ac,
boolean nested)
Processes the action and renders the output to
ActionContext.getOut(). |
void |
setTest(boolean cond)
Sets the test result.
|
String |
toString() |
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScopepublic boolean getTest()
public void setTest(boolean cond)
public void render(ActionContext ac, boolean nested) throws DspException, IOException
ActionActionContext.getOut().nested - whether there is any nested content.DspExceptionIOExceptionCopyright © 2021. All rights reserved.