org.zkoss.web.servlet.dsp.action
Class When
java.lang.Object
org.zkoss.web.servlet.dsp.action.AbstractAction
org.zkoss.web.servlet.dsp.action.When
- All Implemented Interfaces:
- Action
public class When
- extends AbstractAction
Represents an alternative within a Choose action.
- Author:
- tomyeh
|
Constructor Summary |
When()
|
When
public When()
getTest
public boolean getTest()
- Returns the test result.
setTest
public void setTest(boolean cond)
- Sets the test result.
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 © 2015. All rights reserved.