public class Unless extends AbstractConditional
If
component that inverts the meaning of its
test. This is easier than an If
component with the negate parameter set to true
.Component Parameters | ||||||
---|---|---|---|---|---|---|
Name | Description | Type | Flags | Default | Default Prefix | Since |
else | An alternate org.apache.tapestry5.Block to render if org.apache.tapestry5.corelib.base.AbstractConditional#test() is false. The default, null, means render nothing in that situation. | org. | literal | |||
test | If true, then the body of the component is omitted. If false, the body is rendered. | boolean | Required | prop |
public Unless()
protected boolean test()
AbstractConditional
test
in class AbstractConditional
Copyright © 2003-2012 The Apache Software Foundation.