org.apache.tapestry.annotations
Annotation Type PageAttached


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface PageAttached

Method annotation used for methods that should be invoked when the page is first attached to a request. This is useful for initializations that should occur on each request that involves the page. Often, such initializations will be balanced by cleanups when the page is detached.

PageAttached methods should take no parameters and return void. They must either have this annotation, or be named "pageAttached".

See Also:
PageDetached



Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.