Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.apache.tapestry5.annotations
Annotation Type PageAttached

Deprecated. In Tapestry 5.3, with no replacement (attach logic no longer meaningful now that pages are singletons).

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

To be clear: methods with this annotation (or name) are still invoked even in Tapestry 5.2, which does away with the page pool.

See Also:
  `PageDetached`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2003-2012 The Apache Software Foundation.