org.apache.tapestry5.corelib.mixins

## Class DiscardBody

- java.lang.Object
- - org.apache.tapestry5.corelib.mixins.DiscardBody

-     @MixinAfter
      public class DiscardBody
      extends Object

  Discards a component's body. Returns false from the `BeforeRenderBody` phase, which prevents the rendering of the body. Set up as a "MixinAfter" so that components can render their an alternative body if they so desire before this mixin cancels the normal body (from the container's template).

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DiscardBody()`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DiscardBody

          public DiscardBody()

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.