Annotation Type BeforeRenderBody


  • @Target(METHOD)
    @Retention(RUNTIME)
    @Documented
    @UseWith({COMPONENT,MIXIN,PAGE})
    public @interface BeforeRenderBody
    Marks methods to be invoked when the component rendering state machine hits the point in the component's template where the body element occurs. Such methods may optionally take a MarkupWriter parameter, and may return void or boolean. Returning true (or void) will queue up the component's body for rendering. Returning false will skip the component's body, but continue rendering the template. The AfterRenderBody phase will still execute after the template finishes rendering. This phase is skipped for components which do not have a body.