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 PageActivationContext

    @Target(value=FIELD)
    @Documented
    @Retention(value=RUNTIME)
    @UseWith(value=PAGE)
    public @interface PageActivationContext

Annotation for a field for which the page activation context handlers (onActivate and onPassivate) should be created. In order to use this annotation you must contribute a `ValueEncoder` for the class of the annotated property.

You should not use this annotation within a class that already has an onActivate() or onPassivate() method; doing so will result in a runtime exception.

Optional Element Summary
`boolean` | `activate` Whether to create an activate event handler.
`boolean` | `passivate` Whether to create a passivate event handler

### activate

    public abstract boolean activate

  Whether to create an activate event handler.

  Default:
    true

### passivate

    public abstract boolean passivate

  Whether to create a passivate event handler

  Default:
    true

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.