org.apache.tapestry5.corelib.components
Class Unless
java.lang.Object
org.apache.tapestry5.corelib.base.AbstractConditional
org.apache.tapestry5.corelib.components.Unless
public class Unless
- extends AbstractConditional
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.
|
Method Summary |
protected boolean |
test()
Performs the test via the parameters; return true to render the body of the component, false to render the else
block (or nothing). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Unless
public Unless()
test
protected boolean test()
- Description copied from class:
AbstractConditional
- Performs the test via the parameters; return true to render the body of the component, false to render the else
block (or nothing).
- Specified by:
test in class AbstractConditional
- Returns:
- test parameter inverted
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.