| java.lang.Object org.apache.tapestry.corelib.components.If
If | public class If (Code) | | Conditionally renders its body.
|
Method Summary | |
boolean | beforeRenderBody() If the test parameter is true, then the body is rendered, otherwise not. | Object | beginRender() Returns null if the test parameter is true, which allows normal rendering (of the body). | void | setup(boolean test, boolean negate, Block elseBlock) |
beforeRenderBody | boolean beforeRenderBody()(Code) | | If the test parameter is true, then the body is rendered, otherwise not. The component does
not have a template or do any other rendering besides its body.
|
beginRender | Object beginRender()(Code) | | Returns null if the test parameter is true, which allows normal rendering (of the body). If
the test parameter is false, returns the else parameter (this may also be null).
|
setup | void setup(boolean test, boolean negate, Block elseBlock)(Code) | | |
|
|