org.apache.tapestry5.annotations
Annotation Type BeforeRenderTemplate


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
@UseWith(value={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.



Copyright © 2003-2012 The Apache Software Foundation.