org.apache.tapestry5.corelib.components.Unless

A close relative of the org.apache.tapestry5.corelib.components.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
elseorg.apache.tapestry5.BlockNOT Allow NullliteralAn alternate org.apache.tapestry5.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