org.apache.tapestry5.annotations
Annotation Type PageLoaded


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



Copyright © 2003-2012 The Apache Software Foundation.