org.apache.tapestry5.corelib.components.Unless

A close relative of the If component that inverts the meaning of its test. This is easier than an If component with the negate parameter set to true.

[JavaDoc]

Component Parameters

NameTypeFlagsDefaultDefault PrefixDescription
elseBlockNOT Allow NullliteralAn alternate Block to render if the test parameter is false. The default, null, means render nothing in that situation.
testbooleanRequired, NOT Allow NullpropIf true, then the body of the If component is rendered. If false, the body is omitted.

Back to index