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 Inheritance

Component Parameters

NameTypeFlagsDefaultDefault PrefixSinceDescription
elseBlockNOT Allow NullliteralAn alternate Block to render if AbstractConditional#test() 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