Package org.apache.tapestry5.annotations
Annotation Type PageLoaded
-
@Target(METHOD) @Retention(RUNTIME) @Documented @UseWith({COMPONENT,MIXIN,PAGE}) public @interface PageLoaded
Method annotation used for methods that should be invoked once the page is fully loaded. This is useful for one-time component initializations that can't be done at instance initialization time, such as references to embedded components or blocks. PageLoaded methods should take no parameters and return void. They must either have this annotation, or be named "pageLoaded".