Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.corelib.mixins
Class DiscardBody

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

    @MixinAfter
    public class DiscardBody

extends java.lang.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
`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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.