Annotation Type BeforeRenderTemplate


  • @Target(METHOD)
    @Retention(RUNTIME)
    @Documented
    @UseWith({COMPONENT,MIXIN,PAGE})
    public @interface BeforeRenderTemplate
    Associated with components that have a template, this phase is invoked to allow the component to decorate its template with additional markup. Returning true will cause the component's template to render (possibly including additional components, or this component's body), and eventually reach the AfterRenderTemplate phase. Return false to skip the template and body, and jump directly to the AfterRenderTemplate phase.